FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-16-2008, 02:22 PM
Karl Larsen
 
Default Why so big?

Chris wrote:
> On Fri, 16 May 2008 05:38:19 -0600
> Karl Larsen <k5di@zianet.com> wrote:
>
>
>> steve wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Rich Rudnick wrote:
>>> | steve wrote:
>>> |> -----BEGIN PGP SIGNED MESSAGE-----
>>> |> Hash: SHA1
>>> |>
>>> |> Karl Larsen wrote:
>>> |> | I loaded this Ubuntu system with a Live CD which was close
>>> to 700 |> | MBytes. It has been updated a lot and is the Gutsy
>>> version. I was just |> | checking and the hard drive has
>>> |> |
>>> |> | 6,796,024,000 Bytes now! It is getting bigger every day. I
>>> wonder if
>>> |> | it will end?
>>> |> |
>>> |> | Karl
>>> |> |
>>> |>
>>> |>
>>> |> If im not mistaken the base install size is in the vicinity of
>>> 2gb, your |> closer to 7. you install extra stuff, LAMP, KDE, etc?
>>> |>
>>> |>
>>> |
>>> | You can get a pretty good idea of where your disk space is going
>>> with | baobab .
>>> |
>>> |
>>> wow. learn something new every day, wonder who in the world thought
>>> up that vague name......gotta be nik or acronym for
>>> something....... what........ i have NO idea lol
>>>
>>>
>>>
>>>
>>> - --
>>> Steve Reilly
>>>
>>> http://reillyblog.com
>>>
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.6 (GNU/Linux)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>
>>> iD8DBQFILNtu1L48K811Km0RAo//AJ9jGsgOnKAUOLuxIeqRt8IVHTmxgwCgnlt0
>>> EO/3neyO1029lq+Ob6sC074=
>>> =C27/
>>> -----END PGP SIGNATURE-----
>>>
>>>
>>>
>> I discovered this was right under my nose but never used. It is
>> located at Applications - Disk Usage Analyser. Now using it I am
>> confused by what it says. It says that my load of version 7.10 is
>> very wasteful of disk space. For example it says my system is 2.5 GB
>> and very poor disk usage.
>>
>> But I used the old df and got this:
>>
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> /dev/hda8 9187068 6795608 1924776 78% /
>>
>> This I wrote as 6795608000 bytes, and it is 6.8 GB. It appears that
>> df is wrong.
>>
>>
>> Karl
>>
>>
>
>
> I find that using df -h helps to remove errors in my readings
>
>
karl@karl-desktop:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda8 8.8G 6.4G 2.0G 76% /


I agree, but there is no error in my reading you see :-)


Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-17-2008, 03:31 PM
Karl Larsen
 
Default Why so big?

Karl Larsen wrote:
> Chris wrote:
>
>> On Fri, 16 May 2008 05:38:19 -0600
>> Karl Larsen <k5di@zianet.com> wrote:
>>
>>
>>
>>> steve wrote:
>>>

The Disk Usage Analyser shows in Scan Filesystem that the root
directroy of my 7.10 Ubuntu has a total of 18.6 GB of space. It shows
that the partitions at /f7home is 9.8 GB and the one at /home is 6.2 GB.
If you subtract home and f7home you get 2.6GB of space for the rest of
the system. This is wrong.

When I use df -h I get different numbers as follows. It shows
f7home to be 15 GB and home is 19 GB. It shows the system to be 8.8 GB
using 6.4 GB of the space.

Fdisk shows the home partition to be 19.5 GB and the system is
9.33 GB. This is more in line with df than DUA. With fdisk you can do a
calculation from the entire hard disk for the one partition we are
measuring. The hard drive has a total of 160 GB. It is made up of 255
heads, 63 sectors/track, and 19457 cylinders. So a cylinder is 16065 *
512 = 8225280 bytes.

Looking at the partition with Ubuntu in it, starts with cylinder
8962 and ends at 10123. This is 1161 cylinders that is 1161 * 8225280
bytes =
9549550080 bytes. This is 9.55 GB.

So how can you even think that Ubuntu can be in a 2.7 GB partition?

The Disk Usage Analyser needs some work I think.
Karl

--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-17-2008, 07:50 PM
Mario Vukelic
 
Default Why so big?

On Sat, 2008-05-17 at 09:31 -0600, Karl Larsen wrote:
> The Disk Usage Analyser shows in Scan Filesystem that the root
> directroy of my 7.10 Ubuntu has a total of 18.6 GB of space.

You can expand the view of the root and see how it splits up. What is
the split among subdirectories of / ?


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-17-2008, 08:26 PM
Karl Larsen
 
Default Why so big?

Mario Vukelic wrote:
> On Sat, 2008-05-17 at 09:31 -0600, Karl Larsen wrote:
>
>> The Disk Usage Analyser shows in Scan Filesystem that the root
>> directroy of my 7.10 Ubuntu has a total of 18.6 GB of space.
>>
>
> You can expand the view of the root and see how it splits up. What is
> the split among subdirectories of / ?
>
>
>
It shows /usr and /etc and the whole bunch. There is no way for me
to copy it all to this message.

Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 12:36 AM
Carl Friis-Hansen
 
Default Why so big?

Karl Larsen wrote:
> It shows /usr and /etc and the whole bunch. There is no way for me
> to copy it all to this message.
Try
sudo du -h --max-depth=1 /

--
+-------------------------------+-------------------+--------+
| Carl Friis-Hansen | Fiskeryd Nybygget | / |
| carl.friis-hansen@carl-fh.com | 341 91 Ljungby | / |
| Phone: +46 372 15033 | Sveden | ###### |
+-------------------------------+-------------------+--------+


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 11:39 AM
Karl Larsen
 
