linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] how to change the volume group name of the attached backup
@ 2010-03-18 14:43 Sarkar, Kaushik
  2010-03-18 14:56 ` Mike Snitzer
  2010-03-18 15:15 ` Andreas Olsowski
  0 siblings, 2 replies; 6+ messages in thread
From: Sarkar, Kaushik @ 2010-03-18 14:43 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

Hi,

 

I have a 2 Linux(RHL) machines (L1 and L2).  One is clone of other. I
have taken the backup of a L1. Now I have attached that backup to L2.

 

Before attaching L2 has /dev/sda and after attatchement it has /dev/sdb

But I cant mount /dev/sdb as it is on LVM. As both are having same VG
NAME I can't even mount logical volume.

So I thought to change the volume group name of the second but not able
to do that.

 

My intention is to mount the backup of L1 in L2 to check all data are
correct.

 

Need your help to solve it.

 

Thanks in advance.

-kaushik

 


[-- Attachment #2: Type: text/html, Size: 3164 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [linux-lvm] how to change the volume group name of the attached backup
@ 2010-04-01 10:05 Sarkar, Kaushik
  0 siblings, 0 replies; 6+ messages in thread
From: Sarkar, Kaushik @ 2010-04-01 10:05 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

Thanks Mike and Chris 

Vgimport solve everything. It reduces 1250 lines of code to just 400
lines approx.

 

-thanks Kaushik


[-- Attachment #2: Type: text/html, Size: 4912 bytes --]

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

end of thread, other threads:[~2010-04-01 10:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 14:43 [linux-lvm] how to change the volume group name of the attached backup Sarkar, Kaushik
2010-03-18 14:56 ` Mike Snitzer
2010-03-18 20:57   ` chris procter
2010-03-18 15:15 ` Andreas Olsowski
2010-03-18 15:32   ` Mike Snitzer
  -- strict thread matches above, loose matches on Subject: below --
2010-04-01 10:05 Sarkar, Kaushik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).