From: Andreas Dilger <adilger@turbolabs.com>
To: "Jonathan S. Polacheck" <JPolache@texasmutual.com>
Cc: linux-lvm@sistina.com
Subject: Re: [linux-lvm] ext2online fails
Date: Thu Nov 29 10:51:01 2001 [thread overview]
Message-ID: <20011129095307.F29249@lynx.no> (raw)
In-Reply-To: <OFF0F6A876.96B3BE16-ON86256B13.005A4F63@TEXASMUTUAL.COM>; from JPolache@texasmutual.com on Thu, Nov 29, 2001 at 10:32:48AM -0600
On Nov 29, 2001 10:32 -0600, Jonathan S. Polacheck wrote:
> I am trying to resize a filesystem after lvextend. ext2online returns the
> following;
>
> [root@netman root]# ext2online /dev/vg1/vol_usr
> ext2online v1.1.14 - 1999/10/14 for EXT2FS 0.5b
>
> ext2online: resizing to 258048 blocks
> ext2online: resize failed while in kernel
> ext2online: Invalid argument
>
> The ext2online man page states;
>
> In order to use ext2online, you need to have the Online ext2 resize
> support (CONFIG_EXT2_RESIZE) compiled into the kernel (this is an
> optional patch for the 2.x series of kernels).
>
> How do I tell if my kernel is properly compiled? If it is not properly
> compiled, I have a problem as I currently do not have the disk space to
> install gcc, make or the kernel source.
Unless you patched it yourself, I don't know of any kernels that include
this patch by default. Finally with 2.5 here, it will go into the main
kernel.
If you need to resize your filesystem, you need to unmount it (go into
single user mode from a console window (not X!) with "telinit 1", which
will stop most of the programs running on the system). Then run
"ext2resize /dev/vg1/vol_usr" which will detect the size of the LV and
resize the filesystem to fill it.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
next prev parent reply other threads:[~2001-11-29 10:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-29 10:32 [linux-lvm] ext2online fails Jonathan S. Polacheck
2001-11-29 10:51 ` Andreas Dilger [this message]
2001-12-06 2:48 ` Urs Thuermann
2001-12-12 15:28 ` Andreas Dilger
2001-12-13 10:18 ` Paul Jakma
2001-12-13 13:00 ` Andreas Dilger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011129095307.F29249@lynx.no \
--to=adilger@turbolabs.com \
--cc=JPolache@texasmutual.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.