Free space of HDD ?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Free space of HDD ?
# 1  
Old 06-11-2009
Free space of total HDD ?

Friends ,

Using which command I can see the free space or usage of the Total HDD in Linux RHEL ?

suppose Imy HDD is 10GB space . I have to insall RHEL 5 using 6 GB space . Now i have 4 GB space free in my total HDD . Now using which cammand I see this 4 GB free space ?

Wating for kind reply .. ...

Last edited by shipon_97; 06-11-2009 at 10:20 PM..
# 2  
Old 06-11-2009
Code:
df -h

# 3  
Old 06-12-2009
Code:
fdisk -l

# 4  
Old 06-12-2009
fdisk would only show space that has not been allocated via partitions. Most cases, the user wants to know the space available in a file system and df would be best used for that.

However, df and du go hand in hand, in that du would be good for finding the offending files that can fill up a file system, like core files and tar and tgz files that remain past their need.
# 5  
Old 06-15-2009
#bdf
...works for me
# 6  
Old 06-15-2009
MINI, type "alias" in the command prompt to see if somebody aliased bdf to df. If not, then try "which bdf" in case somebody compiled a binary for it or wrote a wrapper to df.
# 7  
Old 06-15-2009
negative mark,
I'm running box-stock HP-UX 11.0 on a HP 785/b2600 Workstation. My bdf is installed in:
/bin/bdf
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. Solaris

No space left on device but free space and inodes are available...

hi guys, me again ;) i recently opened a thread about physical to zone migration. My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone. We are talking about 22mio of files. i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies

3. AIX

Moving free space from one LV to another LV

in the same VG? Is there a way we can do this? We basically have a test server that used to be a production server. Now the newly created test directories have run out of space and the old production directories have alot of free space. Can we transfer that free space over? If so how? Have... (2 Replies)
Discussion started by: NycUnxer
2 Replies

4. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

Good afternoon! Im new at scripting and Im trying to write a script to calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies

5. UNIX for Dummies Questions & Answers

free space, used space in ftp

Is possible to see how much available space there is on a ftp server and how much is used through ftp ? how ? free space: used space: thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies

6. Solaris

how to get the more memory free space (see memory free column)

Hi all, Could please let me know how to get the more memory free space (not added the RAM) in local zone. -bash-3.00# vmstat 2 5 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy... (3 Replies)
Discussion started by: murthy76
3 Replies

7. HP-UX

HP-UX using unused HDD space

Hello, I have a system with HP-UX 11.23 installed on it. There are ~36GB of unused space on the HDD. I did a very basic installation, and it created the usual volume group /dev/vg00. When I look at the output of ioscan -funC disk, I see this (and more, but irrelevant to this post): disk ... (1 Reply)
Discussion started by: goon12
1 Replies

8. Shell Programming and Scripting

HDD free space check

Hi, I need to add a condition in a script. The script is executed only if there is free 8 Gigas space. I know if then fi I don't know how to write the condition on free space Thanks :) (1 Reply)
Discussion started by: pppswing
1 Replies

9. Solaris

free space, associated by filesystem name...

is there a command that will display amount of free space...associated by filesystem name? # df /home /home (/dev/dsk/c1t0d0s3 ): 8069326 blocks 487280 files HP has bdf: bdf /home Filesystem kbytes used ... (2 Replies)
Discussion started by: mr_manny
2 Replies

10. Solaris

Maximizing 20GB HDD space

hello All! I have sun ultra5 pc with 9GB HDD and I'm planning to add 20GB HHD for future expansion and it is coming from my old intel based pc. My problem is everytime I formatted the new HD the system only gives me the result of free space for about 2GB+ as a maximum space. I have... (1 Reply)
Discussion started by: xtian
1 Replies
Login or Register to Ask a Question