public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* 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; 8+ 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] 8+ messages in thread
* RE: resizing LUN (not file system) while the file system (ext3) i sonline
@ 2006-05-26 12:24 Kearnan_Keith
  2006-06-01 13:38 ` Paul Collins
  0 siblings, 1 reply; 8+ messages in thread
From: Kearnan_Keith @ 2006-05-26 12:24 UTC (permalink / raw)
  To: paul; +Cc: lance.lmwang, linux-scsi, admitriev, sct


Perfect, thank you Paul!  

That command wasn't around in the version I initially tested, SLES9sp2:
lvm2-2.00.33-1.3.  
I see that it is in RHEL4u3: lvm2-2.02.01-1.3.RHEL4.  

Does anyone know which version of LVM it was introduced in?

Cheers,

-Keith

-----Original Message-----
From: Paul Collins [mailto:paul@briny.ondioline.org] 
Sent: Thursday, May 25, 2006 11:41 PM
To: Kearnan, Keith
Cc: lance.lmwang@gmail.com; linux-scsi@vger.kernel.org;
admitriev@mentora.com; sct@redhat.com
Subject: Re: resizing LUN (not file system) while the file system (ext3) i
sonline

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] 8+ messages in thread

end of thread, other threads:[~2006-06-01 13:43 UTC | newest]

Thread overview: 8+ 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
  -- strict thread matches above, loose matches on Subject: below --
2006-05-26 12:24 Kearnan_Keith
2006-06-01 13:38 ` Paul Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox