<?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 : not a character device in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930867#M409972</link>
    <description>Yes. You need to run it.&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/myvg&lt;BR /&gt;mknod /dev/myvg/group c 64 0x020000</description>
    <pubDate>Mon, 03 Oct 2005 05:24:09 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-10-03T05:24:09Z</dc:date>
    <item>
      <title>vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930865#M409970</link>
      <description>Hi experts,&lt;BR /&gt;&lt;BR /&gt;I've created a SAN-located volumegroup with filesystems  on host A and want to remount these on host B.&lt;BR /&gt;&lt;BR /&gt;I did an vgexport of the desactivated volumegroup :&lt;BR /&gt;vgexport -m myvg.map -s -p -v myvg &lt;BR /&gt;&lt;BR /&gt;.. and continued on the other host :&lt;BR /&gt;vgimport -m myvg.map -s -v myvg&lt;BR /&gt;&lt;BR /&gt;This is the output :&lt;BR /&gt;Beginning the import process on Volume Group "myvg".&lt;BR /&gt;vgimport: "/dev/myvg/group": not a character device.&lt;BR /&gt;&lt;BR /&gt;Do I manually need to run this before doing the vgimport :&lt;BR /&gt;  mkdir /dev/myvg&lt;BR /&gt;  mknod /dev/myvg/group c 64 0x020000&lt;BR /&gt;or am I overlooking something ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Franky&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 05:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930865#M409970</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-03T05:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930866#M409971</link>
      <description>Franky,&lt;BR /&gt;&lt;BR /&gt;Yes, you need to create the directory and the device file for the group.  Make sure the minor number in your mknod command is unique.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 03 Oct 2005 05:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930866#M409971</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-10-03T05:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930867#M409972</link>
      <description>Yes. You need to run it.&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/myvg&lt;BR /&gt;mknod /dev/myvg/group c 64 0x020000</description>
      <pubDate>Mon, 03 Oct 2005 05:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930867#M409972</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-10-03T05:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930868#M409973</link>
      <description>Yes. &lt;BR /&gt;&lt;BR /&gt;Check this steps 11 - 16:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90698/ch05s07.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90698/ch05s07.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Mon, 03 Oct 2005 05:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930868#M409973</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-03T05:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930869#M409974</link>
      <description>Before you import a VG, you must have created a directory for the VG, and then the control file.&lt;BR /&gt;In your example&lt;BR /&gt;mkdir /dev/myvg&lt;BR /&gt;mknod /dev/myvg/group c 64 0x020000&lt;BR /&gt;&lt;BR /&gt;Making sure the VG minor number is unique on the system you are doing the vgimport.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 05:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930869#M409974</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-10-03T05:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930870#M409975</link>
      <description>Yes, You have to , &lt;BR /&gt;&lt;BR /&gt;# Scan your current system to identify all disks by their volume groups.&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/vgscan -v&lt;BR /&gt;&lt;BR /&gt;# Create a directory for the volume group to which the new LVM disk will belong. For example, a new volume group might be called vg06.&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg06&lt;BR /&gt;&lt;BR /&gt;# Check to make sure that you are creating a unique minor number for the new group file. Then create a character device special file for the new volume group's group file. The character major number for LVM is 64. In the minor number, n must be in the range between 0 and 9, because the maximum number of volume groups by default allowed on a system is ten. You can increase the number by changing the operating-system parameter maxvgs in /usr/conf/master.d/core-hpux or by using SAM.&lt;BR /&gt;&lt;BR /&gt;ll /dev/*/group&lt;BR /&gt;mknod /dev/vg06/group c 64 0x0n0000&lt;BR /&gt;&lt;BR /&gt;# Import the LVM disk to the current system, citing the block device special file name you noted when the system booted up and the mapfile you created when invoking vgexport at the beginning of the procedure. You can preview the effect of the import by using the -p option.&lt;BR /&gt;&lt;BR /&gt;vgimport -pv -m mapfile /dev/vg06 block_device_special_file&lt;BR /&gt;vgimport -v -m mapfile /dev/vg06 block_device_special_file&lt;BR /&gt;&lt;BR /&gt;The vgimport command adds the volume group name to the /etc/lvmtab file. It also adds the device special files associated with the volume group's logical volumes to the system.&lt;BR /&gt;# Activate the new volume group.&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/vgchange -a y /dev/vg06&lt;BR /&gt;&lt;BR /&gt;# Mount the logical volumes to their new mount point. For further information on mounting and un-mounting, consult the Managing Systems and Workgroups manual.&lt;BR /&gt;&lt;BR /&gt;mkdir /new_location&lt;BR /&gt;mount /dev/vg06/lvol1 /new_location</description>
      <pubDate>Mon, 03 Oct 2005 05:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930870#M409975</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-03T05:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930871#M409976</link>
      <description>Hi Franky:&lt;BR /&gt;&lt;BR /&gt;Yes, the group device file must be created.  Make sure, too, that your device number, in this case, "02" is unique.  Remember too, that the value is expressed in hexadecimal.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 03 Oct 2005 05:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930871#M409976</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-10-03T05:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930872#M409977</link>
      <description>Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;After creating the vg device file ( mkdir, mknod ), I tried again but received this error : &lt;BR /&gt;&lt;BR /&gt;(host B)# vgimport -m myvg.map -s -v myvg&lt;BR /&gt;Beginning the import process on Volume Group "myvg".&lt;BR /&gt;Couldn't access the list of physical volumes for volume group "/dev/myvg".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestions ?&lt;BR /&gt;&lt;BR /&gt;Franky&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 08:35:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930872#M409977</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-03T08:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930873#M409978</link>
      <description>This suggests it cannot see any of the discs that are/were in the vg on th eother host.&lt;BR /&gt;Are you sure you can "see" them from this host?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 08:43:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930873#M409978</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-10-03T08:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930874#M409979</link>
      <description>If the command you typed is the command you entered there is something missing.&lt;BR /&gt;&lt;BR /&gt;Two choices, you can create a file with a list of physical volumes using the -e switch or you can just add the list to the end of the command.&lt;BR /&gt;&lt;BR /&gt;Sense the volume group doesn't exist on this machine, the system has no record and doesn't know which physical volumes to import from otherwise.&lt;BR /&gt;&lt;BR /&gt;H&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 08:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930874#M409979</guid>
      <dc:creator>Howard Marshall</dc:creator>
      <dc:date>2005-10-03T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930875#M409980</link>
      <description>Melwin,&lt;BR /&gt;&lt;BR /&gt;This the volumegroup that was created on host A :&lt;BR /&gt;mkdir /dev/vg03P&lt;BR /&gt;mknod /dev/vg03P/group c 64 0x030000&lt;BR /&gt;pvcreate -f /dev/rdsk/c15t0d7&lt;BR /&gt;pvcreate -f /dev/rdsk/c15t1d0&lt;BR /&gt;vgcreate vg03P /dev/dsk/c15t0d7 /dev/dsk/c15t1d0&lt;BR /&gt;&lt;BR /&gt;When I do an ioscan on host B, I do not see any devices starting with c15t.. . Is that the problem ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Mon, 03 Oct 2005 08:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930875#M409980</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-03T08:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930876#M409981</link>
      <description>Well usually when "sharing " across nodes, you should keep the VG minor numbers the same.&lt;BR /&gt;As for the c15txdy numbers, they do NOT have to be the same as it depends on the interface instance you are using. &lt;BR /&gt;This is why you can use the vgimport -s -m mapfile option. It forces the vgimport command to go out and scan ALL of the interfaces and disks the system can see, and tries to match up the VGID/PVID on any disc to what is in the map file.&lt;BR /&gt;&lt;BR /&gt;You say these are in a SAN environment, are you sure these discs have been made visible to the 2nd host?&lt;BR /&gt;Try doing an ioscan -f, then an insf -e and see  if new discs appear on node B</description>
      <pubDate>Mon, 03 Oct 2005 08:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930876#M409981</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-10-03T08:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930877#M409982</link>
      <description>Melwyn,&lt;BR /&gt;&lt;BR /&gt;Ran your commands but still the same :&lt;BR /&gt;(host B)# vgimport -m vg03P.map -s -v vg03P&lt;BR /&gt;Beginning the import process on Volume Group "vg03P".&lt;BR /&gt;Couldn't access the list of physical volumes for volume group "/dev/vg03P".&lt;BR /&gt;(host B)#&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Mon, 03 Oct 2005 09:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930877#M409982</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-03T09:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930878#M409983</link>
      <description>Franky, what sort of SAN have you got?&lt;BR /&gt;&lt;BR /&gt;I think it may be that the LUNs created need to be presented to Host B (if EVA).  Or the secure manager table needs to be configured (if VA).</description>
      <pubDate>Mon, 03 Oct 2005 09:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930878#M409983</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-10-03T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930879#M409984</link>
      <description>It looks as if the discs/LUN's have not been presented to node B. You need to fix this first before you can proceed.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 09:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930879#M409984</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-10-03T09:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930880#M409985</link>
      <description>The SAN is an EVA.&lt;BR /&gt;&lt;BR /&gt;For now, I'll close the thread.&lt;BR /&gt;Though, I don't have solution for now, I now at least where the problem is located now. I'll try to get in touch with the local HP Support team for fixing the setup.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Franky</description>
      <pubDate>Mon, 03 Oct 2005 09:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930880#M409985</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-03T09:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport : not a character device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930881#M409986</link>
      <description>Thread closed.</description>
      <pubDate>Mon, 03 Oct 2005 09:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-not-a-character-device/m-p/4930881#M409986</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-03T09:26:42Z</dc:date>
    </item>
  </channel>
</rss>

