On 04/19/2013 01:32 PM, Raffaele Morelli wrote:
> I have a debian wheezy server up, I would like to free some space on
> rootfs but can't guess how...
> Here follows the filesystem, any hints?
> debian:~# df -h
> File system Dim. Usati Dispon. Uso% Montato su
> rootfs 322M 213M 93M 70% /
> udev 10M 0 10M 0% /dev
> tmpfs 800M 228K 800M 1% /run
> /dev/mapper/debian-root 322M 213M 93M 70% /
> tmpfs 5,0M 0 5,0M 0% /run/lock
> tmpfs 368M 11M 339M 3% /tmp
> tmpfs 1,6G 0 1,6G 0% /run/shm
> /dev/mapper/debian-home 519G 16G 477G 4% /home
> /dev/mapper/debian-tmp 368M 11M 339M 3% /tmp
> /dev/mapper/debian-usr 4,6G 1,2G 3,2G 28% /usr
> /dev/mapper/debian-var 2,8G 1,6G 1,1G 61% /var
I would check how many kernels&modules you have installed.
check it with:
dpkg -l | grep linux-image
if you see a bunch of old versions, than feel free to purge
them(aptitude purge linux-image-...)
leave the one you currently use (uname -a) and one before - just to be
on the safe side ( may be you need to roll back on the ld version in
case something doesn't work with new one for example )
Hope it helps.
- From: Raffaele Morelli <email@example.com>