* RE: resizing LUN (not file system) while the file system (ext3) i sonline
@ 2006-05-25 13:11 Kearnan_Keith
2006-05-25 13:16 ` Stephen C. Tweedie
2006-05-25 14:04 ` resizing LUN (not file system) while the file system (ext3) i sonline Limin Wang
0 siblings, 2 replies; 6+ messages in thread
From: Kearnan_Keith @ 2006-05-25 13:11 UTC (permalink / raw)
To: linux-scsi; +Cc: admitriev, lance.lmwang, sct
Hi folks,
Since I am the author of the EMC knowledge base article (emc122304)
mentioned I feel I should respond to this thread.
Andrey,
You are correct. Overcautious is exactly what I was shooting for...so it
worked. Remember, complete newbies (Windows Admins that get Linux added to
their responsibility) read these knowledge base articles and then try them
out on their company's vital data.
Limin,
LVM can be done online by adding an additional PV. I've had a customer
expand their single PV "behind the scenes". Is there a way to get LVM to
recognize a resized PV? If so please share because I couldn't find a
command to do it.
Stephen,
The article is dated 11/18/2005 and states "ext3 does not support online
expansion...yet". So yes it is very out of date.
I will get to work updating emc122304. Did this behavior start in base
RHEL4 (2.6.9-5)?
Cheers,
-Keith
-----Original Message-----
From: linux-scsi-owner@vger.kernel.org
[mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Stephen C. Tweedie
Sent: Thursday, May 25, 2006 7:46 AM
To: admitriev@mentora.com
Cc: linux-scsi@vger.kernel.org; Stephen Tweedie
Subject: Re: resizing LUN (not file system) while the file system (ext3)
isonline
Hi,
On Thu, 2006-05-25 at 01:16 -0400, Andrey Dmitriev wrote:
> I understand that ext3 doesn't support online expansion (not in RedHat
ES/AS
> at least)
Yes it does, and it should work fine in RHEL-4, or FC-3 or later. Ted
just integrated the online resize user-space tools into upstream
e2fsprogs a couple of months ago, and only this week he turned on the
resize inode feature in mke2fs by default.
> However, just because the disk array can be done online that does not mean
> the application layer can handle online expansion (some file systems can
> handle online expansion, currently ext3 cannot)."
Out-of-date information. :-)
Cheers,
Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: resizing LUN (not file system) while the file system (ext3) i sonline
2006-05-25 13:11 resizing LUN (not file system) while the file system (ext3) i sonline Kearnan_Keith
@ 2006-05-25 13:16 ` Stephen C. Tweedie
2006-05-25 18:57 ` resizing LUN (not file system) while the file system (ext3) isonline Andrey Dmitriev
2006-05-25 14:04 ` resizing LUN (not file system) while the file system (ext3) i sonline Limin Wang
1 sibling, 1 reply; 6+ messages in thread
From: Stephen C. Tweedie @ 2006-05-25 13:16 UTC (permalink / raw)
To: Kearnan_Keith; +Cc: linux-scsi, admitriev, lance.lmwang, Stephen Tweedie
Hi,
On Thu, 2006-05-25 at 09:11 -0400, Kearnan_Keith@emc.com wrote:
> The article is dated 11/18/2005 and states "ext3 does not support online
> expansion...yet". So yes it is very out of date.
>
> I will get to work updating emc122304. Did this behavior start in base
> RHEL4 (2.6.9-5)?
Yes. We patched our e2fsprogs to enable "-O resize_inode" in mke2fs by
default for RHEL-4 (the option has negligible effect other than to add a
tiny amount of space for ext3 group descriptors to grow into, enabling
online resize); upstream e2fsprogs has just enabled it by default too
for the forthcoming e2fsprogs-1.39 release.
Cheers,
Stephen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: resizing LUN (not file system) while the file system (ext3) i sonline
2006-05-25 13:11 resizing LUN (not file system) while the file system (ext3) i sonline Kearnan_Keith
2006-05-25 13:16 ` Stephen C. Tweedie
@ 2006-05-25 14:04 ` Limin Wang
2006-05-25 14:17 ` Kearnan_Keith
1 sibling, 1 reply; 6+ messages in thread
From: Limin Wang @ 2006-05-25 14:04 UTC (permalink / raw)
To: Kearnan_Keith; +Cc: linux-scsi, admitriev, lance.lmwang, sct
keith,
If you PV has free space, then you can create a new partition with the
free space, pvcreate it and vgextend your volume group. Yes, you have to
resize the file system as well.
Thanks,
Limin
* Kearnan_Keith@emc.com <Kearnan_Keith@emc.com> [2006-05-25 09:11:34 -0400]:
>
> Hi folks,
>
> Since I am the author of the EMC knowledge base article (emc122304)
> mentioned I feel I should respond to this thread.
>
>
> Andrey,
>
> You are correct. Overcautious is exactly what I was shooting for...so it
> worked. Remember, complete newbies (Windows Admins that get Linux added to
> their responsibility) read these knowledge base articles and then try them
> out on their company's vital data.
>
>
> Limin,
>
> LVM can be done online by adding an additional PV. I've had a customer
> expand their single PV "behind the scenes". Is there a way to get LVM to
> recognize a resized PV? If so please share because I couldn't find a
> command to do it.
>
>
> Stephen,
>
> The article is dated 11/18/2005 and states "ext3 does not support online
> expansion...yet". So yes it is very out of date.
>
> I will get to work updating emc122304. Did this behavior start in base
> RHEL4 (2.6.9-5)?
>
>
> Cheers,
>
> -Keith
>
> -----Original Message-----
> From: linux-scsi-owner@vger.kernel.org
> [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Stephen C. Tweedie
> Sent: Thursday, May 25, 2006 7:46 AM
> To: admitriev@mentora.com
> Cc: linux-scsi@vger.kernel.org; Stephen Tweedie
> Subject: Re: resizing LUN (not file system) while the file system (ext3)
> isonline
>
> Hi,
>
> On Thu, 2006-05-25 at 01:16 -0400, Andrey Dmitriev wrote:
>
> > I understand that ext3 doesn't support online expansion (not in RedHat
> ES/AS
> > at least)
>
> Yes it does, and it should work fine in RHEL-4, or FC-3 or later. Ted
> just integrated the online resize user-space tools into upstream
> e2fsprogs a couple of months ago, and only this week he turned on the
> resize inode feature in mke2fs by default.
>
> > However, just because the disk array can be done online that does not mean
> > the application layer can handle online expansion (some file systems can
> > handle online expansion, currently ext3 cannot)."
>
> Out-of-date information. :-)
>
> Cheers,
> Stephen
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: resizing LUN (not file system) while the file system (ext3) i sonline
2006-05-25 14:04 ` resizing LUN (not file system) while the file system (ext3) i sonline Limin Wang
@ 2006-05-25 14:17 ` Kearnan_Keith
2006-05-26 3:41 ` Paul Collins
0 siblings, 1 reply; 6+ messages in thread
From: Kearnan_Keith @ 2006-05-25 14:17 UTC (permalink / raw)
To: lance.lmwang; +Cc: linux-scsi, admitriev, sct
Hi Limin,
The scenario was that there was no free space on the PV which was made
up of a singe partition /dev/sdc1. The customer used back end tools to
expand /dev/sdc1. I couldn't figure out a way to let LVM know that
/dev/sdc1 was now "bigger". In the end we simply had the customer add a
new PV (/dev/sdd1) in order to vgextend/lvextend the file system.
Regards,
Keith
-----Original Message-----
From: Limin Wang [mailto:lance.lmwang@gmail.com]
Sent: Thursday, May 25, 2006 10:05 AM
To: Kearnan, Keith
Cc: linux-scsi@vger.kernel.org; admitriev@mentora.com;
lance.lmwang@gmail.com; sct@redhat.com
Subject: Re: resizing LUN (not file system) while the file system (ext3)
i sonline
keith,
If you PV has free space, then you can create a new partition with the
free space, pvcreate it and vgextend your volume group. Yes, you have to
resize the file system as well.
Thanks,
Limin
* Kearnan_Keith@emc.com <Kearnan_Keith@emc.com> [2006-05-25 09:11:34
-0400]:
>
> Hi folks,
>
> Since I am the author of the EMC knowledge base article (emc122304)
> mentioned I feel I should respond to this thread.
>
>
> Andrey,
>
> You are correct. Overcautious is exactly what I was shooting for...so
it
> worked. Remember, complete newbies (Windows Admins that get Linux
added to
> their responsibility) read these knowledge base articles and then try
them
> out on their company's vital data.
>
>
> Limin,
>
> LVM can be done online by adding an additional PV. I've had a
customer
> expand their single PV "behind the scenes". Is there a way to get LVM
to
> recognize a resized PV? If so please share because I couldn't find a
> command to do it.
>
>
> Stephen,
>
> The article is dated 11/18/2005 and states "ext3 does not support
online
> expansion...yet". So yes it is very out of date.
>
> I will get to work updating emc122304. Did this behavior start in
base
> RHEL4 (2.6.9-5)?
>
>
> Cheers,
>
> -Keith
>
> -----Original Message-----
> From: linux-scsi-owner@vger.kernel.org
> [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Stephen C.
Tweedie
> Sent: Thursday, May 25, 2006 7:46 AM
> To: admitriev@mentora.com
> Cc: linux-scsi@vger.kernel.org; Stephen Tweedie
> Subject: Re: resizing LUN (not file system) while the file system
(ext3)
> isonline
>
> Hi,
>
> On Thu, 2006-05-25 at 01:16 -0400, Andrey Dmitriev wrote:
>
> > I understand that ext3 doesn't support online expansion (not in
RedHat
> ES/AS
> > at least)
>
> Yes it does, and it should work fine in RHEL-4, or FC-3 or later. Ted
> just integrated the online resize user-space tools into upstream
> e2fsprogs a couple of months ago, and only this week he turned on the
> resize inode feature in mke2fs by default.
>
> > However, just because the disk array can be done online that does
not mean
> > the application layer can handle online expansion (some file systems
can
> > handle online expansion, currently ext3 cannot)."
>
> Out-of-date information. :-)
>
> Cheers,
> Stephen
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi"
in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: resizing LUN (not file system) while the file system (ext3) isonline
2006-05-25 13:16 ` Stephen C. Tweedie
@ 2006-05-25 18:57 ` Andrey Dmitriev
0 siblings, 0 replies; 6+ messages in thread
From: Andrey Dmitriev @ 2006-05-25 18:57 UTC (permalink / raw)
To: 'Stephen C. Tweedie', Kearnan_Keith; +Cc: linux-scsi, lance.lmwang
So,
Should online resizing of the file system work out of the box?
Should online resizing of the LUN work out of the box?
When will the new e2fsprogs 'officially' officially be out?
I am a bit confused.
[root@bop-prod-db1 ~]# uname -a
Linux bop-prod-db1 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:02 EDT 2005
x86_64 x86_64 x86_64 GNU/Linux
[root@bop-prod-db1 ~]# rpm -qa|grep 2fs
e2fsprogs-1.35-12.3.EL4
e2fsprogs-devel-1.35-12.3.EL4
e2fsprogs-1.35-12.3.EL4
Thanks ,
-Andrey
-----Original Message-----
From: Stephen C. Tweedie [mailto:sct@redhat.com]
Sent: Thursday, May 25, 2006 9:17 AM
To: Kearnan_Keith@emc.com
Cc: linux-scsi@vger.kernel.org; admitriev@mentora.com;
lance.lmwang@gmail.com; Stephen Tweedie
Subject: RE: resizing LUN (not file system) while the file system (ext3)
isonline
Hi,
On Thu, 2006-05-25 at 09:11 -0400, Kearnan_Keith@emc.com wrote:
> The article is dated 11/18/2005 and states "ext3 does not support online
> expansion...yet". So yes it is very out of date.
>
> I will get to work updating emc122304. Did this behavior start in base
> RHEL4 (2.6.9-5)?
Yes. We patched our e2fsprogs to enable "-O resize_inode" in mke2fs by
default for RHEL-4 (the option has negligible effect other than to add a
tiny amount of space for ext3 group descriptors to grow into, enabling
online resize); upstream e2fsprogs has just enabled it by default too
for the forthcoming e2fsprogs-1.39 release.
Cheers,
Stephen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: resizing LUN (not file system) while the file system (ext3) i sonline
2006-05-25 14:17 ` Kearnan_Keith
@ 2006-05-26 3:41 ` Paul Collins
0 siblings, 0 replies; 6+ messages in thread
From: Paul Collins @ 2006-05-26 3:41 UTC (permalink / raw)
To: Kearnan_Keith; +Cc: lance.lmwang, linux-scsi, admitriev, sct
Kearnan_Keith@emc.com writes:
> The scenario was that there was no free space on the PV which was made
> up of a singe partition /dev/sdc1. The customer used back end tools to
> expand /dev/sdc1. I couldn't figure out a way to let LVM know that
> /dev/sdc1 was now "bigger". In the end we simply had the customer add a
> new PV (/dev/sdd1) in order to vgextend/lvextend the file system.
It looks like like LVM2's pvresize command should be able to do this.
--
Paul Collins
Melbourne, Australia
Dag vijandelijk luchtschip de huismeester is dood
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-05-26 3:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 13:11 resizing LUN (not file system) while the file system (ext3) i sonline Kearnan_Keith
2006-05-25 13:16 ` Stephen C. Tweedie
2006-05-25 18:57 ` resizing LUN (not file system) while the file system (ext3) isonline Andrey Dmitriev
2006-05-25 14:04 ` resizing LUN (not file system) while the file system (ext3) i sonline Limin Wang
2006-05-25 14:17 ` Kearnan_Keith
2006-05-26 3:41 ` Paul Collins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox