Find the answer to your Linux question:
Results 1 to 8 of 8
The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the ...
  1. #1
    Just Joined! uhcafigdc's Avatar
    Join Date
    May 2009
    Location
    East Coast USA
    Posts
    22

    Question Disk space used on empty partition?

    The partition is formatted to ext3, starting with block 1 on the drive.
    The mount point for /dev/sdc1 lists 0 files when doing `ls -A`
    `df -h` shows that the partition has 92MB used.

    How is this space being used, and how can I free it up?

    edit: I guess this isn't a newbie question. Could someone move this?

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    what does 'fdisk -l' show?
    Maybe, you created a extended partition which does not show in df -h.

  3. #3
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    please post the out put of fdisk -l
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  4. #4
    Just Joined! uhcafigdc's Avatar
    Join Date
    May 2009
    Location
    East Coast USA
    Posts
    22
    There are several more devices on this computer, but these are associated with this particular drive. This machine was set up by someone other than myself.

    Code:
    [root@files /]# /sbin/fdisk -l
    
    Disk /dev/sdc: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1   *           1       30371   243955026   83  Linux
    /dev/sdc2           30372       30386      120487+  83  Linux
    /dev/sdc3           30387       30401      120487+  82  Linux swap

  5. #5
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    ok please post the output of where you see the size used
    Code:
    df -h
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  6. #6
    Just Joined! uhcafigdc's Avatar
    Join Date
    May 2009
    Location
    East Coast USA
    Posts
    22
    Code:
    [root@files /]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sdc1             230G   92M  218G   1% /mnt/backup
    Code:
    [root@files /]# ls -A /mnt/backup
    [root@files /]#
    Additionally, 230G - 92M != 218G. How does this work?

  7. #7
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Google - ext3 filesystem overhead

    Let's summarize total ext3 file system overhead.

    Total default ext3 file system overhead = number of block groups with superblocks * ( Super block + Group descriptors + Reserved GDT blocks + Data Block bitmap + Inode bitmap + Inodes table ) + number of block groups without superblocks * ( Data Block bitmap + Inode bitmap + Inodes table ).

    In my case this equals 3859055 blocks or ~ 14.6 Gibibytes

  8. #8
    Just Joined! uhcafigdc's Avatar
    Join Date
    May 2009
    Location
    East Coast USA
    Posts
    22
    Thanks HROAdmin26

Posting Permissions

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