hello all, I am trying to expand my /var file system which resides on a logical volume. I successfully issued the lvextend command. However when I try to issue the ext2online command I receive a return code of 3 which the man pages indicates: ext2online /var ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b ext2online: group 0, block 7 not reserved ext2online: unable to resize /dev/mapper/root_vg-lv_var echo $? 3 3 Error in pre-resizing (user space) operation Can someone tell me what I'm doing wrong. I would prefer doing this online... thanks, James
Scott Silva
2006-Aug-17 23:39 UTC
[CentOS] Re: extending ext3 filesystem on logical volume
James Marcinek spake the following on 8/17/2006 3:32 PM:> hello all, > > I am trying to expand my /var file system which resides on a logical > volume. I successfully issued the lvextend command. However when I try > to issue the ext2online command I receive a return code of 3 which the > man pages indicates: > > ext2online /var > ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b > ext2online: group 0, block 7 not reserved > > ext2online: unable to resize /dev/mapper/root_vg-lv_var > > echo $? > 3 > > 3 Error in pre-resizing (user space) operation > > Can someone tell me what I'm doing wrong. I would prefer doing this > online... > > thanks, > > JamesI think it would be much safer to do it offline. Online resizing only came to be in kernel 2.6.7 somewhere, and I haven't seen anything saying it was real safe yet. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
William L. Maltby
2006-Aug-18 00:28 UTC
[CentOS] extending ext3 filesystem on logical volume
On Thu, 2006-08-17 at 18:32 -0400, James Marcinek wrote:> hello all, > > I am trying to expand my /var file system which resides on a logical > volume. I successfully issued the lvextend command. However when I try > to issue the ext2online command I receive a return code of 3 which the > man pages indicates: > > ext2online /var > ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b > ext2online: group 0, block 7 not reserved > > ext2online: unable to resize /dev/mapper/root_vg-lv_var > > echo $? > 3 > > 3 Error in pre-resizing (user space) operation > > Can someone tell me what I'm doing wrong. I would prefer doing this > online...You may not be doing anything wrong. From the man page, you need to have the Online ext2 resize support (CON-FIG_EXT2_RESIZE) feature enabled in the kernel (after applying the appropriate patch for the 2.x series of kernels). *I* don't know if the kernel(s) have been compiled with this enabled? Do you know?> > thanks, > > James > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- Bill -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060817/4c213faf/attachment-0002.sig>