RE: LVM extension into new space and partition edits

2009-08-25 Thread Bob Elzer
-boun...@lists.plug.phoenix.az.us] On Behalf Of Alan Dayley Sent: Monday, August 24, 2009 7:33 PM To: Main PLUG discussion list Subject: Re: LVM extension into new space and partition edits On Mon, Aug 24, 2009 at 6:55 PM, Lisa Kachold wrote: > Yes, test it on one of the mirrors (don't believe these guys! [laugh]).

Re: LVM extension into new space and partition edits

2009-08-24 Thread Alan Dayley
On Mon, Aug 24, 2009 at 6:55 PM, Lisa Kachold wrote: > Yes, test it on one of the mirrors (don't believe these guys! [laugh])... > > But of course mirroring a 250 yields another 250? > > Course you should just be able to add one TB at a time via the > hardware RAID tools: > > http://www.thegeekstuf

Re: LVM extension into new space and partition edits

2009-08-24 Thread Michael Butash
Doh, sorry Matt - you know I didn't even see anything down below where you quoted, my bad. Yeah, I read that you can pvresize (what I'd meant to say), but I was seeing some questionable result via some mail threads. I haven't done it myself to experience success or failure, as I don't typically h

Re: LVM extension into new space and partition edits

2009-08-24 Thread Lisa Kachold
On Mon, Aug 24, 2009 at 6:07 PM, Michael Butash wrote: >> >> Or just fdisk the thing, expand the last partition and reboot.  No >> need to make things more complex than necessary. > > That's the thing, I don't think that'll work.  The PV and subsequent VG and > LVM's expect a certain format (I sho

Re: LVM extension into new space and partition edits

2009-08-24 Thread Matt Graham
From: Michael Butash >> Or just fdisk the thing, expand the last partition and reboot. No >> need to make things more complex than necessary. > That's the thing, I don't think that'll work. Which is why I wrote (in the part you failed to quote): --- Use fdisk to make it larger, reboot, the

Re: LVM extension into new space and partition edits

2009-08-24 Thread Michael Butash
> > Or just fdisk the thing, expand the last partition and reboot. No > need to make things more complex than necessary. That's the thing, I don't think that'll work. The PV and subsequent VG and LVM's expect a certain format (I should think) to the blocks of data it will be occupying data on

Re: LVM extension into new space and partition edits

2009-08-24 Thread Matt Graham
> On Mon, 2009-08-24 at 16:49 -0700, Alan Dayley wrote: >> Now the partition table of the mirrored 1TB drives still only has >> partitions to use up to the old 250GBs. >> # fdisk -l >> Disk /dev/sda: 248.9 GB >> Am I on the right track, to use "parted" and expand the partition >> definition before

Re: LVM extension into new space and partition edits

2009-08-24 Thread Eric Shubert
Alan Dayley wrote: > I have lost the web page with the steps to do an extension of an LVM > into unused disk space. Let me explain my situation and ask my > question. > > I have a server with Red Hat Enterprise Linux 5. It had two 250GB > hard drives in a hardware RAID 1 mirror. Working fine.

Re: LVM extension into new space and partition edits

2009-08-24 Thread Michael Butash
I don't think you want to resize your pv partition, I'm not sure you can resize it logically. I have never had to try at least. I'd recommend making another partition slice, marking at 8e LVM type, add as a new pv with pvcreate, add new pv to your existing vg with vgextend, do lvextend to grow in

LVM extension into new space and partition edits

2009-08-24 Thread Alan Dayley
I have lost the web page with the steps to do an extension of an LVM into unused disk space. Let me explain my situation and ask my question. I have a server with Red Hat Enterprise Linux 5. It had two 250GB hard drives in a hardware RAID 1 mirror. Working fine. We needed more space, so here i