calculating disk space for growth


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory calculating disk space for growth
# 1  
Old 04-26-2002
Error 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 vxfs, ufs as well as format which all have overhead.
HELP!
# 2  
Old 04-26-2002
Computer

I figured it out. thanks.
# 3  
Old 05-18-2002
Power

could you please share this knowlegde, because am having the same difficulties.

I tried using the format command but the only show me the size of each partitions.
# 4  
Old 05-18-2002
What exactly is your question? I figured out why no one answered, it's because everything depends on the setup of the environment that the server is running in.
How the partions are layed out, how much overhead a file system takes, whether it's vxfs or ufs. Give me your wuestion and I will do my best to share my knowledge.
# 5  
Old 05-18-2002
Power

1, my first question is how did you solve your problem to your first post that is (calculating disk space for growth) given that same scenario.?

2, my second question is how do you work out the total size of a
disk, disk space that system is using and unassign? the system is using ufs

3, How do you increase filesystem size on ufs filesystem?

4, how do you increase filesystem size on disk suite filesystem?

5, how do you increase filesystem size on veritas filesystem?

Last edited by hassan2; 05-28-2002 at 04:36 PM..
# 6  
Old 06-01-2002
I think that the best way to know the size of your disk, is running the command "inq" (inquiry from emc).

You can get this binary in the emc ftp server :

ftp.emc.com

/pub/symm3000/inquiry/v5.0.1.0/inq/inq.solar26
or
/pub/symm3000/inquiry/v5.0.1.0/inq/inq.solaris


run this command with root


The output of this command is same to :

sysadm01# inq
Inquiry utility, Version 7.06 (SIL Version 4.1.3)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

...

-----------------------------------------------------------------------------
DEVICE :VEND :PROD :REV :SER NUM :CAP(kb)
-----------------------------------------------------------------------------
/dev/rdsk/c0t0d0s2 :SEAGATE :ST34371W SUN4.2G:7462 :9806W226 :4192560
/dev/rdsk/c0t1d0s2 :SEAGATE :ST32171W SUN2.1G:7462 :97169567 :2078600

In this example, the size of the disk is in bold ...


I hope help you !

Witt

Last edited by witt; 06-01-2002 at 02:35 AM..
witt
# 7  
Old 04-25-2008
Help

I am not familiar at all with calculating server space. I have a file server that has 3 18.2gb SCSI drives using RAID5. I know that the RAID rule is (n-1)/n * disk capacity (18.2gb) to calculate how much space is remaining on each drive after parity, but I just can't seem to get the numbers to work out with what I know we have currently. Is there something I am missing?

Specs:

3 - 18.2 gb SCSIs
C drive space: 24.1 gb
D drive space: 9.76 gb
**I can't figure out how these numbers are found**

I am trying to justify adding 2 more drives to the array because we are getting low on space, but I need to be able to calculate the gain in space.

HELP!!!
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. 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

3. Shell Programming and Scripting

AWK way of calculating growth

Hi All, IS there any 'awk' way to manipulate following data? Fruit Date Count Apple 20/08/2011 5 Apple 27/08/2011 7 Apple 05/09/2011 11 Apple 12/09/2011 3 Apple 19/09/2011 25 . . . . Orange 20/08/2011 9 Orange 27/08/2011 20 Orange 27/08/2011 7 Orange 05/09/2011 15 Orange... (3 Replies)
Discussion started by: aniketdixit
3 Replies

4. 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

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 ? Edit/Delete Message (3 Replies)
Discussion started by: pranabrana
3 Replies

6. 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

7. Filesystems, Disks and Memory

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... (1 Reply)
Discussion started by: JTalbot017
1 Replies

8. Shell Programming and Scripting

Scripts for calculating size and remaining space of a directory automatically.

I would like to create a script for calculating size and remaining space of a directory automatically every 24 hours, then send an email to report to the admin. * POSIX and PERL are preferred. Can anyone help, please? (1 Reply)
Discussion started by: leonall
1 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