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

Re: LVM partition full (was:what is /command directory?)



On Sun, Aug 26, 2007 at 12:25:30PM +0100, Richard Lyons wrote:
> On Sun, August 26, 2007 02:24, Douglas A. Tutty wrote:
> > On Sun, Aug 26, 2007 at 12:52:30AM +0100, Richard Lyons wrote:
 
> Still, it was late and I was panicking rather unnecessarily.  After
> sleeping on it, I am tending to the view they must be from that tinydns
> episode.  I'm going to remove them on that assumption and see what
> happens.  I never persuaded tinydns to run, so it is no loss.

Since tinydns doesn't appear to be a debian package, you got bitten by
allowing a non-debian-package to use anything other than /home/,
/usr/local/, /var/local/, and /etc/.  

> 
> >
> > If you're using LVM, do you have any free space?
> [...]
> $ df -h
> Filesystem         Dimens. Usati Disp. Uso% Montato su
> /dev/mapper/Debian-root
>                       259M  165M   81M  68% /
> /dev/hda1             228M   34M  182M  16% /boot
> /dev/mapper/Debian-home
>                       9,3G  4,6G  4,2G  53% /home
> /dev/mapper/Debian-tmp
>                       368M   11M  337M   4% /tmp
> /dev/mapper/Debian-usr
>                       4,7G  3,5G  1,1G  78% /usr
> /dev/mapper/Debian-var
>                       2,9G  901M  1,8G  33% /var

I don't see anything here to panic over.  If you want to give yourself
some more room in /, you could put /tmp on tmpfs as long as you have
enough swap already.  Then you could delete the LV tmp and reallocate
its space to /.  Also, your /boot is too big but that's more difficult
to change; not impossible.  

 
> # pvdisplay
>   --- Physical volume ---
>   PV Name               /dev/hda6
>   VG Name               Debian

>   Free PE               0
 
> I kept the second disk for media -- photographs mainly --, but it looks
> as though I shall have to take a part of it in order to decant some
> other directory into it.
> 

If you don't need to access that media drive from other OSs, you can
incorporate it into the main LVM system.  Assuming that those
photographs are meant to be viewed by multiple users, you could put the
directory under home.  

However, I don't see that your setup needs any tweaking right now.  / is
at 68% with 81 MB free.  The only thing that should take up a lot of
additional room there would be kernel modules for another kernel.  I'm
guessing that you have two kernels installed; before you install
another, remove the oldest one.

Doug.



Reply to: