Calculating Drive Space Increase


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Calculating Drive Space Increase
# 1  
Old 04-25-2008
Error Calculating Drive Space Increase

I trying to calculate drive space with RAID. I know the equation is:
(n-1)/n * drive capacity

but, when I use that my calculations don't come out when I compare to what I already know exists:
I have 3 - 18.2gb SCSI drives that contain two logical drives C & D.
Using the math, (3-1)/3 * 18.2 = 12.1gb usable space per drive.

C has: 9.76gb
D has: 24.1gb

Drive D works out just fine but the C drive should have 12.1gb usable. I am so confused.

I need to know how to get the right numbers because my boss wants to know how much gain would come from intalling two additional 18.2gb drives.

Is there something I am missing?? I have researched 'til my eyes hurt because until a week ago, I haven't had to deal with calculating hard drive upgrades and such since my first year of college. HELP!!
# 2  
Old 05-06-2008
Which RAID level are you using? Normally, RAID abstracts the disk space to the underlying OS and file system. If you are using 18GB drives, and using 3 drives, I assume RAID 5, then you will

A) have to see if your controller or driver will allow expansion to the RAID group.
B) Will always have N -1 capacity.

The requirements for RAID 5 are 3 drives minimum, with the capacity of a single drive being used across each of the drives for parity. This works out to N -1 all the time. If you had 9GB drives or 146GB drives it would not matter. You will always have N -1.

For example, 3 drives using 9GB drives will yield approximately 18GB of usable space. If you had 7 drives in a RAID 5 array, you will have (N -1, or 6 in that case * capacity) ~54GB of space.

The drive letters are being created based upon logical layout. That was chosen either by you or the program when it was created.

Basically, you as the user of a RAID should not care about individual drive usage. Part of the point of RAID is that it abstracts this. Your system should see 1 device. How you allocate it is up to you as the administrator. With that 1 large abstracted device, you could have carved the logical devices into 200MB chunks. That would have nothing to do with the array. That, I believe, is your problem.

Don't focus on usable space per drive, as you are confusing "per drive" with per logical device.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to Calculating space used in GB for any particular directory in UNIX?

How to Calculating space used in GB for any particular directory in unix Currently I am using : df -h which gives me space for each mout point ldndyn1:/vol/v01/dyn/sbcexp/dyn 1.1T 999G 29G 98% /sbcimp/dyn but I need for some internal particular directory... (3 Replies)
Discussion started by: RahulJoshi
3 Replies

2. Fedora

Need to incrwase PHYSICAL VOLUME space on hard drive with free space on it

Hi, I run Fedora 17. I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies

3. Emergency UNIX and Linux Support

Calculating total space in GB for all files with typical pattern

Hi Experts, In a particular dir, I have many files *AJAY*. How can I get total size of all such files. I tried du -hs *AJAY* but it gave me individual size of all files. All I require is summation of all. Thanks, Ajay (4 Replies)
Discussion started by: ajaypatil_am
4 Replies

4. UNIX for Advanced & Expert Users

how to increase cylinders on USB Flash Drive

Hello All, I faced a unique issue. I have written a script for transferring backup data on my host machine to a USB Flash drive. The Flash drive must be of 16GB size. So, my script creates two primary partitionon the USB flash drive. I require approx 5900 cylinders for the first partition on... (8 Replies)
Discussion started by: Pkumar Sachin
8 Replies

5. Shell Programming and Scripting

Calculating server space

I am Connected With 4 servers I want to check the free space available in each server HOW to do this ? (8 Replies)
Discussion started by: pranabrana
8 Replies

6. Shell Programming and Scripting

Calculating server space

I am Connected With 4 servers I want to check the free space available in each server HOW to do this ? Edit/Delete Message (3 Replies)
Discussion started by: pranabrana
3 Replies

7. Filesystems, Disks and Memory

calculating the filesystem space

Hi, Just wanted to confirm that what Im doing is correct to calculate the space allocated to filesystem: >df -k . Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /test 48720000 9337904 81% 14846 1% /home The space allocated = 48720000/1024 =... (1 Reply)
Discussion started by: deepakgang
1 Replies

8. Filesystems, Disks and Memory

calculating disk space for growth

what's the best way to calculate the raw disk space in format. the system is a Solaris system using EMC disks- df -k will give me what's used plus available.Now I need the total disk space that the system is using/assigned. Which means I must inventory the raw disks in format. the system uses... (6 Replies)
Discussion started by: sholiver
6 Replies

9. Filesystems, Disks and Memory

Calculating Disc Space

Ok.... Can someone please point me in the right direction. I simply want to know how to take the results of a dfspace or df command and be able to know how to determine how much disk space is either used or remaining. 1$ dfspace Filesystem 512-blocks Free %Used Iused %Iused Mounted... (5 Replies)
Discussion started by: Docboyeee
5 Replies

10. UNIX for Dummies Questions & Answers

Calculating Disc Space

I need some help in determining disc space. I ran the following commands on my IBM RS6000 server and this is what I get # dfspace Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 19832 40% 1225 15% / /dev/hd2 802816 277256 66% ... (2 Replies)
Discussion started by: Docboyeee
2 Replies
Login or Register to Ask a Question