[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regards the /



Am Mittwoch, 21. September 2011 schrieb lina:
> Hi,

Hi Lina!

> To avoid messing up Lisi's post, I started a new one.
> 
> What's the acceptable saturation for the / partition,
> 
> now my one reached 61% (377M of 658, wheezy),
> another reached 87% (483M of 657M, sid)
> 
> only saw it increases, never saw it decreases.
> 
> I followed Camaleón's suggestion, the output of
> 
> cd /
> du -h | grep "[0-9]M" | sort -n -r | less
> 
> the first few ones even reached hundreds of M.
> the output of du -h is 34G

I think is all depends on your setup and partition layout. I also try to 
have at least 10% free on any partition or logical volume. Filesystems 
require some free space to reduce fragmentation.

For further advice I´d like to know the following in full:

1) merkaba:~> du -sh /* 2>/dev/null | egrep "[0-9](M|G)" | sort -r --sort 
h

merkaba:~> sort -r --sort=h /tmp/sizes
205G    /home
8,9G    /usr
1,7G    /var
235M    /root
134M    /lib
31M     /boot
11M     /sbin
9,0M    /bin
6,3M    /etc
4,6M    /lib32
4,0M    /run

(now isn´t --sort=h cool? Just found out about it a moment ago as I 
searched a solution to sort the G and the M´s as well.)

2) merkaba:~> LANG=C df -hT | grep -v tmpfs
Filesystem                 Type   Size  Used Avail Use% Mounted on
/dev/mapper/merkaba-debian btrfs   19G   13G  2.2G  85% /
/dev/sda3                  ext4   277M   32M  232M  12% /boot
/dev/sda2                  vfat   189M  9.5M  179M   6% /boot/efi
/dev/mapper/merkaba-home   ext4   221G  190G   29G  87% /home

(minus anything that you want to keep private to you of course, you can 
skip LANG=C if your system is english language)

Oh and yes... That Btrfs / partition could use some enlargement ;). Or I 
seperate /var. Or deinstall something. Some help here:

- debfoster
- deborphan
- aptitude (look for obsolete and locally installed packages)

And no, EFI does not work on that ThinkPad T520 yet. ;) Neither does GPT.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: