<?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: vg disk device file changed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936815#M620772</link>
    <description>Try this&lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /tmp&lt;BR /&gt;vgscan&lt;BR /&gt;strings /etc/lvmtab (to check if all VG are there)&lt;BR /&gt;vgchange -a y vgxx&lt;BR /&gt;mount -a&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Oct 2005 05:59:29 GMT</pubDate>
    <dc:creator>Luk Vandenbussche</dc:creator>
    <dc:date>2005-10-27T05:59:29Z</dc:date>
    <item>
      <title>vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936812#M620769</link>
      <description>After an HP-UX B.11.11 server was rebooted, one of the device files from Secure Path changed from c20t1d1 to c20t1d2 so one of the volume groups can no longer see the device.  How do I reconfigure the volume group to use the new device file?  The volume group had only one device and was not mirrored because the LUN is raid5.</description>
      <pubDate>Thu, 27 Oct 2005 02:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936812#M620769</guid>
      <dc:creator>Team Leader UNIX DBA</dc:creator>
      <dc:date>2005-10-27T02:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936813#M620770</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need to reimport the VG with new device file.&lt;BR /&gt;&lt;BR /&gt;First find out unique minor number for the new VG using &lt;BR /&gt;#ll /dev/*/group&lt;BR /&gt;&lt;BR /&gt;Let us say the sequence goes like&lt;BR /&gt;&lt;BR /&gt;0x010000&lt;BR /&gt;0x010000&lt;BR /&gt;0x020000&lt;BR /&gt;0x030000&lt;BR /&gt;0x040000&lt;BR /&gt;0x050000&lt;BR /&gt;&lt;BR /&gt;Select next number as your number. Here say 0x060000&lt;BR /&gt;&lt;BR /&gt;Now &lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/newvgname&lt;BR /&gt;#mknod /dev/newvgname/group c 64 0x060000&lt;BR /&gt;#vgimport /dev/newvgname /dev/dsk/c20t1d2&lt;BR /&gt;&lt;BR /&gt;You will find all file system device files under /dev/newvgname after import.&lt;BR /&gt;&lt;BR /&gt;Mount them on required mount-points and change entries in /etc/fstab to reflect new file system device files.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 27 Oct 2005 02:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936813#M620770</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-10-27T02:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936814#M620771</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use 'pvmove' command.&lt;BR /&gt;For more details, check the manpage of pvmove :&lt;BR /&gt;&lt;BR /&gt;# man pvmove&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;&lt;BR /&gt;PS : it's a good backup also if you backup the LVM configuration with vgcfgbackup command.</description>
      <pubDate>Thu, 27 Oct 2005 02:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936814#M620771</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-10-27T02:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936815#M620772</link>
      <description>Try this&lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /tmp&lt;BR /&gt;vgscan&lt;BR /&gt;strings /etc/lvmtab (to check if all VG are there)&lt;BR /&gt;vgchange -a y vgxx&lt;BR /&gt;mount -a&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Oct 2005 05:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936815#M620772</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2005-10-27T05:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936816#M620773</link>
      <description>Devender has a solution that should do it for you... however, you'll want to export the vg then import. You wouldn't use pvmove in this scenerio. Here are the steps to perform the export/import.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ll /dev/vgname/group&lt;BR /&gt;(take note of the minor#)&lt;BR /&gt;&lt;BR /&gt;I assume the vg is not active at this time...&lt;BR /&gt;&lt;BR /&gt;vgexport -v -s -m /tmp/vgname.map /dev/vgname&lt;BR /&gt;mkdir /dev/vgname&lt;BR /&gt;mknod /dev/vgname/group c 64 0x??0000&lt;BR /&gt;(where 0x??0000 matches the minor# fom ll above)&lt;BR /&gt;vgimport -v -s -m /tmp/vgname /dev/vgname&lt;BR /&gt;vgchange -a y /dev/vgname&lt;BR /&gt;&lt;BR /&gt;This should do it if the only thing that changed was the device used for the PV.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Thu, 27 Oct 2005 06:14:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936816#M620773</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-10-27T06:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936817#M620774</link>
      <description>I'm with Luk on this one.  The device file simply needs to be re-associated with it's VG.  That's what vgscan is for - no need for imports or pvmoves or anything.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 27 Oct 2005 06:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936817#M620774</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-10-27T06:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936818#M620775</link>
      <description>vgscan would work, but be aware that things from your current config could change (re: boot info and pv links). If you use vgscan to correct the pv device file change, then 1st run it w/ '-p -v' options to preview what will be done. To understand possible chnages you might have to make following the vgscan, check out the manual page just to give you a heads up so there won't be any surprises.&lt;BR /&gt;&lt;BR /&gt;if this were a production box w/ a good number of volume groups, I'd probably opt for vgexport/vgimport to fix the one vg.&lt;BR /&gt;&lt;BR /&gt;-denver&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Oct 2005 06:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936818#M620775</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-10-27T06:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936819#M620776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have same problem.&lt;BR /&gt;I solve it this way:&lt;BR /&gt;&lt;BR /&gt;Deactivate the vg.&lt;BR /&gt;vgexport -m /tmp/vgXY.map /dev/vgXY&lt;BR /&gt;mkdir /dev/vgXY&lt;BR /&gt;mknod /dev/vgXY/group c 0x0N0000 N is the vg number&lt;BR /&gt;vgimport -v /dev/vgXY /dev/dsk/c20t1d2 in your case.&lt;BR /&gt;Last command meens that you import the vg definitions from the disk c20t1d2 and you include that disk in the volume group.&lt;BR /&gt;You have to activate the vg at last.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Borislav</description>
      <pubDate>Thu, 27 Oct 2005 06:46:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936819#M620776</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-10-27T06:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936820#M620777</link>
      <description>Thank you all very much for your responses.  I chose to use vgscan which seemed to be a much more elegant way to fix it and it worked beautifully!&lt;BR /&gt;&lt;BR /&gt;Keep up the good work.&lt;BR /&gt;&lt;BR /&gt;Danny</description>
      <pubDate>Thu, 27 Oct 2005 21:52:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936820#M620777</guid>
      <dc:creator>Team Leader UNIX DBA</dc:creator>
      <dc:date>2005-10-27T21:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: vg disk device file changed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936821#M620778</link>
      <description>Closing the thread.</description>
      <pubDate>Thu, 27 Oct 2005 21:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-disk-device-file-changed/m-p/4936821#M620778</guid>
      <dc:creator>Team Leader UNIX DBA</dc:creator>
      <dc:date>2005-10-27T21:53:38Z</dc:date>
    </item>
  </channel>
</rss>

