LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Actual Hard Disk Size on RH7.2 (https://www.linuxquestions.org/questions/linux-software-2/actual-hard-disk-size-on-rh7-2-a-88134/)

Arot 09-01-2003 04:59 PM

Actual Hard Disk Size on RH7.2
 
I tried to install webmin program to configure my samba. When I installed the webmin it gave me a warning that the hard disk size not enough. the warnings are as below:
warning: Expected size: 7602345
warning: Actual size: 3134663
1: webmin error unpacking of archive failed on file /usr/libexec/webmin/init/save_action.cgi;3f527951: cpio:read failed - Bad file descriptor

It looks like that there is not enough space for me to install the program but confusingly enough that when I check the hardisk using df -h, I still have 1.1G on my /dev/hda2 mounted on / and 37M on my /dev/hda1 mounted on /boot
Please help....Thanks

fancypiper 09-01-2003 05:22 PM

I think that means you have a bad download and that isn't the size it is supposed to be.

# How much free/used drive space
df -h

# Show disk usage by current directory and all subdirectories
du | less

# What takes up so much space on your box
# Run from the directory in question and the largest chunk shows up last
find $1 -type d | xargs du -sm | sort -g


All times are GMT -5. The time now is 04:15 AM.