<?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: Help !!!!  with LVM problems .... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010533#M710340</link>
    <description>Hi Eran,&lt;BR /&gt;&lt;BR /&gt;You need to use the vgimport command to make the VG visible on the host. You have to create the directory first of course:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000   &lt;BR /&gt;&lt;BR /&gt;Note the minor number here is the default numbering, if you don't have any other VGs you should be fine. Just make sure it is unique.&lt;BR /&gt;&lt;BR /&gt;The vgimport command is fairly straightforward, more so if your lvols are just the standard names like lvol1 etc. If they are custom names you will need to create a mapfile from the live host:&lt;BR /&gt;&lt;BR /&gt;# vgexport -m /var/tmp/vg01.map -p vg01&lt;BR /&gt;&lt;BR /&gt;Then just ftp the file to the other server and import it:&lt;BR /&gt;&lt;BR /&gt;# vgimport -m /var/tmp/vg01.map vg01 &lt;DSK_DEVICES&gt;&lt;BR /&gt;&lt;BR /&gt;Your disk devices in the VG should ALL be listed. &lt;BR /&gt;&lt;BR /&gt;To be safe it is worth deactivating the VG on the live host, although I assume it is as you are trying to activate it on the other.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.&lt;/DSK_DEVICES&gt;</description>
    <pubDate>Sat, 28 Jun 2003 20:15:19 GMT</pubDate>
    <dc:creator>James Murtagh</dc:creator>
    <dc:date>2003-06-28T20:15:19Z</dc:date>
    <item>
      <title>Help !!!!  with LVM problems ....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010532#M710339</link>
      <description>Hello ,&lt;BR /&gt;I have a cluster with 2 nodes ,&lt;BR /&gt;with 3 vg's .&lt;BR /&gt;i cant activate vg01,vg02 on one server because it doesnt exist in /etc/lvmtab .&lt;BR /&gt;&lt;BR /&gt;what should i do so the the server will "see" the vg's ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Eran .</description>
      <pubDate>Sat, 28 Jun 2003 20:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010532#M710339</guid>
      <dc:creator>Chapaya</dc:creator>
      <dc:date>2003-06-28T20:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help !!!!  with LVM problems ....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010533#M710340</link>
      <description>Hi Eran,&lt;BR /&gt;&lt;BR /&gt;You need to use the vgimport command to make the VG visible on the host. You have to create the directory first of course:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000   &lt;BR /&gt;&lt;BR /&gt;Note the minor number here is the default numbering, if you don't have any other VGs you should be fine. Just make sure it is unique.&lt;BR /&gt;&lt;BR /&gt;The vgimport command is fairly straightforward, more so if your lvols are just the standard names like lvol1 etc. If they are custom names you will need to create a mapfile from the live host:&lt;BR /&gt;&lt;BR /&gt;# vgexport -m /var/tmp/vg01.map -p vg01&lt;BR /&gt;&lt;BR /&gt;Then just ftp the file to the other server and import it:&lt;BR /&gt;&lt;BR /&gt;# vgimport -m /var/tmp/vg01.map vg01 &lt;DSK_DEVICES&gt;&lt;BR /&gt;&lt;BR /&gt;Your disk devices in the VG should ALL be listed. &lt;BR /&gt;&lt;BR /&gt;To be safe it is worth deactivating the VG on the live host, although I assume it is as you are trying to activate it on the other.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.&lt;/DSK_DEVICES&gt;</description>
      <pubDate>Sat, 28 Jun 2003 20:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010533#M710340</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-06-28T20:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help !!!!  with LVM problems ....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010534#M710341</link>
      <description>Hi Eran,&lt;BR /&gt;&lt;BR /&gt;James gave you the procedure. There are couple of things I would like to add.&lt;BR /&gt;&lt;BR /&gt;1. Do an ll /dev/*/group on the server where the VGs are good. Use the same minor numbers on the failover server. For ex., if /dev/vg01/group has the minor number 0x010000, then use the same on the other node. &lt;BR /&gt;&lt;BR /&gt;2. You can use "-s" option to create the map files. This will automatically scan the disks and import the volume groups. On the primary server do.&lt;BR /&gt;&lt;BR /&gt;#vgexport -p -v -s -m /tmp/vg01.s.map vg01&lt;BR /&gt;&lt;BR /&gt;Copy the above map file to the secondary server where vg01 is missing.&lt;BR /&gt;&lt;BR /&gt;Then on the secondary server do&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 -s /tmp/vg01.s.map vg01&lt;BR /&gt;&lt;BR /&gt;This should get your vg01. Repeat the same for vg02. Do not activate the VGs (vgchange -a y). It will be taken care by the Serviceguard when the package fails over.&lt;BR /&gt;&lt;BR /&gt;Once this is done, you should be able to "see" the vgs.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 28 Jun 2003 21:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010534#M710341</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-28T21:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help !!!!  with LVM problems ....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010535#M710342</link>
      <description>(* Everything listed below should produce identical results in the live node. *)&lt;BR /&gt;&lt;BR /&gt;Little concerned about the sudden loss.  So verify the existence in /etc/lvmconf where they should also exist.&lt;BR /&gt;&lt;BR /&gt;A1)  Check the disks using 'vgcfgrestore':&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -f /dev/lvmconf/vg01.conf -l&lt;BR /&gt;vgcfgrestore -f /dev/lvmconf/vg01.conf -l&lt;BR /&gt;&lt;BR /&gt;A2)  You can see these disks via 'ioscan'?&lt;BR /&gt;&lt;BR /&gt;ioscan -fnkC disk&lt;BR /&gt;&lt;BR /&gt;A3)  And the HBA's are intact? (* fiber channel adapters *)&lt;BR /&gt;&lt;BR /&gt;ioscan -fnkC fc&lt;BR /&gt;&lt;BR /&gt;fcmsutil /dev/td0&lt;BR /&gt;fcmsutil /dev/td1&lt;BR /&gt;fcmsutil /dev/td2&lt;BR /&gt;&lt;BR /&gt;A4)  In all reports of 'fcmsutil' the state = ready?  And the topology is correct?  (* point to point, AC-FL, for example *)&lt;BR /&gt;&lt;BR /&gt;B)  Note Sridhar's procedure to reconstruct these vg.s.&lt;BR /&gt;&lt;BR /&gt;C)  The vgs, lvs and fs' are listed in the package.cntl file.  Are they there?&lt;BR /&gt;&lt;BR /&gt;vi /etc/cmcluster/package/package.cntl&lt;BR /&gt;&lt;BR /&gt;D)  Use 'cmcheckconf' to verify the package.&lt;BR /&gt;&lt;BR /&gt;cmcheckconf -P /etc/cmcluster/package/package.conf (* Note:  Use the package.conf file *)&lt;BR /&gt;&lt;BR /&gt;E)  Now is not the time to failover.&lt;BR /&gt;&lt;BR /&gt;cmviewcl -v&lt;BR /&gt;(* Both nodes report OK? *)&lt;BR /&gt;&lt;BR /&gt;cmscancl -f /tmp/file&lt;BR /&gt;vi /tmp/file&lt;BR /&gt;&lt;BR /&gt;(* Check this file carefully and attach any questions *)&lt;BR /&gt;&lt;BR /&gt;cmmodpkg -e -n node package (* enable node2 for failover *)</description>
      <pubDate>Sun, 29 Jun 2003 00:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010535#M710342</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-06-29T00:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help !!!!  with LVM problems ....</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010536#M710343</link>
      <description>&lt;BR /&gt;I can "see" the vg's !!!&lt;BR /&gt;&lt;BR /&gt;Thanks you all for your help  ,&lt;BR /&gt;and to Michael for giving extra advices , keep on !!!&lt;BR /&gt;&lt;BR /&gt;Best Rergards,&lt;BR /&gt;Eran .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Jun 2003 06:43:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-lvm-problems/m-p/3010536#M710343</guid>
      <dc:creator>Chapaya</dc:creator>
      <dc:date>2003-06-29T06:43:33Z</dc:date>
    </item>
  </channel>
</rss>

