<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Option 1 we are doing now but trying to avoid due to software license fees, etc.</DIV>
<DIV> </DIV>
<DIV>not a vet yet with linux syntax --</DIV>
<DIV> </DIV>
<DIV>trying item 2c and subbing host0 for hostN  -- getting --</DIV>
<DIV>bash: echo: write error: invalid argument</DIV>
<DIV> </DIV>
<DIV>i'm sure its something very obvious, but not too me...</DIV>
<DIV> </DIV>
<DIV>Mike</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Rich Graves <rgraves@carleton.edu><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> linux-lvm@redhat.com<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, November 17, 2008 3:27:43 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [linux-lvm] steps to clone a volume group<BR></FONT><BR>I've had that problem too. Two workarounds. Here's what I usually do:<BR><BR>1a) Map the snapshot LUN to a *different* host than the production machine.<BR>1b) Change the UUID and VG/LV there.<BR>1c) *Then* map the LUN to the production machine.<BR><BR>Alternatively (untested):<BR><BR>2a) service haldaemon stop; service multipathd stop; service lvm2-monitor stop (not sure which of these is really necessary)<BR>2b) Map the snapshot to the production server in the SAN.<BR>2c) Manually add with echo '- - -' > /sys/class/scsi_host/hostN/scan<BR>2d) Change UUID and VG/LV.<BR>2e)
 Manually remove with echo 1 > /sys/block/sdX/device/delete<BR>2f) service haldaemon start; service multipathd start; service lvm2-monitor start<BR>-- <BR>Rich Graves <A href="http://claimid.com/rcgraves" target=_blank>http://claimid.com/rcgraves</A><BR><A href="http://carleton.edu/" target=_blank>Carleton.edu</A> Sr UNIX and Security Admin<BR>CMC135: 507-222-7079 Cell: 952-292-6529<BR><BR>_______________________________________________<BR>linux-lvm mailing list<BR><A href="mailto:linux-lvm@redhat.com" ymailto="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</A><BR><A href="https://www.redhat.com/mailman/listinfo/linux-lvm" target=_blank>https://www.redhat.com/mailman/listinfo/linux-lvm</A><BR>read the LVM HOW-TO at <A href="http://tldp.org/HOWTO/LVM-HOWTO/" target=_blank>http://tldp.org/HOWTO/LVM-HOWTO/</A><BR></DIV></DIV></div><br>

      </body></html>