Re: resize2fs on LVM2 on hardware RAID5

2007-02-03 Thread Alan Chandler
On Thursday 01 February 2007 10:57, Pim Bliek wrote: > Hmm, so that means I am stuck... The system was installed from a > (modified for 3Ware card + LVM support) Sarge install CD which means > 1.37 for e2fsprogs (I checked). So this means the -O option wasn't > used... > > Damn.. this will mean I

Re: resize2fs on LVM2 on hardware RAID5

2007-02-02 Thread Andrew Sackville-West
On Fri, Feb 02, 2007 at 11:54:14AM +0100, Pim Bliek wrote: > # mke2fs /dev/vg00/backups -O resize_inode > # tune2fs -j /dev/vg00/backups > # lvextend -L 65G /dev/vg00/backups > # resize2fs /dev/vg00/backups 65G > resize2fs 1.40-WIP (14-Nov-2006) > Resizing the filesystem on /dev/vg00/backups to 170

Re: resize2fs on LVM2 on hardware RAID5

2007-02-02 Thread Pim Bliek
# mke2fs /dev/vg00/backups -O resize_inode # tune2fs -j /dev/vg00/backups # lvextend -L 65G /dev/vg00/backups # resize2fs /dev/vg00/backups 65G resize2fs 1.40-WIP (14-Nov-2006) Resizing the filesystem on /dev/vg00/backups to 17039360 (4k) blocks. The filesystem on /dev/vg00/backups is now 17039360

Re: resize2fs on LVM2 on hardware RAID5

2007-02-02 Thread Pim Bliek
# ext2online -v /dev/vg00/backup 60G ext2online v1.1.19 - 2001/03/18 for EXT2FS 0.5b new filesystem size 15728640 using 0 reserved group descriptor blocks ext2online: ext2_ioctl: Inappropriate ioctl for device ext2online: unable to resize /dev/mapper/vg00-backup So ext2online doesn't work eithe

Re: resize2fs on LVM2 on hardware RAID5

2007-02-01 Thread Gilles Mocellin
Le mardi 30 janvier 2007 22:21, Pim Bliek a écrit : > Hi > > Since a couple of months I am running Etch on a new production server, > with the following specs: > > - kernel 2.6.18-smp package > - lvm 2.02.06-3 > - RAID5 on a 3Ware card (3w_9xxx) > > I want to grow my /var filesystem ONLINE. I can f

Re: resize2fs on LVM2 on hardware RAID5

2007-02-01 Thread Andrew Sackville-West
On Thu, Feb 01, 2007 at 11:57:23AM +0100, Pim Bliek wrote: > I said this after Pim said that... > at some point Pim said: > ># resize2fs -f /dev/vg00/vartest > >> resize2fs 1.40-WIP (14-Nov-2006) > >> Filesystem at /dev/vg00/vartest is mounted on /vartest; on-line > >> resizing required > >> ol

Re: resize2fs on LVM2 on hardware RAID5

2007-02-01 Thread Roberto C. Sanchez
On Thu, Feb 01, 2007 at 11:57:23AM +0100, Pim Bliek wrote: > Hmm, so that means I am stuck... The system was installed from a (modified > for 3Ware card + LVM support) Sarge install CD which means 1.37 for > e2fsprogs (I checked). So this means the -O option wasn't used... > > Damn.. this will mea

Re: resize2fs on LVM2 on hardware RAID5