Default Why so big?

Carl Friis-Hansen wrote:
> Karl Larsen wrote:
>
>> It shows /usr and /etc and the whole bunch. There is no way for me
>> to copy it all to this message.
>>
> Try
> sudo du -h --max-depth=1 /
>
>
Here is what du says:

karl@karl-desktop:~$ sudo du -h --max-depth=1 /
[sudo] password for karl:
4.7M /bin
1.3M /root
4.0K /mnt
286M /var
88K /tmp
18M /boot
16K /lost+found
0 /sys
4.0K /test
0 /proc
12M /etc
8.0K /media
164M /lib
124K /dev
6.7M /sbin
2.2G /usr
4.0K /opt
4.0K /srv
10G /f7home
4.0K /initrd
6.2G /home
19G /

This says it is less than 3 GB just like the Disk Usage Analyser. But
using df I get:

karl@karl-desktop:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda8 8.8G 6.4G 2.0G 76% /
varrun 474M 232K 474M 1% /var/run
varlock 474M 0 474M 0% /var/lock
udev 474M 104K 474M 1% /dev
devshm 474M 0 474M 0% /dev/shm
lrm 474M 34M 440M 8%
/lib/modules/2.6.22-14-generic/volatile
/dev/hda7 15G 11G 3.4G 75% /f7home
/dev/hda9 19G 6.4G 12G 37% /home

The df is more in line with what fdisk shows.


Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 04:49 PM
Mike Bird
 
Default Why so big?

(Snipped: du and df seem to disagree about /dev/hda8.)

Please show us the output of "dumpe2fs /dev/hda8 | head -40".

--Mike Bird

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 05:29 PM
Karl Larsen
 
Default Why so big?

Mike Bird wrote:
> (Snipped: du and df seem to disagree about /dev/hda8.)
>
> Please show us the output of "dumpe2fs /dev/hda8 | head -40".
>
> --Mike Bird
>
>
Here is what it did after seeing what it is and using as root:

karl@karl-desktop:~$ man dumpe2fs
karl@karl-desktop:~$ dumpe2fs /dev/hda8 | head -40
dumpe2fs 1.40.2 (12-Jul-2007)
dumpe2fs: Permission denied while trying to open /dev/hda8
Couldn't find valid filesystem superblock.
karl@karl-desktop:~$ sudo dumpe2fs /dev/hda8 | head -40
[sudo] password for karl:
dumpe2fs 1.40.2 (12-Jul-2007)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index
filetype needs_recovery sparse_super large_file
Filesystem flags: signed directory hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 1168128
Block count: 2333433
Reserved block count: 116671
Free blocks: 640206
Free inodes: 1041194
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 569
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16224
Inode blocks per group: 507
Filesystem created: Sun Jan 27 15:52:31 2008
Last mount time: Sun May 18 04:54:56 2008
Last write time: Sun May 18 04:54:56 2008
Mount count: 65
Maximum mount count: -1
Last checked: Sun Apr 13 10:54:14 2008
Check interval: 15552000 (6 months)
Next check after: Fri Oct 10 10:54:14 2008
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
First orphan inode: 454746
Default directory hash: tea
Directory Hash Seed: 7c0cb3c7-a08c-46d7-a77b-db4f1999029c

Well this says 9.55741568 Gb in /dev/hda8 much like df does :-)

Karl




--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 05:50 PM
Mike Bird
 
Default Why so big?

On Sun May 18 2008 10:29:55 Karl Larsen wrote:
> Mike Bird wrote:
> > (Snipped: du and df seem to disagree about /dev/hda8.)
> >
> > Please show us the output of "dumpe2fs /dev/hda8 | head -40".
>
> Here is what it did after seeing what it is and using as root:

(snipped dumpe2fs output, which contains the following line)
> First orphan inode: 454746

dumpe2fs says you mounted /dev/hda8 since the problem started
so it can't be a deleted file that's still in use. However
you definitely have lost space even though the FS has no errors.

Suggest rebooting into recovery mode and running fsck. In my
customized installations I do this by adding " emergency" to
the end of my grub boot line but standard Ubuntu may have a
more user-friendly method ... I don't know.

If "fsck /dev/hda8" does nothing try "fsck -f /dev/hda8".

--Mike Bird

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 06:23 PM
Karl Larsen
 
Default Why so big?

Mike Bird wrote:
> On Sun May 18 2008 10:29:55 Karl Larsen wrote:
>
>> Mike Bird wrote:
>>
>>> (Snipped: du and df seem to disagree about /dev/hda8.)
>>>
>>> Please show us the output of "dumpe2fs /dev/hda8 | head -40".
>>>
>> Here is what it did after seeing what it is and using as root:
>>
>
> (snipped dumpe2fs output, which contains the following line)
>
>> First orphan inode: 454746
>>
>
> dumpe2fs says you mounted /dev/hda8 since the problem started
> so it can't be a deleted file that's still in use. However
> you definitely have lost space even though the FS has no errors.
>
> Suggest rebooting into recovery mode and running fsck. In my
> customized installations I do this by adding " emergency" to
> the end of my grub boot line but standard Ubuntu may have a
> more user-friendly method ... I don't know.
>
> If "fsck /dev/hda8" does nothing try "fsck -f /dev/hda8".
>
> --Mike Bird
>
>
Well Mike the system does fsck every so often and there is no -f in
fsck. So I really think what we have is a tiny orphan inode that happens
when you bring the ext3 file system down wrong, I do not see this making
the change from 6 to 2 Gb.

Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 08:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org