<?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: pvcreate in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431759#M656038</link>
    <description>Hi,&lt;BR /&gt;There are a few questions that need to be answered.&lt;BR /&gt;1. run ioscan -fnC disk. Is it your disk claimed? Is the device file as /dev/dsk/c0t15d0?&lt;BR /&gt;2.run pvdisplay -v /dev/dsk/c0t15d0 is it shown as part of any vg? (what is the output?)&lt;BR /&gt;3. Is this disk an independent disk or the device is part of an array?&lt;BR /&gt;4. Follow Anthony suggestion vgscan -p -v. Is this disk part of any vg?&lt;BR /&gt;5. if run pvcreate -f /dev/rdsk/c0t15d0 (use raw device). What is the output?&lt;BR /&gt;6. If you can see the disk claimed, is not part of any vgs, and using pvcreate on raw device is not working, check if you have the following patches:&lt;BR /&gt;s700_800 11.00 cumulative SAM/ObAM patch(PHCO_19047) &lt;BR /&gt; s700_800 11.00 LVM commands cumulative patch(PHCO_20870) &lt;BR /&gt; s700_800 11.00 autox0 cumulative patch(PHKL_15955) &lt;BR /&gt; s700_800 11.00 fix race conditions in UP emulation(PHKL_16209) &lt;BR /&gt; s700_800 11.00 Invalid I/O sizes from JFS causes hangs(PHKL_18452) &lt;BR /&gt; s700_800 11.00 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch(PHKL_18543) &lt;BR /&gt; s700_800 11.00 Fibre Channel Mass Storage Driver Patch(PHKL_20207) &lt;BR /&gt; s700_800 11.00 LVM Cumulative patch(PHKL_20419) &lt;BR /&gt;Hope this helps. If not, come back with details.</description>
    <pubDate>Thu, 20 Jul 2000 02:55:22 GMT</pubDate>
    <dc:creator>Antoanetta Naghiu</dc:creator>
    <dc:date>2000-07-20T02:55:22Z</dc:date>
    <item>
      <title>pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431753#M656032</link>
      <description>On using the following command:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c0t15d0&lt;BR /&gt;&lt;BR /&gt;I get the message:&lt;BR /&gt;&lt;BR /&gt;pvcreate: The physical volume already belongs to a volume group.&lt;BR /&gt;&lt;BR /&gt;The disk pointed to by c0t15d0 is blank and about to be setup so its a mirror of another.&lt;BR /&gt;&lt;BR /&gt;How do I find out which volume group its in ?&lt;BR /&gt;And how do I remove it from the volume group its in.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 23:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431753#M656032</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2000-07-19T23:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431754#M656033</link>
      <description>you find all your pv's at the end of &lt;BR /&gt;vgdisplay -v &lt;BR /&gt;&lt;BR /&gt;if your disk is not part of that list, it might be an old o/s on that disk, with a vg setup&lt;BR /&gt;&lt;BR /&gt;you can handle with &lt;BR /&gt;pvcreate -f /dev/dsk/c0t5do&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 23:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431754#M656033</guid>
      <dc:creator>Dan Am</dc:creator>
      <dc:date>2000-07-19T23:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431755#M656034</link>
      <description>Run the command:&lt;BR /&gt;strings /etc/lvmtab | more&lt;BR /&gt;and make sure the disk is really not known to LVM.&lt;BR /&gt;&lt;BR /&gt;Make sure you have a valid copy of /etc/lvmtab when you do this.  Believe me, it can be wrong! If you are uncertain, run the vgscan command. You can use preview mode (-p -v) option to view the scan but not make any changes. If you see differences and decide that a new lvmtab must be generated, run the command with (-a -v) to rebuild the lvmtab file.  Before you do this, move the old one out of place.  If anything strange occurs with the new lvmtab file, move the old one back.</description>
      <pubDate>Wed, 19 Jul 2000 23:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431755#M656034</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-07-19T23:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431756#M656035</link>
      <description>If pvcreate with -f option (force) is not working that means you are missing LVM patches. There are about 4-5 patches that you need to have them install. Which OS do you have installed?</description>
      <pubDate>Wed, 19 Jul 2000 23:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431756#M656035</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-07-19T23:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431757#M656036</link>
      <description>To Antoanetta : I am using HP-UX B.11.00A&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 23:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431757#M656036</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2000-07-19T23:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431758#M656037</link>
      <description>The quick answer to finding out where it is allocated is with the command "pvdisplay /dev/dsk/c0t15d0"  NOTE: use the block device designation with pvdisplay not the raw device.  The -v option is also available to display extent information if desired.&lt;BR /&gt;&lt;BR /&gt;The other comments in this thead are valid.  There are a number of patches out there for LVM and it is not that unusual to find the lvmtab to be in error.  &lt;BR /&gt;&lt;BR /&gt;By chance, is this a drive that is part of an EMC array?  The device number that you are using is very commonly used with an EMC as the gatekeeper device.  Just a thought.</description>
      <pubDate>Thu, 20 Jul 2000 02:50:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431758#M656037</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2000-07-20T02:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431759#M656038</link>
      <description>Hi,&lt;BR /&gt;There are a few questions that need to be answered.&lt;BR /&gt;1. run ioscan -fnC disk. Is it your disk claimed? Is the device file as /dev/dsk/c0t15d0?&lt;BR /&gt;2.run pvdisplay -v /dev/dsk/c0t15d0 is it shown as part of any vg? (what is the output?)&lt;BR /&gt;3. Is this disk an independent disk or the device is part of an array?&lt;BR /&gt;4. Follow Anthony suggestion vgscan -p -v. Is this disk part of any vg?&lt;BR /&gt;5. if run pvcreate -f /dev/rdsk/c0t15d0 (use raw device). What is the output?&lt;BR /&gt;6. If you can see the disk claimed, is not part of any vgs, and using pvcreate on raw device is not working, check if you have the following patches:&lt;BR /&gt;s700_800 11.00 cumulative SAM/ObAM patch(PHCO_19047) &lt;BR /&gt; s700_800 11.00 LVM commands cumulative patch(PHCO_20870) &lt;BR /&gt; s700_800 11.00 autox0 cumulative patch(PHKL_15955) &lt;BR /&gt; s700_800 11.00 fix race conditions in UP emulation(PHKL_16209) &lt;BR /&gt; s700_800 11.00 Invalid I/O sizes from JFS causes hangs(PHKL_18452) &lt;BR /&gt; s700_800 11.00 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch(PHKL_18543) &lt;BR /&gt; s700_800 11.00 Fibre Channel Mass Storage Driver Patch(PHKL_20207) &lt;BR /&gt; s700_800 11.00 LVM Cumulative patch(PHKL_20419) &lt;BR /&gt;Hope this helps. If not, come back with details.</description>
      <pubDate>Thu, 20 Jul 2000 02:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431759#M656038</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-07-20T02:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431760#M656039</link>
      <description>To find out if PV is a part of VG,&lt;BR /&gt; &lt;BR /&gt;# strings /etc/lvmtab  --&amp;gt; shows all VG's entry along with thier PV. If you saw the entry like,&lt;BR /&gt;&lt;BR /&gt;/dev/vgXX&lt;BR /&gt;/dev/dsk/c0t15d0 &lt;BR /&gt;&lt;BR /&gt;then PV /dev/dsk/c0t1d0 is a part of vgXX.&lt;BR /&gt; To remove physical volume /dev/dsk/c0t1d5 from volume group /dev/vgXX:&lt;BR /&gt;# vgreduce /dev/vgXX /dev/dsk/c0t1d5 &lt;BR /&gt;&lt;BR /&gt;Now try,&lt;BR /&gt;# pvcreate -f /dev/rdsk/c0t1d5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think this should solve your problem.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Jul 2000 08:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate/m-p/2431760#M656039</guid>
      <dc:creator>warghade</dc:creator>
      <dc:date>2000-07-22T08:32:35Z</dc:date>
    </item>
  </channel>
</rss>

