<?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: vgimport -m filename in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592439#M553012</link>
    <description>Im using Sep 09 . Does the hvname and vg name have to be the same while importing as it was when it was exported ?</description>
    <pubDate>Mon, 01 Mar 2010 13:28:21 GMT</pubDate>
    <dc:creator>blacof</dc:creator>
    <dc:date>2010-03-01T13:28:21Z</dc:date>
    <item>
      <title>vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592431#M553004</link>
      <description>Can folks here tell me as to what is the &lt;BR /&gt;format of the file that is to be used for &lt;BR /&gt;importing a diskgroup with the -m option . &lt;BR /&gt;&lt;BR /&gt;Im getting this error when I run vgimport&lt;BR /&gt;&lt;BR /&gt;vgimport -m /tmp/mapRtRYWR -f /tmp/pathEMbuhC /dev/changehv&lt;BR /&gt;&lt;BR /&gt;Physical volume "/dev/dsk/c5t0d6" has an unsupported LV&lt;BR /&gt;M disk layout.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2010 11:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592431#M553004</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-01T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592432#M553005</link>
      <description>I don't know that the format is readily available.  The map file is supposed to be produced by the vgexport command.  Did you do something else to it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 01 Mar 2010 12:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592432#M553005</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-03-01T12:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592433#M553006</link>
      <description>Can you give more information? Your LVM version? OS version?&lt;BR /&gt;&lt;BR /&gt;Are you trying to import LVM2.0/2.1 VG to hp-ux 11.23/earlier 11.31?</description>
      <pubDate>Mon, 01 Mar 2010 12:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592433#M553006</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2010-03-01T12:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592434#M553007</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Export the Volume Group /dev/vg01 into mapfile vg01.mapfile:&lt;BR /&gt;#vgexport -m vg01.mapfile /dev/vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Import the Volume Group /dev/vg01 from mapfile vg01.mapfile:&lt;BR /&gt;#vgimport -m vg01.mapfile /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Check in /etc/lvmconf/ for the mapfile if you not exported.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2010 12:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592434#M553007</guid>
      <dc:creator>Pramod M</dc:creator>
      <dc:date>2010-03-01T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592435#M553008</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The mapfile (designated with the '-m' argument) is simply a list of the logical volumes and their minor numbers.  It will look like:&lt;BR /&gt;&lt;BR /&gt;1 lvolX&lt;BR /&gt;2 lvolY&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The '-f infile' points to a file of physical paths for the volume group.  Make sure only one path per line occurs.&lt;BR /&gt;&lt;BR /&gt;All this said, you haven't specified the *volume group* name.  You should have something like:&lt;BR /&gt;&lt;BR /&gt;# vgimport -m /tmp/mapRtRYWR /dev/vg01 -f /tmp/pathEMbuhC &lt;BR /&gt;&lt;BR /&gt;...where '/dev/vg01' may be what you meant for '/dev/changehv'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2010 12:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592435#M553008</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-03-01T12:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592436#M553009</link>
      <description>Im using a 2.1 VG. Does the command line order matter I have specified /dev/changehv as the name of my vg.</description>
      <pubDate>Mon, 01 Mar 2010 13:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592436#M553009</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-01T13:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592437#M553010</link>
      <description>LVM 2.1 is supported with release September 2008 of hp-ux 11iv3. You cannot import v2.1 VGs before September 2008 release of 11.31.</description>
      <pubDate>Mon, 01 Mar 2010 13:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592437#M553010</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2010-03-01T13:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592438#M553011</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Im using a 2.1 VG. Does the command line order matter I have specified /dev/changehv as the name of my vg.&lt;BR /&gt;&lt;BR /&gt;No, your command was correct and I was wrong.  The manpages do show:&lt;BR /&gt;&lt;BR /&gt;# vgimport [-m mapfile] [-p] [-v] [-f infile] vg_name &lt;BR /&gt;&lt;BR /&gt;I think turgay may be correct.  What's your operating system (OS) release and from where (what OS) does the physical disk come?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 01 Mar 2010 13:23:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592438#M553011</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-03-01T13:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592439#M553012</link>
      <description>Im using Sep 09 . Does the hvname and vg name have to be the same while importing as it was when it was exported ?</description>
      <pubDate>Mon, 01 Mar 2010 13:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592439#M553012</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-01T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592440#M553013</link>
      <description>No, the names may be different, but you have to create the group file:&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgNN&lt;BR /&gt;mknod /dev/vgNN/group c64 0xNN0000&lt;BR /&gt;&lt;BR /&gt;then vgimport.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 01 Mar 2010 13:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592440#M553013</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-03-01T13:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592441#M553014</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;On 11.31 (March 2008 or later) it is no longer necessary to create the volume group's 'group' file.  This will be done automatically if it isn't present.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 01 Mar 2010 13:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592441#M553014</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-03-01T13:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592442#M553015</link>
      <description>Right . so what could be the possible cause of the above error then ?</description>
      <pubDate>Mon, 01 Mar 2010 13:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592442#M553015</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-01T13:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592443#M553016</link>
      <description>and the map file was produced by the vgexport command?  and hasn't been modified?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 01 Mar 2010 14:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592443#M553016</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-03-01T14:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592444#M553017</link>
      <description>nope it was handcoded</description>
      <pubDate>Mon, 01 Mar 2010 14:22:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592444#M553017</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-01T14:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592445#M553018</link>
      <description>Handcoded?  I would try running the vgexport command to produce another map file, then retry your vgimport using that new map file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 01 Mar 2010 14:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592445#M553018</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-03-01T14:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592446#M553019</link>
      <description>so i figured it . The problem is that &lt;BR /&gt;with vg 2.0 formats the file needs to have a &lt;BR /&gt;header "MAPFILE02" without which the &lt;BR /&gt;vgimport will fail with the error that I described above. Unfortunately this header is not &lt;BR /&gt;&lt;BR /&gt;backward compatible with 1.0 diskgroups. So for applications that were built to work with &lt;BR /&gt;&lt;BR /&gt;1.0 VGs this will not work. &lt;BR /&gt;&lt;BR /&gt;The bigger problem is that before importing a diskgroup how does one know about the version &lt;BR /&gt;&lt;BR /&gt;of a diskgroup from just the PV. If there is a way to detect this then it would life easier. &lt;BR /&gt;&lt;BR /&gt;Any thoughts guys</description>
      <pubDate>Mon, 01 Mar 2010 19:20:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592446#M553019</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-01T19:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592447#M553020</link>
      <description>Folks , any replies , thoughts would be much appreciated.</description>
      <pubDate>Tue, 02 Mar 2010 09:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592447#M553020</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-02T09:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592448#M553021</link>
      <description>&amp;gt;&amp;gt;The bigger problem is that before importing a diskgroup how does one know about the version&lt;BR /&gt;&lt;BR /&gt;of a diskgroup from just the PV.&lt;BR /&gt;&lt;BR /&gt;you could check it before exporing the VG &lt;BR /&gt;Vgdisplay &lt;VGNAME&gt; |grep -i version&lt;BR /&gt;&lt;BR /&gt;in your case , i guess you dont have the vg for creating the map file by vgexport.&lt;BR /&gt;so try import the vg without a mapfile&lt;BR /&gt;&lt;BR /&gt;vgimport -f &lt;PVPATHFILE&gt; &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;note: You wont get the LV names that you defined on the VG as it LVs will  be created with default naming convention  like lvol1 ...lvoln.You can change it to your own by renaming the lv file&lt;BR /&gt;&lt;BR /&gt;#deativate VG&lt;BR /&gt;&lt;BR /&gt;mv /dev/vgtest/lvol1 /dev/vgtest/mylv&lt;BR /&gt;mv /dev/vgtest/rlvol1 /dev/vgtest/rmylv&lt;BR /&gt;&lt;BR /&gt;how ever the best way  forward is suggested by Pete&lt;BR /&gt;&lt;/VGNAME&gt;&lt;/PVPATHFILE&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Tue, 02 Mar 2010 10:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592448#M553021</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2010-03-02T10:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592449#M553022</link>
      <description>Oh well you see this is painful. We have a backup restore application built on top of LVM &lt;BR /&gt;that uses the old file format. This change will PROHIBIT users from upgrading our app. &lt;BR /&gt;&lt;BR /&gt;One would have expected the new file format to be compatible with 1.0 VGs for backward compatibility's sake. Can I file a Bug for making the new file format compatible with 1.0 Diskgroups</description>
      <pubDate>Tue, 02 Mar 2010 10:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592449#M553022</guid>
      <dc:creator>blacof</dc:creator>
      <dc:date>2010-03-02T10:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport -m filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592450#M553023</link>
      <description>&amp;gt;Can I file a Bug for making the new file format compatible with 1.0 Diskgroups&lt;BR /&gt;&lt;BR /&gt;Well, you can file an enhancement and explain why you need it.</description>
      <pubDate>Tue, 02 Mar 2010 10:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-m-filename/m-p/4592450#M553023</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-02T10:51:08Z</dc:date>
    </item>
  </channel>
</rss>

