On Sat, Jul 14, 2007 at 10:32:11PM +0100, Mastery wrote: > I have different partitions for / and /home.Unfortunately my root > partition is full (7GB).What can i do now? > Shall i try repartitioning my root through boot disk or there is any > other way to clean the / partition. I don't know how a 7 GB / is full > since all the applications are stored in my home partition
This is a big reason to have more than /, swap, and /home. Boot up in single-user. If there isn't enough disk space for that, boot up in init=/bin/sh and mount your filesystem read-only (so that it doesn't get atimes updated or any other attempts to write to a full device). If you can, activate swap and get /tmp on tmpfs to give you something to shuffle with. Since its all one big fs, df won't help much but run it anyway to see how full things are after this fresh reboot. Since /usr can be mounted ro, its only supposed to change when you add/remove/update packages, so there should be no surprises under /usr. Check /var. Especially, /var/tmp, /var/cache. The FHS says that files in /var/cache "is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or restore the data. Unlike /var/spool, the cached files can be deleted without data loss. Then check in /home. If you find any really big files, see if you can gzip them up to save space. If there are big directories, perhaps tarball them. Once you get enough room to work, you can reboot into single-user mode and run your normal backup routine. Then decide where to prune to get a sane system again. Good luck. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]