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

RE: / full?



 

> -----Original Message-----
> From: Adam Collins [mailto:adam@nutthouse.us] 
> Sent: Monday, April 10, 2006 8:59 PM
> To: debian-user@lists.debian.org
> Subject: 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
> 

I have done an apt-get clean.  The 249m used out of 250m was after that.  I
know what it is that takes up all the extra space.  Darn left over kernels
and modules.  The machine is a desktop based machine.  I am in the process
of converting the small office over to Debian.  The owner's love it.  It's
extremely stable except for my small admin errors.

Thanks for the assistance.
Chris Parker
www.countyfloors.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: