Re: / full?
> I have filled up the / partition. a copy of fstab is below:
>
> $/ df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda1 250M 249M 0 100% /
> tmpfs 249M 0 249M 0% /dev/shm
> /dev/hda9 66G 5.2G 58G 9% /home
> /dev/hda8 361M 8.1M 334M 3% /tmp
> /dev/hda5 4.6G 2.2G 2.3G 50% /usr
> /dev/hda6 2.8G 377M 2.3G 15% /var
> tmpfs 249M 112K 249M 1% /dev
>
>
>
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> /dev/hda1 / ext3 defaults,errors=remount-ro 0
> 1 /dev/hda9 /home ext3 defaults 0 2
> /dev/hda8 /tmp ext3 defaults 0 2
> /dev/hda5 /usr ext3 defaults 0 2
> /dev/hda6 /var ext3 defaults 0 2
> /dev/hda7 none swap sw 0 0
> /dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
> /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
> /dev/sdb1 /mnt/digipad vfat rw,user,noauto 0 0
>
> Is it possible to symlink /bin, /etc/, + others into the /home
> partition? or just use a partitioner to resize the /home? Which has the
> least impact on the filesystem?
>
> thanks in advance
This little gem might help you diagnose your space issues from the command
line, as it's saved me many times:
# du -m -x --max-depth=1 / | sort -n
You'll get a listing of top level directories disk usage (in MB) for the /
filesystem only, sorted by size in ascending order. You can then drill
down into other directories to see what's hogging your disk space.
You're better off IMHO being efficient with your / filesystem rather than
trying to symlink a directories this way and that. You should be able to
get your / filesystem to under 200MB unless you're storing something in
there on purpose, or at least move the offending files somewhere else.
Adam
--
"Pulling together is the aim of despotism and tyranny.
Free men pull in all kinds of directions."
Terry Pratchett, The Truth
Reply to:
- Follow-Ups:
- RE: / full?
- From: "Chris" <chris_parker@adelphia.net>
- Re: / full?
- From: "Michael M." <nixlists@writemoore.net>
- References:
- / full?
- From: Chris Parker <chris_parker@countyfloors.net>