2007-02-01 Thread Pim Bliek
Hmm, so that means I am stuck... The system was installed from a (modified for 3Ware card + LVM support) Sarge install CD which means 1.37 for e2fsprogs (I checked). So this means the -O option wasn't used... Damn.. this will mean I will have to recreate all filesystems on the box... That's going

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Roberto C. Sanchez
On Wed, Jan 31, 2007 at 03:35:22PM -0500, Drake Mobius wrote: > of course, only use XFS with a very reliable and stable OS and power supply. > Being non-journalled, and all. > Hmm. Researching what you are talking about might be a good thing. "XFS is a high-performance journaling file system cre

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Greg Folkert
On Wed, 2007-01-31 at 15:35 -0500, Drake Mobius wrote: > of course, only use XFS with a very reliable and stable OS and power > supply. Being non-journalled, and all. WHAT? Stop spreading lies. XFS is and always has been Journalled. http://www-128.ibm.com/developerworks/library/l-fs9.html In

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Drake Mobius
of course, only use XFS with a very reliable and stable OS and power supply. Being non-journalled, and all. On 1/30/07, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote: On Tue, Jan 30, 2007 at 10:21:59PM +0100, Pim Bliek wrote: > Hi > > Since a couple of months I am running Etch on a new productio

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Andrew Sackville-West
On Wed, Jan 31, 2007 at 06:07:47PM +0100, Pim Bliek wrote: > Just tried the -f option on a test partition. Doesn't do the trick. Same > error: > > # resize2fs -f /dev/vg00/vartest > resize2fs 1.40-WIP (14-Nov-2006) > Filesystem at /dev/vg00/vartest is mounted on /vartest; on-line > resizing requi

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Pim Bliek
Just tried the -f option on a test partition. Doesn't do the trick. Same error: # resize2fs -f /dev/vg00/vartest resize2fs 1.40-WIP (14-Nov-2006) Filesystem at /dev/vg00/vartest is mounted on /vartest; on-line resizing required old desc_blocks = 1, new_desc_blocks = 1 resize2fs: Kernel does not s

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Pim Bliek
Ehm thanx for all the comments guys. I appreciate it, but I am not willing nor in the situation to migrate to another fs format. Also, somehow these kind of questions always seem to start a discussion on 'what fs is best'... as boring as a vi vs. emacs discussion (it is vi, so quit whining :P). A

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Roberto C. Sanchez
On Wed, Jan 31, 2007 at 03:43:25PM +0200, Raymond A. Meijer wrote: > On Tue 30 Jan 2007, Pim Bliek wrote: > > > So... what is the trick to make this work? I cannot find it. > > The trick, though it may not be of much help to you now, is to use ReiserFS > instead... > > I've been using this feat

Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Raymond A. Meijer
On Tue 30 Jan 2007, Pim Bliek wrote: > So... what is the trick to make this work? I cannot find it. The trick, though it may not be of much help to you now, is to use ReiserFS instead... I've been using this feature of ReiserFS for years and it has never failed. Ray -- You cannot discover n

Re: resize2fs on LVM2 on hardware RAID5

2007-01-30 Thread Roberto C. Sanchez
On Tue, Jan 30, 2007 at 10:21:59PM +0100, Pim Bliek wrote: > Hi > > Since a couple of months I am running Etch on a new production server, > with the following specs: > > - kernel 2.6.18-smp package > - lvm 2.02.06-3 > - RAID5 on a 3Ware card (3w_9xxx) > > I want to grow my /var filesystem ONLIN

Re: resize2fs on LVM2 on hardware RAID5

2007-01-30 Thread Andrew Sackville-West
On Tue, Jan 30, 2007 at 10:21:59PM +0100, Pim Bliek wrote: > Hi > > Since a couple of months I am running Etch on a new production server, > with the following specs: > > - kernel 2.6.18-smp package > - lvm 2.02.06-3 > - RAID5 on a 3Ware card (3w_9xxx) > > I want to grow my /var filesystem ONLIN

resize2fs on LVM2 on hardware RAID5

2007-01-30 Thread Pim Bliek
Hi Since a couple of months I am running Etch on a new production server, with the following specs: - kernel 2.6.18-smp package - lvm 2.02.06-3 - RAID5 on a 3Ware card (3w_9xxx) I want to grow my /var filesystem ONLINE. I can find tons of docs on offline resizing, but I am not in the position t