All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Renaming Loopback 'Mounted' Volume Group
@ 2007-11-23 21:35 Tod
  2007-11-26  8:28 ` Bryn M. Reeves
  0 siblings, 1 reply; 3+ messages in thread
From: Tod @ 2007-11-23 21:35 UTC (permalink / raw)
  To: linux-lvm

Please take a look at this old thread first ...

http://linux.derkeiler.com/Mailing-Lists/Fedora/2007-02/msg02237.html


This was back in February and I'm just now trying to get back into 
recovery mode.  I've mounted the image like so:

/sbin/losetup /dev/loop0 ./recover.img
/sbin/kpartx -lv /dev/loop0
/sbin/kpartx -av /dev/loop0

This gives me /dev/mapper/loop0p1, and /dev/mapper/loop0p2 which seem to 
  be my original boot drive and VolGroup00.  When I do an lvscan I get:

WARNING: Duplicate VG name VolGroup00: Existing 
Vmi02d-0hr7-7NVb-vYZi-1fbD-E9n5-ixWu0a (created here) takes precedence 
over D7avZX-pVCb-ibTN-tyvs-7Q62-rzR9-tquBi9

Presumably the latter is the UUID of the volume group on my disk image.

Is there a way that I can now rename this original volume group so it 
doesn't conflict with my currently mounted one so I can start the data 
recovery process?  I tried vgrename, which I thought could use UUID's as 
input, but that didn't work.  Any ideas?


FC6
lvm2-2.02.17-1.fc6


Thanks - Tod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-27  2:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 21:35 [linux-lvm] Renaming Loopback 'Mounted' Volume Group Tod
2007-11-26  8:28 ` Bryn M. Reeves
2007-11-27  2:58   ` Tod

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.