Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Disk size query

  1. #1
    Bogler
    Guest

    Disk size query

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

  2. #2
    JimH
    Guest

    Re: Disk size query

    The whole 20GB is partitioned for linux? Post the output of df -h

    Jim H


  3. #3
    Bogler
    Guest

    Re: Disk size query

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

  4. #4
    JimH
    Guest

    Re: Disk size query

    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

  5. #5
    nfallon
    Guest

    Re: Disk size query

    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

  6. #6
    JimH
    Guest

    Re: Disk size query

    2.5 - 3 gigs is about a normal amount of loss after formatting a drive.
    You're right, it is pretty close. I ususally count on seeing about a 10-20% loss.

    Jim H

  7. #7
    Bogler
    Guest

    Re: Disk size query

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

  8. #8

    Re: Disk size query

    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.

  9. #9
    JimH
    Guest

    Re: Disk size query

    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
    Hmmm, must be a 22GB hard drive. :

    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

  10. #10
    Bogler
    Guest

    Re: Disk size query


    /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

Similar Threads

  1. Query Mac Address
    By Tuxy in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-18-2006, 08:37 PM
  2. set up disk query
    By jar in forum Linux - General Topics
    Replies: 5
    Last Post: 04-01-2006, 02:29 AM
  3. A SIMPLE QUERY
    By perpetualnewbie in forum Windows - General Topics
    Replies: 0
    Last Post: 12-02-2005, 10:29 AM
  4. SQL Query
    By jimmyfo in forum Windows - General Topics
    Replies: 0
    Last Post: 06-13-2005, 02:53 PM
  5. Is occupying disk size can vary based on host OS?
    By Compunuts in forum Windows - General Topics
    Replies: 2
    Last Post: 07-19-2004, 06:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •