<?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: Map File in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898443#M633682</link>
    <description>Hey Guys, &lt;BR /&gt;Thanx for the Prompt Reply.&lt;BR /&gt;Definetly it made my concept verry clear.&lt;BR /&gt;&lt;BR /&gt;Raghu</description>
    <pubDate>Thu, 06 Feb 2003 15:01:24 GMT</pubDate>
    <dc:creator>Raghunandan M R_1</dc:creator>
    <dc:date>2003-02-06T15:01:24Z</dc:date>
    <item>
      <title>Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898436#M633675</link>
      <description>Hi, &lt;BR /&gt;I have a hard disk on ServerA configured with VG02.I take the Hard disk to serverB and Detect teh Hardisk, Without Doing a vgexport (To Create a map).&lt;BR /&gt;&lt;BR /&gt;Just Coz I didnt have the Map file. I created a file with these entries in it.&lt;BR /&gt;"1. LVOL1&lt;BR /&gt;2. LVOL2&lt;BR /&gt;3. lvol3"&lt;BR /&gt;&lt;BR /&gt;Now when I import the VG giving teh refernce of this file as MAP file. Iwas able to import the VG and Access the File.....&lt;BR /&gt;&lt;BR /&gt;IS THIS ACTUALLY POSSIBLE... if Yes then Is it not a security Threat on my data.&lt;BR /&gt;&lt;BR /&gt;I always though If the VG ID is not correct in the map file and the Lvol names not correct in it.. It would not import...&lt;BR /&gt;But strangly with a ffalse map file which I created it. WORKED..&lt;BR /&gt;Could any one reason this please</description>
      <pubDate>Thu, 06 Feb 2003 14:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898436#M633675</guid>
      <dc:creator>Raghunandan M R_1</dc:creator>
      <dc:date>2003-02-06T14:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898437#M633676</link>
      <description>Simple - you don't need a mapfile to import.  From the man page on vgimport (in the -m section):&lt;BR /&gt;&lt;BR /&gt;If this&lt;BR /&gt;                          option is not specified, logical volume names are&lt;BR /&gt;                          created using the default naming convention lvolnn&lt;BR /&gt;                          where nn is the logical volume minor number.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 06 Feb 2003 14:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898437#M633676</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-06T14:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898438#M633677</link>
      <description>Instead of importing it with a map file, I will just do:&lt;BR /&gt;1) vgscan&lt;BR /&gt;2) mkdir /dev/vgXX&lt;BR /&gt;3) mknod /dev/vgxx/group c 64 0x0?0000&lt;BR /&gt;4) vgimport /dev/vgxx /dev/dsk/cxtycz (disk's device file)&lt;BR /&gt;5) vgchange -a y /dev/vgxx&lt;BR /&gt;6) vgdisplay -v /dev/vgxx&lt;BR /&gt;7) mkdir /test_fs&lt;BR /&gt;8) mount lv_name /test_fs (mount all file systems).&lt;BR /&gt;&lt;BR /&gt;This way will be easy, supported and accurate. You don't need to worry about security. In your case, the vgimport worked just because it found the LVs as exactly specified in your map file. The VGID DOES matters, when you have multiple disks on the same VG (the VG which you are imporitng).</description>
      <pubDate>Thu, 06 Feb 2003 14:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898438#M633677</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-06T14:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898439#M633678</link>
      <description>Yes Shiju U R right But My Lvols actually are of Different names. than Waht I had specified.&lt;BR /&gt;&lt;BR /&gt;Y  i was worried is some one can easily plug my HDD and Use it and replace it.</description>
      <pubDate>Thu, 06 Feb 2003 14:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898439#M633678</guid>
      <dc:creator>Raghunandan M R_1</dc:creator>
      <dc:date>2003-02-06T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898440#M633679</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes it is actually possible. Which way are you thinking it is a security threat?.&lt;BR /&gt;&lt;BR /&gt;VGID will be in there only if you run vgexport with -s option. Without -s option, the map file will always be like you created. There were instances where I created map files with VGID by getting it from one of the disks.&lt;BR /&gt;&lt;BR /&gt;As long as you didn't customize your logical volumes, you can create your own map files though it is not suggested. Instead of the default names if you created them with meaningful names, then you need to know the mapping of the sequence to the names.&lt;BR /&gt;&lt;BR /&gt;I would not suggest creating map files manually as missing or adding extra lines may cause errors. You can simply import a volume group even without a map file by specifying the disk.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 06 Feb 2003 14:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898440#M633679</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-06T14:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898441#M633680</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;vgimport assumes that the volume group information has already been  created on the physical volumes.                                         &lt;BR /&gt;when the mapfile  is not specified, logical volume names are   created using the default naming convention lvolnn</description>
      <pubDate>Thu, 06 Feb 2003 14:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898441#M633680</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-02-06T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898442#M633681</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Well man vgimport says,&lt;BR /&gt; -m mapfile     &lt;BR /&gt;Specify the name of the file from which logical volume names and numbers are to be read.This option is optional when used as in the first&lt;BR /&gt;command line format of the SYNOPSIS.If this option is not specified, logical volume names are created using the default naming convention lvolnn where nn is the logical volume minor number.&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Thu, 06 Feb 2003 14:58:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898442#M633681</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-02-06T14:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898443#M633682</link>
      <description>Hey Guys, &lt;BR /&gt;Thanx for the Prompt Reply.&lt;BR /&gt;Definetly it made my concept verry clear.&lt;BR /&gt;&lt;BR /&gt;Raghu</description>
      <pubDate>Thu, 06 Feb 2003 15:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898443#M633682</guid>
      <dc:creator>Raghunandan M R_1</dc:creator>
      <dc:date>2003-02-06T15:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Map File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898444#M633683</link>
      <description>Again, the LV_name doesn't matter. vgimport will pick the one you specified. If not specified in the map file, it will take the default names (lvol1, lvol2 etc). Now, if you did have map files, it will preserve the lvolnames when you vgimport, just becuase you have the names on the map file. You will get a clear idea by reading the man pages:&lt;BR /&gt;# man vgimport&lt;BR /&gt;&lt;BR /&gt;Also about the security, it's your duty to have your data (disks) to be kept in a secure location from un authorized physical access.</description>
      <pubDate>Thu, 06 Feb 2003 15:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/map-file/m-p/2898444#M633683</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-02-06T15:04:15Z</dc:date>
    </item>
  </channel>
</rss>

