Ask a Question related to Ubuntu, Design and Development.

  1. #1

    Default Disk usage oddity

    I'm running Ubuntu Breezy on a Dell Dimension 8100. I have a 60GB (hda),
    with Windows ME installed and a 160GB (hdb) with Ubuntu.

    If I type "df -h" it tells me Size=147G, Used=105G, Avail=34G for
    /dev/hdb1. 105G + 34G != 147GB. The Windows partition is not mounted.

    However, if I select all directories in / using root Nautilus and do
    properties, it tells me I've used 46.3GB.

    How can I find where the missing 58.7GB is?

    Thanks.

    --
    Phil Stovell, South Hampshire, UK

    Save Gales Brewery
    [url]http://www.savegales.org.uk/[/url]

    Phil Stovell Guest

  2. Similar Questions and Discussions

    1. Scratch disk & Memory usage
      I can't seem to find an answer in the Knowledge Base articles, so I hope some one can clarify something for me. Also, the info in PE's on line Help...
    2. Date oddity in Acrobat, default page size oddity
      Got two things driving me nuts. One, when I go to Save As a file, the file dats come up in the form like this: Saturday, July -2147483642, 41221,...
    3. Perl module disk usage, for embedded system.
      Hey, We're concidering including perl in an embedded system. Disk and RAM usage are parameter that should be minimized. We have already some...
    4. Looking for disk usage trends over time tool...any suggestions?
      anybody here using Big Brother (http://www.bb4.com)? If yes, can we have some comparison of big brother with other tools. thanks -manu...
    5. Oracle disk contention/ cpu usage
      Hi all Just been lumbered installing the application my company support on an oracle installation and know nothing about it, normally handle...
  3. #2

    Default Re: Disk usage oddity

    Phil Stovell wrote:
    > I'm running Ubuntu Breezy on a Dell Dimension 8100. I have a 60GB (hda),
    > with Windows ME installed and a 160GB (hdb) with Ubuntu.
    >
    > If I type "df -h" it tells me Size=147G, Used=105G, Avail=34G for
    > /dev/hdb1. 105G + 34G != 147GB. The Windows partition is not mounted.
    ext2 and ext3 filesystems, in common with a number of other unix filesystems
    reserve a certain percentage of data blocks for root's use, so users cannot
    bring the system to a complete standstill by filling the disk. This is
    typically 5%. It can be changed using the tune2fs -r option, although
    eliminating it altogether for anything but removable storage media is a bad idea
    because the volume will probably become horribly fragmented over time. (Linux
    does not, on the whole, require any sort of 'defragmenter' program because the
    disks do not get fragged in the first place, because the block allocation code
    is somewhat more clued than the windows FAT32 equivalent, but it's algorythm
    depends on there always being a certain amount of free space available)
    > However, if I select all directories in / using root Nautilus and do
    > properties, it tells me I've used 46.3GB.
    It is probably following hard or soft links, or decending into other filesystems
    (/proc is a good one; there are some large 'files' in /proc, which are not
    files, nor are they on your disc).
    Hard links can be used to make the same file appear under more than one name.
    (The OS knows files on a disk by inode number, directories link names to inodes;
    having two directory entries which point at the same inode means that the same
    file is known by multiple names)
    Unrestricted use of hard links is a bad idea because it causes no end of confusion.
    Soft links are simply pointers to other files, and the system follows these
    automatically, so a file can then appear to be in two(or more) places at the
    same time. Software that transparrently follows soft links by default is
    probably broken (although this depends on context).
    > How can I find where the missing 58.7GB is?
    It probably isn't missing.
    Jim Howes Guest

  4. #3

    Default Re: Disk usage oddity

    Phil Stovell wrote:
    > I'm running Ubuntu Breezy on a Dell Dimension 8100. I have a 60GB
    > (hda), with Windows ME installed and a 160GB (hdb) with Ubuntu.
    >
    > If I type "df -h" it tells me Size=147G, Used=105G, Avail=34G for
    > /dev/hdb1. 105G + 34G != 147GB. The Windows partition is not mounted.
    >
    > However, if I select all directories in / using root Nautilus and do
    > properties, it tells me I've used 46.3GB.
    >
    > How can I find where the missing 58.7GB is?
    >
    Its because your harddrive is in decimal and linux and windows is in binary.
    [url]http://www.qindex.info/Q_drctry/miscellaneous_tips/Binary_Multiples.asp[/url]
    [url]http://physics.nist.gov/cuu/Units/binary.html[/url]

    160GB/1GiBi=149


    Henning




    Henning Pręstegaard Guest

  5. #4

    Default Re: Disk usage oddity

    Among the wreckage we found a fragment on which Phil Stovell had
    scratched:
    > How can I find where the missing 58.7GB is?
    du -x -h --max-depth=1 /

    Robert Billing Guest

  6. #5

    Default Re: Disk usage oddity

    On Tue, 21 Feb 2006 09:04:45 +0000, Robert Billing wrote:
    > Among the wreckage we found a fragment on which Phil Stovell had
    > scratched:
    >
    >> How can I find where the missing 58.7GB is?
    >
    > du -x -h --max-depth=1 /
    Thanks for that! It looks like Nautilus was ignoring a couple of hidden
    directories containing digital photos.

    Thanks to everybody for their assistance.

    --
    Phil Stovell, South Hampshire, UK

    Save Gales Brewery
    [url]http://www.savegales.org.uk/[/url]

    Phil Stovell Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139