Re: Root partition full



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 debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Help getting copied Window 98 booting
    ... This worked find for my eCS 1.03 partition, but Windows 98 does not boot. ... Surely you created a "Windows Emergency Boot Disk" before you started this? ...
    (comp.os.os2.misc)
  • Re: Allergic to XP
    ... Partition tables ... Computer Stops Responding with a Black Screen When You Start Windows ... Master boot record ... Create a Microsoft Windows XP boot disk to start the computer. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: boot problem
    ... >> I'm coming to think that the bios cannot find the partition. ... > Boot the machine with a Win98 boot disk, ... > Now take floppy disk #2 back to your WinXP PC ... > You have just manufactured a WinXP floppy boot disk. ...
    (microsoft.public.windowsxp.general)
  • Re: Bret!! (zbret9!!!) Please read...
    ... Just download the windows 98 boot disk from the site Kelly suggested. ... Put the file on a floppy and boot your computer with the floppy. ... Delete the non-Dos partition. ...
    (microsoft.public.windowsxp.general)
  • Re: Multiboot
    ... testing software, add/remove apps, etc. ... Just create a partition and install. ... Then with Grub or Lilo select the one you want to boot. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)