Moving LVM volume group to another system

2011-12-21 Thread Mark Pace
I've had a disk failure on my linux root filesystem, please don't ask how that happened, and now need to move an LVM file system to another Linux guest. I've added all the disk to the guest, put them all online and doing a pvscan I see that they are all there. What I can't figure out is how to

Re: Moving LVM volume group to another system

2011-12-21 Thread Jonathan Quay
Did you do a vgscan? On Wed, Dec 21, 2011 at 9:33 AM, Mark Pace pacemainl...@gmail.com wrote: I've had a disk failure on my linux root filesystem, please don't ask how that happened, and now need to move an LVM file system to another Linux guest. I've added all the disk to the guest, put

Re: Moving LVM volume group to another system

2011-12-21 Thread Mark Pace
Yes. sles003:/srv/ftp # vgscan Reading all physical volumes. This may take a while... Found volume group vg1 using metadata type lvm2 On Wed, Dec 21, 2011 at 9:42 AM, Jonathan Quay jonathan.q...@ihg.comwrote: Did you do a vgscan? On Wed, Dec 21, 2011 at 9:33 AM, Mark Pace

Re: Moving LVM volume group to another system

2011-12-21 Thread Jonathan Quay
Can you see the /dev/mapper structures now? Mount 'em up. * * On Wed, Dec 21, 2011 at 9:50 AM, Mark Pace pacemainl...@gmail.com wrote: Yes. sles003:/srv/ftp # vgscan Reading all physical volumes. This may take a while... Found volume group vg1 using metadata type lvm2 On Wed, Dec

Re: Moving LVM volume group to another system

2011-12-21 Thread Mark Pace
That didn't seem to help. But I did do an lvscan which showed that the lv was inactive. So I did an lvchange -ay and that did create the devices so that I could mount the system. Thanks very much On Wed, Dec 21, 2011 at 10:03 AM, Jonathan Quay jonathan.q...@ihg.comwrote: Can you see the

Re: Moving LVM volume group to another system

2011-12-21 Thread Mark Post
On 12/21/2011 at 10:10 AM, Mark Pace pacemainl...@gmail.com wrote: That didn't seem to help. But I did do an lvscan which showed that the lv was inactive. So I did an lvchange -ay and that did create the devices so that I could mount the system. The command you're looking for is vgchange

Re: Moving LVM volume group to another system

2011-12-21 Thread Mark Pace
Thanks, I hope to never need it again. But as the last 2 days have shown. You never know! On Wed, Dec 21, 2011 at 1:13 PM, Mark Post mp...@novell.com wrote: On 12/21/2011 at 10:10 AM, Mark Pace pacemainl...@gmail.com wrote: That didn't seem to help. But I did do an lvscan which