l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Jun 29 19:21

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] I'm out of space on /
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] I'm out of space on /

Thanks Karsten

Actually, /var, /home, and /usr are on separate partitions (I think I deleted them in the interest of the email)

hydrogen:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 133M 111M 15M 89% /
tmpfs 189M 4.0K 189M 1% /dev/shm
/dev/hda8 27G 1.4G 24G 6% /home
/dev/hda7 361M 8.1M 334M 3% /tmp
/dev/hda5 4.6G 905M 3.5G 21% /usr
/dev/hda6 2.8G 115M 2.6G 5% /var
fe:/home 50G 16G 32G 34% /mnt/fe/home

I'll follow your guide when I repartition (eminently)


Karsten M. Self wrote:
on Sun, Jun 26, 2005 at 11:28:01PM -0500, Jay Strauss (me@heyjay.com) wrote:


I was trying to install kernel-image-2.6.8-2-686, on debian sarge. But I'm getting:

dpkg: error processing /var/cache/apt/archives/kernel-image-2.6.8-2-686_2.6.8-16
_i386.deb (--unpack):
failed in buffer_write(fd) (8, ret=-1): backend dpkg-deb during `./lib/modules/
2.6.8-2-686/kernel/sound/pci/trident/snd-trident-synth.ko': No space left on device

I don't know what's taking up space and what I can delete. I did a

hydrogen:/# du -hxs *
2.7M bin
8.3M boot
0 cdrom
88K dev
6.9M etc
1.0K initrd
0 initrd.img
79M lib
12K lost+found
3.0K media
6.0K mnt
385M proc
3.3M root
3.6M sbin
1.0K srv
0 sys
13K tmp
0 vmlinuz

That's part of the answer.

You need to specify your filesystems too.  If you're running a single
filesysytem, the above is comprehensie.  Looks like you're missing /var
and /usr from there.

'df -h' is what you want to show.  In my case we'd see:

    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda2             228M  196M   21M  91% /
    tmpfs                 475M  4.0K  475M   1% /dev/shm
    /dev/hda1              38M   28M  8.8M  76% /boot
    /dev/hda9             259M  154M  106M  60% /tmp
    /dev/hda10           1004M  818M  187M  82% /var
    /dev/hda11            3.0G  2.8G  143M  96% /usr
    /dev/hda12           1004M  493M  512M  50% /usr/local
    /dev/hda13             12G   11G  742M  94% /home

(I like lots of partitions ;-)

To track down specific filesystem usage, I like:

   du -sx * | sort -nr

...which will sort utilization of directories (and files) within the
current directory.  Going down the subdirectories tends to be pretty
fast due to disk caching.

A really nice graphical utility for identifying where storage issues
exist is 'filelight':


...which shows usage graphically, allows drilling down to see what
specifically is using space.

My current partitioning recommendations are here:


Now I'm a bit afraid to reboot my machine, for fear its been left in a
damaged state.

Should only be the new kernel that's not properly installed.  Since its
installation didn't complete, you shouldn't have to worry about it.

Bootable disks (Knoppix, LNX-BBC, DSL, etc.) will pretty much always get
you back into your system even if you've mucked something up badly.



vox-tech mailing list
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.