<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disk replication and lvm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051924#M304640</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;export/import would get the logical volumes across to the replicated system.&lt;BR /&gt;&lt;BR /&gt;It would not make the replicated system bootable.&lt;BR /&gt;&lt;BR /&gt;That is what Ignite is for.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/IUX/" target="_blank"&gt;http://docs.hp.com/en/IUX/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You could also use dd on the entire boot disk,  this might leave you with a system that could be modified to become bootable.&lt;BR /&gt;&lt;BR /&gt;Not all systems however will boot off a SAN disk.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 08 Aug 2007 11:28:12 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-08-08T11:28:12Z</dc:date>
    <item>
      <title>Disk replication and lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051920#M304636</link>
      <description>I've got identical setups in two separate data centers. An rp7420 running HPUX 11.23 and a Falconstor IPStor.&lt;BR /&gt;&lt;BR /&gt;I've successfully replicated some luns (or San resources in Falconstor's terminology) between the rp7420's. My problem is I'm at a loss as to how to get the volume group and logical volume information built on the replicated system.&lt;BR /&gt;&lt;BR /&gt;I considered vgexport/vgimport but the scsi device files are different on each server.&lt;BR /&gt;c24t0d0 on the source and c18d0t0 on the destination for example.&lt;BR /&gt;&lt;BR /&gt;Can I just use vgimport/vgexport?  I do this frequently on my service guard clusters but I'm wondering about which switches to use.  Normally I'll use -s -v -m -p.  Do I drop the -s?&lt;BR /&gt;&lt;BR /&gt;Also do I have to detail all the volume groups on the vgimport command?&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;vgimport -v -s -m /tmp/vg01.map /dev/vg01 /dev/dsk/c18t0d0 \&lt;BR /&gt;/dev/dsk/c18t0d1 \&lt;BR /&gt;/dev/dsk/c18t0d2 \&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2007 09:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051920#M304636</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2007-08-08T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replication and lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051921#M304637</link>
      <description>You are on the right track. Duplicating the LUN's copies everything including the LVM meta-data so you actually have everything that you need. You don't need to run pvcreate's, vgcreate's, etc. The one "gotcha" is if you are ever going to activate the original and copied LUN's on the same host then you should run vgchgid on all the LUN's of the copy. Run one vgchgid command and list all the copy LUN's; this will assign a new VGID so that nobody gets hurt if both are activated on the same box.&lt;BR /&gt;&lt;BR /&gt;If you are using standard LVOL names (lvol1, lvol2, ...) then you don't need a map file otherwise on the original machine:&lt;BR /&gt;&lt;BR /&gt;vgexport -p -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;and copy /tmp/vg01.map to the target machine.&lt;BR /&gt;Without the -s option, only the LVOL's will be listed.&lt;BR /&gt;&lt;BR /&gt;On the target machine:&lt;BR /&gt;Do an ls -l /dev/vg*/group and note the minor device numbers. The only requirement is that your new VG uses a unique minor device number. By convention, vg01 uses 0x010000, vg02 uses 0x020000, and so on but that is just convention.&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg01&lt;BR /&gt;mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;vgimport -v  -m /tmp/vg01.map /dev/vg01 /dev/dsk/c18t0d0 \&lt;BR /&gt;/dev/dsk/c18t0d1 \&lt;BR /&gt;/dev/dsk/c18t0d2 &lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;vgcfgbackup /dev/vg01</description>
      <pubDate>Wed, 08 Aug 2007 09:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051921#M304637</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-08T09:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replication and lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051922#M304638</link>
      <description>I agree with Clay, But I will add one more option on the vgexport.&lt;BR /&gt;vgexport -s -p -m mymapfile /dev/vg01&lt;BR /&gt;The -s option will allow you to import the disks to the volume group without the need to supply didk information.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Wed, 08 Aug 2007 10:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051922#M304638</guid>
      <dc:creator>Juan M Leon</dc:creator>
      <dc:date>2007-08-08T10:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replication and lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051923#M304639</link>
      <description>No, no, no! You do not want the -s option because that will search all the visible LUN's/disks trying to match the VGID's on all the LUN's --- the originals and the copies. You could fix this by running vgchgid on the copied LUN's but in order to do this, you would need to know the pathnames to the copied LUN's but if you know the pathnames you don't need to use -s. -s is really intended for the case where you don't know the pathnames of the LUN's/disks that comprise a volume group.</description>
      <pubDate>Wed, 08 Aug 2007 10:47:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051923#M304639</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-08T10:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disk replication and lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051924#M304640</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;export/import would get the logical volumes across to the replicated system.&lt;BR /&gt;&lt;BR /&gt;It would not make the replicated system bootable.&lt;BR /&gt;&lt;BR /&gt;That is what Ignite is for.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/IUX/" target="_blank"&gt;http://docs.hp.com/en/IUX/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You could also use dd on the entire boot disk,  this might leave you with a system that could be modified to become bootable.&lt;BR /&gt;&lt;BR /&gt;Not all systems however will boot off a SAN disk.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 08 Aug 2007 11:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-replication-and-lvm/m-p/4051924#M304640</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-08T11:28:12Z</dc:date>
    </item>
  </channel>
</rss>

