Re: Run out of disk space on LVM

2007-02-26 Thread Roberto C. Sanchez
On Mon, Feb 26, 2007 at 04:31:55PM +0100, Matus UHLAR - fantomas wrote: > > afaik separate /usr was intentionally used long time ago, when systems were > booting from small (even floppy) disks, where small root with basic > utilities was mounted (drivers loaded), and then /usr was mounted with > n

Re: Run out of disk space on LVM

2007-02-26 Thread Matus UHLAR - fantomas
> On Sun, Feb 25, 2007 at 04:40:13PM +0100, Matus UHLAR - fantomas wrote: > > if you can, repartition the LVM, merge / and /usr and mount /tmp on tmpfs > > (you can put remaining space on swap, or /) On 25.02.07 15:20, Roberto C. Sanchez wrote: > Out of curiousity, why do you recommend merging / a

Re: Run out of disk space on LVM

2007-02-25 Thread Roberto C. Sanchez
On Sun, Feb 25, 2007 at 04:40:13PM +0100, Matus UHLAR - fantomas wrote: > > if you can, repartition the LVM, merge / and /usr and mount /tmp on tmpfs > (you can put remaining space on swap, or /) > Out of curiousity, why do you recommend merging / and /usr? I personally think that being able to

Re: Run out of disk space on LVM

2007-02-25 Thread Matus UHLAR - fantomas
On 24.02.07 10:58, Justin Hartman wrote: > I must say I'm a little confused here. In the past I just created one > large partition for my debian install but for this one machine I setup > seperate partitions using LVM. I may be way off the mark here but I > thought that with lvm I could resize part

Re: Run out of disk space on LVM

2007-02-24 Thread Justin Hartman
They say we learn through our mistakes. It's a tough one to learn but one that'll probably never do again... :) I'm trying out testdisk to see if I can recover anything. Thanks! On 2/24/07, Marcus Blumhagen <[EMAIL PROTECTED]> wrote: On Sat, Feb 24, 2007 at 07:01:06PM +0200, Justin Hartman wro

Re: Run out of disk space on LVM

2007-02-24 Thread Marcus Blumhagen
On Sat, Feb 24, 2007 at 07:01:06PM +0200, Justin Hartman wrote: > On 2/24/07, Marcus Blumhagen <[EMAIL PROTECTED]> wrote: > [...] > > >When did you try to run resize2fs? Was it before or after lvreduce? Or > >could you provide more detail on how you managed to grow / and shrink > >/var? > > Well l

Re: Run out of disk space on LVM

2007-02-24 Thread Justin Hartman
On 2/24/07, Marcus Blumhagen <[EMAIL PROTECTED]> wrote: > I tried to run: > # resize2fs /dev/debian/var > As well as: > # resize2fs -f /dev/debian/var > [...] When did you try to run resize2fs? Was it before or after lvreduce? Or could you provide more detail on how you managed to grow / and shr

Re: Run out of disk space on LVM

2007-02-24 Thread Marcus Blumhagen
On Sat, Feb 24, 2007 at 05:16:34PM +0200, Justin Hartman wrote: > Ok I managed to resize my root partition but in doing so I have a > problem with my var partition now. > > The message I get at boot time when fsck runs is: > > # The filesystem size (according to the superblock) is 750592 blocks >

Re: Run out of disk space on LVM

2007-02-24 Thread Justin Hartman
Ok I managed to resize my root partition but in doing so I have a problem with my var partition now. The message I get at boot time when fsck runs is: # The filesystem size (according to the superblock) is 750592 blocks The physical size of the device is 687104 blocks Either the superblock or th

Re: Run out of disk space on LVM

2007-02-24 Thread Marcus Blumhagen
On Sat, Feb 24, 2007 at 10:30:46AM +0100, Gilles Mocellin wrote: > [...] > 2) You've got space on /var, so reduce it to give space to root : > # resize2fs /dev/debian/var 2G > # lvextend -L 350M /dev/debian/root > # resize2fs /dev/debian/root > [...] You forgot the lvreduce step. Without it there

Re: Run out of disk space on LVM

2007-02-24 Thread Thierry Chatelet
On Saturday 24 February 2007 10:30, Gilles Mocellin wrote: > Le samedi 24 février 2007 09:58, Justin Hartman a écrit : > > Hi guys > > > > I must say I'm a little confused here. In the past I just created one > > large partition for my debian install but for this one machine I setup > > seperate pa

Re: Run out of disk space on LVM

2007-02-24 Thread Gilles Mocellin
Le samedi 24 février 2007 10:41, Justin Hartman a écrit : > On 2/24/07, Gilles Mocellin <[EMAIL PROTECTED]> wrote: > > 0) You must tell us what filesystems you use on / and /var. I suppose > > it's ext3 for now. > > Yes it's ext3 > > > 1) If there's space on the VG debian, just extend the root LV :

Re: Run out of disk space on LVM

2007-02-24 Thread Justin Hartman
On 2/24/07, Gilles Mocellin <[EMAIL PROTECTED]> wrote: 0) You must tell us what filesystems you use on / and /var. I suppose it's ext3 for now. Yes it's ext3 1) If there's space on the VG debian, just extend the root LV : To see space used on the debian VG : # vgs debian There is no space s

Re: Run out of disk space on LVM

2007-02-24 Thread Gilles Mocellin
Le samedi 24 février 2007 09:58, Justin Hartman a écrit : > Hi guys > > I must say I'm a little confused here. In the past I just created one > large partition for my debian install but for this one machine I setup > seperate partitions using LVM. I may be way off the mark here but I > thought that

Run out of disk space on LVM

2007-02-24 Thread Justin Hartman
Hi guys I must say I'm a little confused here. In the past I just created one large partition for my debian install but for this one machine I setup seperate partitions using LVM. I may be way off the mark here but I thought that with lvm I could resize partitions if it ran out of space? My curr