<?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 Physical Volume Existence in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398734#M200311</link>
    <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;I need to check whether a particular harddisk is already having Physical Volume created on it.&lt;BR /&gt;&lt;BR /&gt;I run the command,&lt;BR /&gt;#pvdisplay /dev/dsk/c0t5d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c0t5d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c0t5d0".&lt;BR /&gt;&lt;BR /&gt;Query: Other then this command, any other command to double confirm?&lt;BR /&gt;&lt;BR /&gt;regards/cliff</description>
    <pubDate>Tue, 12 Oct 2004 21:39:39 GMT</pubDate>
    <dc:creator>Cliff Lim Kok Hwee</dc:creator>
    <dc:date>2004-10-12T21:39:39Z</dc:date>
    <item>
      <title>Physical Volume Existence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398734#M200311</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;I need to check whether a particular harddisk is already having Physical Volume created on it.&lt;BR /&gt;&lt;BR /&gt;I run the command,&lt;BR /&gt;#pvdisplay /dev/dsk/c0t5d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c0t5d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c0t5d0".&lt;BR /&gt;&lt;BR /&gt;Query: Other then this command, any other command to double confirm?&lt;BR /&gt;&lt;BR /&gt;regards/cliff</description>
      <pubDate>Tue, 12 Oct 2004 21:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398734#M200311</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-10-12T21:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Physical Volume Existence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398735#M200312</link>
      <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;Do 'strings /etc/lvmtab |grep c0t5d0'. You shouldn't get any output.&lt;BR /&gt;&lt;BR /&gt;If the VG is inactive, then 'pvdisplay' won't display any information. So, 'pvdisplay' is not 100% check.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 12 Oct 2004 21:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398735#M200312</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-12T21:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Physical Volume Existence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398736#M200313</link>
      <description>There is one furthe one. &lt;BR /&gt;&lt;BR /&gt;If the disk thinks it belongs to a volume group, it will tell you when you run this command. &lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;If it does then you should see it in /etc/lvmtab. If not, it should be okay to use. (re-use with pvcreate -f /dev/rdsk/c0t5d0)</description>
      <pubDate>Tue, 12 Oct 2004 22:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398736#M200313</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-10-12T22:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Physical Volume Existence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398737#M200314</link>
      <description>Though is sounds insane and dangerous, pvcreate WITHOUT THE -f OPTION will fail, report an error, and exit if the disk already has LVM data structures on it. That is why the -f option is needed to override the default behavior. Man pvcreate for details.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Oct 2004 22:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398737#M200314</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-10-12T22:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Physical Volume Existence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398738#M200315</link>
      <description>The -f in &lt;BR /&gt;#pvcreate -f /dev/rdsk/c0t5d0 &lt;BR /&gt;forces it to create the LVM data structure.  &lt;BR /&gt;#pvremove /dev/rdsk/c0t5d0 &lt;BR /&gt;will remove the LVM data structure then it can be used by the files system.</description>
      <pubDate>Thu, 14 Oct 2004 09:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398738#M200315</guid>
      <dc:creator>ddeblance</dc:creator>
      <dc:date>2004-10-14T09:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Physical Volume Existence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398739#M200316</link>
      <description># xd -j8200 -N16 -tu /dev/rdsk/c1t2d0&lt;BR /&gt;0000000 2000252410 965817345 2000252410 965817462&lt;BR /&gt;PV CPU-ID PV timestamp VG CPU-ID VG timestamp&lt;BR /&gt;&lt;BR /&gt;The above information translates to:&lt;BR /&gt;&lt;BR /&gt;â ¢ pvcreate and vgcreate was run on the sytem with systemID (uname â  i) 2000252410&lt;BR /&gt;&lt;BR /&gt;â ¢ pvcreate was run at timestamp 965817345 (seconds after Jan 1st 1970 0:00 UTC)&lt;BR /&gt;&lt;BR /&gt;â ¢ vgcreate was run at timestamp 965817462 (117 seconds later)&lt;BR /&gt;&lt;BR /&gt;Hope this helps. &lt;BR /&gt;&lt;BR /&gt;Tha</description>
      <pubDate>Thu, 14 Oct 2004 10:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-volume-existence/m-p/3398739#M200316</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-10-14T10:04:31Z</dc:date>
    </item>
  </channel>
</rss>

