<?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 VGID problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582523#M623368</link>
    <description>Alex, &lt;BR /&gt;you can try doing the vgexport -p -v -s -m &lt;BR /&gt;and create the map file check the vgid in the map file created. since you are using the -p option the volumegroup will not be exported in reality.&lt;BR /&gt;&lt;BR /&gt;This will ascertain the vgid for the volumeroup.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;DP</description>
    <pubDate>Fri, 15 Jul 2005 08:25:13 GMT</pubDate>
    <dc:creator>Devesh Pant_1</dc:creator>
    <dc:date>2005-07-15T08:25:13Z</dc:date>
    <item>
      <title>Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582514#M623359</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a strange problem with VGID.&lt;BR /&gt;&lt;BR /&gt;I'll strat from the begining. I asked storage team to assign couple of luns to my server. After they did it, I created a VG and checked VGID on the disks. I used "echo &lt;OFFSET&gt; | adb /dev/dsk/cXtXdX". It showed the right VGID, the one I see in "vgexport -s -p". &lt;BR /&gt;&lt;BR /&gt;The disks are connected with two channels, but I saw only one. So I run "symcfg discover", after this "ioscan -f" and then "insf -Cdisk" and I saw that new devices were found. So, decided to check the VGID on the new devices, it should be the same, because physically it's the same device. It showed the right VGID. BUT, when I checked the VGID on the first device files, then ones I created the VG, I saw 0.&lt;BR /&gt;&lt;BR /&gt;For some reason, "symcfg disco" erased the VGID of those devices from kernel? Is it some kind of bug or am I missing something?&lt;BR /&gt;&lt;BR /&gt;I know that my explanation is a bit unclear, so here's a picture.&lt;/OFFSET&gt;</description>
      <pubDate>Thu, 14 Jul 2005 04:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582514#M623359</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-07-14T04:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582515#M623360</link>
      <description>Does vgdisplay show the alternate links of the new and old devices?</description>
      <pubDate>Thu, 14 Jul 2005 04:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582515#M623360</guid>
      <dc:creator>Michael Denney</dc:creator>
      <dc:date>2005-07-14T04:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582516#M623361</link>
      <description>Yes. There is no problem in VG functionality.</description>
      <pubDate>Thu, 14 Jul 2005 04:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582516#M623361</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-07-14T04:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582517#M623362</link>
      <description>Hi Alex,&lt;BR /&gt;Do you use any Multipath utilities like EMC powerpath? Do you have any BCVs attached for this device?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sathish</description>
      <pubDate>Thu, 14 Jul 2005 22:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582517#M623362</guid>
      <dc:creator>sathish kannan</dc:creator>
      <dc:date>2005-07-14T22:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582518#M623363</link>
      <description>Yep, there is powerpath, no BCV.</description>
      <pubDate>Fri, 15 Jul 2005 00:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582518#M623363</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-07-15T00:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582519#M623364</link>
      <description>Perhaps, accessing the second path just returns zero because the I/O didn't work.&lt;BR /&gt;&lt;BR /&gt;Did you try a diskinfo on both paths.  Typically I see the disk size reported as zero if the path isn't working quite right.&lt;BR /&gt;&lt;BR /&gt;Use powermt display dev=all to see if powerpath can access all the device paths.</description>
      <pubDate>Fri, 15 Jul 2005 06:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582519#M623364</guid>
      <dc:creator>Bill Costigan</dc:creator>
      <dc:date>2005-07-15T06:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582520#M623365</link>
      <description>Hi Alex,&lt;BR /&gt;&lt;BR /&gt;I agee with Bill. It could  be due to an error in accessing disk through one path. Can you check the available path's by "powermt display dev=all" and "diskinfo -v"  on the device file showing VGID=0?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 15 Jul 2005 07:05:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582520#M623365</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-07-15T07:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582521#M623366</link>
      <description>Everything seems to be fine. No dead channels, no IO errors. There is a case opened in HP about this, but no solution found yet ...</description>
      <pubDate>Fri, 15 Jul 2005 07:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582521#M623366</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-07-15T07:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582522#M623367</link>
      <description>What do you see with diskinfo -v</description>
      <pubDate>Fri, 15 Jul 2005 07:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582522#M623367</guid>
      <dc:creator>Bill Costigan</dc:creator>
      <dc:date>2005-07-15T07:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582523#M623368</link>
      <description>Alex, &lt;BR /&gt;you can try doing the vgexport -p -v -s -m &lt;BR /&gt;and create the map file check the vgid in the map file created. since you are using the -p option the volumegroup will not be exported in reality.&lt;BR /&gt;&lt;BR /&gt;This will ascertain the vgid for the volumeroup.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;DP</description>
      <pubDate>Fri, 15 Jul 2005 08:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582523#M623368</guid>
      <dc:creator>Devesh Pant_1</dc:creator>
      <dc:date>2005-07-15T08:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582524#M623369</link>
      <description>I'm guessing here, but run the INQ and find the matching devices for the same SERNUM-id.  [you can get the INQ command from another machine or somewhere, nice to have.]&lt;BR /&gt;&lt;BR /&gt;The SER NUM field, I think it's the 2nd to last column on the output).&lt;BR /&gt;&lt;BR /&gt;    # inq &amp;gt; inq.out&lt;BR /&gt;    # #comment:  so find you 1st device's SER_NUM&lt;BR /&gt;    $ grep &lt;MY_SER_NUM&gt; inq.out&lt;BR /&gt;&lt;BR /&gt;So, each device /dev/rdsk/c#t#d## that has the same SER_NUM are pointing to the same area in the symmetrix.&lt;BR /&gt;&lt;BR /&gt;you should find maybe more then one device here, they point to the same disk!&lt;BR /&gt;&lt;BR /&gt;the VGID should be the same but only after you do the pvcreate, and then the lvextend on the alternate-link devices. (I think).&lt;BR /&gt;&lt;BR /&gt;Did you do the lvextend follow'ed by the dump of the VGID using adb ?&lt;BR /&gt;&lt;BR /&gt;Did you do the following..&lt;BR /&gt;so, run the pvcreate ONLY on one of them, and then run lvextend on the other alternate-link devices.&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;the vgdisplay -v should show the Alternate Links, for example, there are 3 alternate links here below for c28t11d6.&lt;BR /&gt;(note: only one pvcreate for c28t11d6, but (three command runs of) vgextend with the 3 Alternate Link devices):&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/dsk/c28t11d6&lt;BR /&gt;  PV Name                     /dev/dsk/c29t11d6        Alternate Link&lt;BR /&gt;  PV Name                     /dev/dsk/c30t7d4 Alternate Link&lt;BR /&gt;  PV Name                     /dev/dsk/c31t7d4 Alternate Link&lt;BR /&gt;&lt;BR /&gt;&lt;/MY_SER_NUM&gt;</description>
      <pubDate>Mon, 18 Jul 2005 17:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582524#M623369</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-07-18T17:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582525#M623370</link>
      <description>Hi alex&lt;BR /&gt;&lt;BR /&gt;try this on a test server first...&lt;BR /&gt;&lt;BR /&gt;1.  dd if=/dev/rdsk/primary_disk_id of=/tmp/root.disk bs=8k skip=1 \&lt;BR /&gt;    count=1&lt;BR /&gt;2.  dd if=/dev/rdsk/mirror_disk_id of=/tmp/root.mirror bs=8k skip=1 \&lt;BR /&gt;    count=1&lt;BR /&gt;&lt;BR /&gt;The above two commands with dump the header information which contains the VGID information.&lt;BR /&gt;&lt;BR /&gt;3.  od -Ax -tx /tmp/root.disk&lt;BR /&gt;4.  od -Ax -tx /tmp/root.mirror&lt;BR /&gt;&lt;BR /&gt;This will dump to contents of the data files in hexadecimal format output.&lt;BR /&gt;&lt;BR /&gt;The output file will look some similar to this:&lt;BR /&gt;&lt;BR /&gt;0000000         4c564d52        45433031        77d93e3c        3b713c28&lt;BR /&gt;0000010         77d93e3c        3b713c29          1fc74b               0&lt;BR /&gt;0000020              170             860              a6               a&lt;BR /&gt;0000030              860             918               8             910&lt;BR /&gt;0000040              9c8          1fb000             b60              16&lt;BR /&gt;0000050             1000             beb          1fbb60              fd&lt;BR /&gt;0000060                0              10              80               2&lt;BR /&gt;0000070               80              88               6              82&lt;BR /&gt;0000080               8a               0               0               0&lt;BR /&gt;0000090                0               0               0               0&lt;BR /&gt;*&lt;BR /&gt;0000400         44454645        43543031               0               0&lt;BR /&gt;0000410                0               0               0               0&lt;BR /&gt;*&lt;BR /&gt;0002000&lt;BR /&gt;&lt;BR /&gt;In the example above, the VGID will be comprised of lines '0000000' or '0000010'.  The last two fields of line '0000000' or the 1st two fields of line '0000010'.  In the above example, the VGID for the primary disk should be:&lt;BR /&gt;&lt;BR /&gt;77d93e3c3b713c28&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;77d93e3c3b713c29&lt;BR /&gt;&lt;BR /&gt;Repeat above steps if more than one mirror exists for the existing vg that is currently having the issues.  Match the outputs of the 'od' command output and ensure that they all match according the the fields (Primary &amp;amp; Mirrored copies, they should).&lt;BR /&gt;&lt;BR /&gt;5. xd /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;Output will be similar to output from the od command.  Again look at the last two fields from line 400 and 1st two fields from line 410.  These should also match the output from&lt;BR /&gt;the od commands:&lt;BR /&gt;&lt;BR /&gt;0000400 0000 0000 0000 0000 0000 0000 77d9 3e3c&lt;BR /&gt;0000410 3b71 3c29 0000 0000 0000 0000 0002 0000&lt;BR /&gt;&lt;BR /&gt;The end result should be:&lt;BR /&gt;&lt;BR /&gt;77d93e3c3b713c29 -The true VGID entry&lt;BR /&gt;&lt;BR /&gt;Match this to the output from the od commands you ran against the primary and mirrored copy disk(s).  If they do not match, then attempt the following to try to correct the situation:&lt;BR /&gt;&lt;BR /&gt;a.  cp /etc/lvmtab /etc/lvmtab.orig&lt;BR /&gt;b.  rm /etc/lvmtab&lt;BR /&gt;c.  vgscan &lt;BR /&gt;d.  rm root.disk root1.disk&lt;BR /&gt;e. repeat steps 1-5 again.&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;&lt;BR /&gt;Vinod</description>
      <pubDate>Mon, 18 Jul 2005 18:40:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582525#M623370</guid>
      <dc:creator>vinod_25</dc:creator>
      <dc:date>2005-07-18T18:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disk VGID problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582526#M623371</link>
      <description>definitely You should map device serial numbers and vgid's here.&lt;BR /&gt;&lt;BR /&gt;My rough guess is that the discover made the disks show up on the other paths and You see something else at the first path, You had used to create the vg.&lt;BR /&gt;&lt;BR /&gt;If You have access to them, get the HP CSS tools and play around with lvmux11.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 02:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-vgid-problem/m-p/3582526#M623371</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-07-19T02:14:11Z</dc:date>
    </item>
  </channel>
</rss>

