When i do a df -k -h my RH7.1 box reports that i have a 15GB drive but i have a 20GB drive. Why is this? How do i get the OS to see the whole disk and free up the other 5GB
Thanks
Bog..
When i do a df -k -h my RH7.1 box reports that i have a 15GB drive but i have a 20GB drive. Why is this? How do i get the OS to see the whole disk and free up the other 5GB
Thanks
Bog..
The whole 20GB is partitioned for linux? Post the output of df -h
Jim H
df -h gives......
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 15G 5.5G 8.9G 38% /
/dev/hda1 53M 3.5M 46M 7% /boot
its definately a 20GB drive.
regards
Bog...
What does this show: /sbin/sfdisk -l
You lose some space when formatting a drive. 20GB refers to the unformatted capacity of the drive, but you seem to be missing between 2.5-3GB. I don't remember any bugs with df in RH 7.1 about incorrectly reporting disk space.
Jim H
What does this show: /sbin/sfdisk -l
You lose some space when formatting a drive. 20GB refers to the unformatted capacity of the drive, but you seem to be missing between 2.5-3GB. I don't remember any bugs with df in RH 7.1 about incorrectly reporting disk space.
Jim H
2.5 - 3 gigs is about a normal amount of loss after formatting a drive.
Neil
You're right, it is pretty close. I ususally count on seeing about a 10-20% loss.2.5 - 3 gigs is about a normal amount of loss after formatting a drive.
Jim H
I shall run the command tonight and post it.
Seems like quite a lot of lost disk! So, from 40GB i would be looking at losing ~4GB?
Thanks
Bog..
Holy snot Batman! You've got to be kidding me, a few gigs loss from a format?! Can't say I have EVER experienced that. I have a 20 gig and I stay firmly at about 19.5 gig after a format. I do not want to be smoking whatever you guys are smoking, that would piss me off. I paid for a 20 gig not a 15 gig...damn!
Aragorn
If you give a man a fire he'll be warm, if you light the man on fire he'll be warm for life.
Hmmm, must be a 22GB hard drive.Can't say I have EVER experienced that. I have a 20 gig and I stay firmly at about 19.5 gig after a format.
Aragorn:
But I still think he seems to be showing a little lower then he should be. I had one old Maxtor drive once that would only show 99% used when I formatted it under Linux.
Jim H
/sbin/sfdisk -l gives....
Disk /dev/hda: 2481 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 6 7- 56196 83 Linux
/dev/hda2 7 2480 2474 19872405 5 Extended
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
/dev/hda5 7+ 2011 2005- 16105131 83 Linux
/dev/hda6 2012+ 2077 66- 530113+ 82 Linux swap
start: (c,h,s) expected (1023,254,63) found (1023,1,1)
Regards
Bogler
Bookmarks