Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Checking Hard Disk free space
Name: judson_jebaraj8 Date: December 9, 2005 at 04:59:35 Pacific OS: Redhat Linux 9.0 CPU/Ram: 512M
Comment:
Hi Guys
I need to check the free space of the hard disk in RedHat Linux 9.0. I used command df, its giving partion size, partion used, partion available for use.
But I want to know the total disk space is free and used, like my hard disk size is 40 GB, but used only 20 GB, now how can i know the remaining unused space in linux.(It means I need to know the free unpartioned space).
Name: 3Dave Date: December 9, 2005 at 06:14:58 Pacific
Reply:
"partion available for use" is what you are after. You might just want it in a more human readable form (eg in Gb, Mb etc), just pass the "h" switch: $ df -h
0
Response Number 2
Name: judson_jebaraj8 Date: December 12, 2005 at 22:53:33 Pacific
Reply:
I want like hard disk free space left unpartition, df -h only shows partitioned disk free space and used space.
But I want to know the unpartition free space in my Hard disk. For example my hard disk size is 40GB, I used only 20 GB while installing, I need to know the remaining unpartitioned disk space. How can I know the remaining 20GB disk space is free.
Rgds Jebaraj
0
Response Number 3
Name: 3Dave Date: December 13, 2005 at 09:30:11 Pacific
Reply:
Haven't tried it as I don't currently have any drives with unpartitioned space, "cat /proc/partitions"? You could also try "fdisk -l" or using parted (or qtparted/gparted if you want a GUI).
0
Response Number 4
Name: davemiller Date: December 14, 2005 at 13:32:46 Pacific
Reply:
as root, use the cfdisk command
ex:$ cfdisk /dev/hdx
("x" being the drive letter, which is probably "a" if you have only one hard drive)
Summary: Reasons to install an old release are: Hard disk free space, RAM, ... Red Hat Linux 8.0 requires: 128 MB RAM Intel-compatible @ 300 MHz at least.... n0dez ...
Summary: right, i managed to get my comp back up and running, but in xp alone. However their is a 20gb block missing from the hard disk which xp will not recognise. I've deleted all formats, formatted, and p...