<?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 vg disk device files changed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458050#M624345</link>
    <description>I have a server with 5 volumes groups that are using XP-connected disks.  According to the conf files in /etc/lvmconf, they were configured with the following disks:&lt;BR /&gt;&lt;BR /&gt;vgx0&lt;BR /&gt; c0t0d3&lt;BR /&gt; c1t2d6&lt;BR /&gt;vgx1&lt;BR /&gt; c0t0d4&lt;BR /&gt; c0t8d4&lt;BR /&gt; c1t5d0&lt;BR /&gt; c4t5d0&lt;BR /&gt; c1t5d1&lt;BR /&gt; c4t5d1&lt;BR /&gt;vgx2&lt;BR /&gt; c0t3d4&lt;BR /&gt; c1t2d5&lt;BR /&gt;vx03&lt;BR /&gt; c1t2d7 &lt;BR /&gt;vx04&lt;BR /&gt; c1t3d5&lt;BR /&gt; c4t3d5&lt;BR /&gt;&lt;BR /&gt;The server suffered a failure of a fibre card and now a new fibre card has been inserted, and into another slot.  Now the above device files no longer exist.&lt;BR /&gt;&lt;BR /&gt;If I do a vgscan -p, I get the following:&lt;BR /&gt;&lt;BR /&gt;vgx0&lt;BR /&gt; c10t0d3&lt;BR /&gt; c12t2d6&lt;BR /&gt; c11t8d3&lt;BR /&gt; c14t2d6&lt;BR /&gt;vgx1&lt;BR /&gt; c10t0d4&lt;BR /&gt; c10t8d4&lt;BR /&gt; c12t5d0&lt;BR /&gt; c12t5d1&lt;BR /&gt; c11t0d4&lt;BR /&gt; c11t8d4&lt;BR /&gt; c15t5d0&lt;BR /&gt; c14t5d1&lt;BR /&gt;&lt;BR /&gt;unable to match&lt;BR /&gt;&lt;BR /&gt;c10t0d5&lt;BR /&gt;c10t8d5&lt;BR /&gt;c11t0d5&lt;BR /&gt;c11t8d5&lt;BR /&gt;&lt;BR /&gt;vgx2&lt;BR /&gt; c10t3d4&lt;BR /&gt; c12t2d5&lt;BR /&gt; c11t3d6&lt;BR /&gt; c14t2d5&lt;BR /&gt;&lt;BR /&gt;unable to match&lt;BR /&gt;&lt;BR /&gt;c10t11d5&lt;BR /&gt;c11t3d5&lt;BR /&gt;&lt;BR /&gt;vx03&lt;BR /&gt; c12t2d7&lt;BR /&gt; c14t2d7&lt;BR /&gt;vx04&lt;BR /&gt; c12t3d5&lt;BR /&gt; c14t3d5&lt;BR /&gt;&lt;BR /&gt;As you can see, for several of the volume groups, it is reporting more disks now than it had before.&lt;BR /&gt;&lt;BR /&gt;Why would it be reporting more disks than what are in the .conf backup files?&lt;BR /&gt;&lt;BR /&gt;How can I tell which new device files map to which original device files?&lt;BR /&gt;&lt;BR /&gt;What would be the impact of issuing:&lt;BR /&gt;&lt;BR /&gt;vgimport vgname pvpath&lt;BR /&gt;&lt;BR /&gt;If the pvpath was a disk that was not originally in that volume group?  (Could it do harm?)&lt;BR /&gt;&lt;BR /&gt;What about the disks that say they belong to a volume group, but they cannot determine which?&lt;BR /&gt;&lt;BR /&gt;Thanks for any information.&lt;BR /&gt;&lt;BR /&gt;sam</description>
    <pubDate>Fri, 07 Jan 2005 10:31:48 GMT</pubDate>
    <dc:creator>Sam Lalonde</dc:creator>
    <dc:date>2005-01-07T10:31:48Z</dc:date>
    <item>
      <title>vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458050#M624345</link>
      <description>I have a server with 5 volumes groups that are using XP-connected disks.  According to the conf files in /etc/lvmconf, they were configured with the following disks:&lt;BR /&gt;&lt;BR /&gt;vgx0&lt;BR /&gt; c0t0d3&lt;BR /&gt; c1t2d6&lt;BR /&gt;vgx1&lt;BR /&gt; c0t0d4&lt;BR /&gt; c0t8d4&lt;BR /&gt; c1t5d0&lt;BR /&gt; c4t5d0&lt;BR /&gt; c1t5d1&lt;BR /&gt; c4t5d1&lt;BR /&gt;vgx2&lt;BR /&gt; c0t3d4&lt;BR /&gt; c1t2d5&lt;BR /&gt;vx03&lt;BR /&gt; c1t2d7 &lt;BR /&gt;vx04&lt;BR /&gt; c1t3d5&lt;BR /&gt; c4t3d5&lt;BR /&gt;&lt;BR /&gt;The server suffered a failure of a fibre card and now a new fibre card has been inserted, and into another slot.  Now the above device files no longer exist.&lt;BR /&gt;&lt;BR /&gt;If I do a vgscan -p, I get the following:&lt;BR /&gt;&lt;BR /&gt;vgx0&lt;BR /&gt; c10t0d3&lt;BR /&gt; c12t2d6&lt;BR /&gt; c11t8d3&lt;BR /&gt; c14t2d6&lt;BR /&gt;vgx1&lt;BR /&gt; c10t0d4&lt;BR /&gt; c10t8d4&lt;BR /&gt; c12t5d0&lt;BR /&gt; c12t5d1&lt;BR /&gt; c11t0d4&lt;BR /&gt; c11t8d4&lt;BR /&gt; c15t5d0&lt;BR /&gt; c14t5d1&lt;BR /&gt;&lt;BR /&gt;unable to match&lt;BR /&gt;&lt;BR /&gt;c10t0d5&lt;BR /&gt;c10t8d5&lt;BR /&gt;c11t0d5&lt;BR /&gt;c11t8d5&lt;BR /&gt;&lt;BR /&gt;vgx2&lt;BR /&gt; c10t3d4&lt;BR /&gt; c12t2d5&lt;BR /&gt; c11t3d6&lt;BR /&gt; c14t2d5&lt;BR /&gt;&lt;BR /&gt;unable to match&lt;BR /&gt;&lt;BR /&gt;c10t11d5&lt;BR /&gt;c11t3d5&lt;BR /&gt;&lt;BR /&gt;vx03&lt;BR /&gt; c12t2d7&lt;BR /&gt; c14t2d7&lt;BR /&gt;vx04&lt;BR /&gt; c12t3d5&lt;BR /&gt; c14t3d5&lt;BR /&gt;&lt;BR /&gt;As you can see, for several of the volume groups, it is reporting more disks now than it had before.&lt;BR /&gt;&lt;BR /&gt;Why would it be reporting more disks than what are in the .conf backup files?&lt;BR /&gt;&lt;BR /&gt;How can I tell which new device files map to which original device files?&lt;BR /&gt;&lt;BR /&gt;What would be the impact of issuing:&lt;BR /&gt;&lt;BR /&gt;vgimport vgname pvpath&lt;BR /&gt;&lt;BR /&gt;If the pvpath was a disk that was not originally in that volume group?  (Could it do harm?)&lt;BR /&gt;&lt;BR /&gt;What about the disks that say they belong to a volume group, but they cannot determine which?&lt;BR /&gt;&lt;BR /&gt;Thanks for any information.&lt;BR /&gt;&lt;BR /&gt;sam</description>
      <pubDate>Fri, 07 Jan 2005 10:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458050#M624345</guid>
      <dc:creator>Sam Lalonde</dc:creator>
      <dc:date>2005-01-07T10:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458051#M624346</link>
      <description>Well, the most straightforward approach would be to move the replacement card to the original slot.&lt;BR /&gt;&lt;BR /&gt;You can also mv /etc/lvmtab /etc/lvmtab.orig and a vgscan -v to receate the lvmtab. This will ientify all the primary paths and then you can add the alternate paths later.&lt;BR /&gt;&lt;BR /&gt;If you want to explicitly run vgimport with the pvpaths then you first need to do a vgexport of the VG, then recreate the /dev/vgxx directory, and then /dev/vgxx/group device node before running the vgimport. The vgexport will not alter data on the disks themselves only the /dev/vgxx/* entries and the entries in /etc/lvmtab.</description>
      <pubDate>Fri, 07 Jan 2005 10:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458051#M624346</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-07T10:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458052#M624347</link>
      <description>Well, the most straightforward approach would be to move the replacement card to the original slot.&lt;BR /&gt;&lt;BR /&gt;You can also mv /etc/lvmtab /etc/lvmtab.orig and a vgscan -v to receate the lvmtab. This will identify all the primary paths and then you can add the alternate paths later.&lt;BR /&gt;&lt;BR /&gt;If you want to explicitly run vgimport with the pvpaths then you first need to do a vgexport of the VG, then recreate the /dev/vgxx directory, and then /dev/vgxx/group device node before running the vgimport. The vgexport will not alter data on the disks themselves only the /dev/vgxx/* entries and the entries in /etc/lvmtab.</description>
      <pubDate>Fri, 07 Jan 2005 10:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458052#M624347</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-07T10:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458053#M624348</link>
      <description>Sam,&lt;BR /&gt;&lt;BR /&gt;It looks like you now show alternate paths:  vgx0 has gone from two to four disks and the names are fairly easy to match up; vgx1 has gone from six to twelve disks and requires a little more effort to match up; and so on.&lt;BR /&gt;&lt;BR /&gt;Before you did your vgscan, did you rename /etc/lvmtab?  I would rename /etc/lvmtab, then run vgscan -a without the -p option.  If you don't like the results, you can always rename the old /etc/lvmtab back.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 07 Jan 2005 10:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458053#M624348</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-01-07T10:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458054#M624349</link>
      <description>I have never done a vgscan with -p yet, so my lvmtab is still ok.  &lt;BR /&gt;&lt;BR /&gt;Here is what I am thinking.&lt;BR /&gt;&lt;BR /&gt;I backup the lvmtab then do a vgscan -a.&lt;BR /&gt;&lt;BR /&gt;Hopefully this will get the volume groups to a point that I can activate them, maybe fsck the filesystems then mount them.&lt;BR /&gt;&lt;BR /&gt;Then I have the task of dealing with those "extra" disks.&lt;BR /&gt;&lt;BR /&gt;How could I go about matching the extra disks to their primary path?&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;sam</description>
      <pubDate>Fri, 07 Jan 2005 11:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458054#M624349</guid>
      <dc:creator>Sam Lalonde</dc:creator>
      <dc:date>2005-01-07T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458055#M624350</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;Maybe this link would help.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072570325" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072570325&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is KBRC00012871.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jan 2005 11:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458055#M624350</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-07T11:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458056#M624351</link>
      <description>On my last post I meant "I have never done an vgscan WITHOUT a -p yet, so the lvmtab is still ok."</description>
      <pubDate>Fri, 07 Jan 2005 11:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458056#M624351</guid>
      <dc:creator>Sam Lalonde</dc:creator>
      <dc:date>2005-01-07T11:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458057#M624352</link>
      <description>Sam,&lt;BR /&gt;&lt;BR /&gt;If you didn't rename your /etc/lvmtab, that's probably why you're seeing all the extra disks:  lvmtab has the old and vgscan is seeing the new.&lt;BR /&gt;&lt;BR /&gt;Post your vgscan results after renaming.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 07 Jan 2005 11:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458057#M624352</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-01-07T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device files changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458058#M624353</link>
      <description>Once I moved my lvmtab file out of the road vgscan was able to create a new one for me that looked correct.&lt;BR /&gt;&lt;BR /&gt;It still did complain about physical volumes that belong to a volume group, but it didn't know which.&lt;BR /&gt;&lt;BR /&gt;However, I was able to activate all my volume groups, fsck the filesystems and mount them.  I assume since vgchange allowed me to activate it, then it had the disks it required.&lt;BR /&gt;&lt;BR /&gt;I also checked vgdisplay and every volume group is showing an alternate link for every disk.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone for your help.&lt;BR /&gt;&lt;BR /&gt;sam</description>
      <pubDate>Fri, 07 Jan 2005 11:31:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-files-changed/m-p/3458058#M624353</guid>
      <dc:creator>Sam Lalonde</dc:creator>
      <dc:date>2005-01-07T11:31:59Z</dc:date>
    </item>
  </channel>
</rss>

