<?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: Unable to pvcreate in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643736#M646452</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a thought, excuse me if it's typing mistake:&lt;BR /&gt;&lt;BR /&gt;use 'rdsk' instead of 'rdisk'&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 13 Jan 2002 03:55:53 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-01-13T03:55:53Z</dc:date>
    <item>
      <title>Unable to pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643735#M646451</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have a new test/training server for my department.&lt;BR /&gt;&lt;BR /&gt;It is quite an old box with 9 2gig disks on there. Previously the disks were populated with data on vg's 00, 01 and 02. I have taken an ignite from our old server and run it on this m/c. I now only have vg00 as expected. If i look at lvmtab it confirms this&lt;BR /&gt;s. When i attempt to do a pvcreate -f /dev/rdisk /c0t2d0&lt;BR /&gt;I get the message&lt;BR /&gt;&lt;BR /&gt;Couldn't stat physical volume "/dev/rdisk/c0t2d0":&lt;BR /&gt;pvcreate: Couldn't open physical volume "/dev/rdisk/c0t2d0":&lt;BR /&gt;No such file or directory&lt;BR /&gt;&lt;BR /&gt;If i remove lvmtab and perform a vgscan -a, i get the message&lt;BR /&gt;&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c0t2d0&lt;BR /&gt;/dev/dsk/c0t3d0&lt;BR /&gt;&lt;BR /&gt;I cannot do a pvdisplay , as i get the message&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which physical volume "/dev/dsk/c0t2d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c0t2d0".&lt;BR /&gt;&lt;BR /&gt;Anyone?</description>
      <pubDate>Sun, 13 Jan 2002 03:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643735#M646451</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-01-13T03:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643736#M646452</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a thought, excuse me if it's typing mistake:&lt;BR /&gt;&lt;BR /&gt;use 'rdsk' instead of 'rdisk'&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jan 2002 03:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643736#M646452</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-13T03:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643737#M646453</link>
      <description>Cheers&lt;BR /&gt;&lt;BR /&gt;Whoops,</description>
      <pubDate>Sun, 13 Jan 2002 04:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643737#M646453</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-01-13T04:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643738#M646454</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;If you had data on those disks and if you want to retrive it, you SHOULD NOT be doing a pvcreate on them.&lt;BR /&gt;&lt;BR /&gt;You need to use vgimport on those disks to get the previous logical volumes back.&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vg01&lt;BR /&gt;#mknod /dev/vg01/group 0x010000&lt;BR /&gt;#vgimport -v vg01 /dev/dsk/c0t2d0 /dev/dsk/c0t3d0&lt;BR /&gt;#vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;Now you can mount the logical volumes that appear under /dev/vg01 directory.&lt;BR /&gt;&lt;BR /&gt;Repeat the same process for other disks also. You need to know what disks belong to what volume groups.&lt;BR /&gt;&lt;BR /&gt;If you don't need the data and if you want o create *NEW* volume groups and filesystems  then you can do a pvcreate -f as suggested by Shiju.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jan 2002 04:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643738#M646454</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-13T04:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643739#M646455</link>
      <description>Thanks&lt;BR /&gt;&lt;BR /&gt;I have data from our old server that I am going to be recovering onto these disks&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 13 Jan 2002 04:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-pvcreate/m-p/2643739#M646455</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-01-13T04:26:09Z</dc:date>
    </item>
  </channel>
</rss>

