<?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: pvdisplay -l /dev/disk/disk* not working properly in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639021#M553922</link>
    <description>@ Sanjeev&lt;BR /&gt;Thanks for the script. But, I know that the command is working fine when run for individual disk (hence works with script as well).&lt;BR /&gt;&lt;BR /&gt;I was going through some doc which says that in 11.31 we can find disks that are NOT used by lvm by this command (with output):&lt;BR /&gt;# pvdisplay -l /dev/disk/disk* &lt;BR /&gt;/dev/disk/disk36:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk36_p1:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk36_p2:LVM_Disk=yes &lt;BR /&gt;/dev/disk/disk36_p3:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk37:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk38:LVM_Disk=no &lt;BR /&gt;&lt;BR /&gt;But in my server above command is not working for disks.&lt;BR /&gt;&lt;BR /&gt;So, wanted to divert your attention toward disks..I am hardly concerned about DVD's output.</description>
    <pubDate>Fri, 28 May 2010 04:56:45 GMT</pubDate>
    <dc:creator>UniRock</dc:creator>
    <dc:date>2010-05-28T04:56:45Z</dc:date>
    <item>
      <title>pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639014#M553915</link>
      <description>&lt;!--!*#--&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;# pvdisplay -l /dev/disk/disk*&lt;BR /&gt;pvdisplay: Couldn't open physical volume "/dev/disk/disk60":   &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; DVD&lt;BR /&gt;&lt;BR /&gt;# pvdisplay -l /dev/disk/disk63_p2    &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Works fine&lt;BR /&gt;/dev/disk/disk63_p2:LVM_Disk=yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/disk/disk63_p2&lt;BR /&gt;&lt;BR /&gt;# ll /dev/disk/disk*&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000000 May 26 21:31 /dev/disk/disk60   &lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000001 May 26 21:31 /dev/disk/disk61&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000002 May 26 21:31 /dev/disk/disk62&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000003 May 26 21:31 /dev/disk/disk63&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x00000c May 26 21:31 /dev/disk/disk63_p1&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x00000d May 26 21:31 /dev/disk/disk63_p2&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x00000e May 26 21:31 /dev/disk/disk63_p3&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000005 May 26 21:31 /dev/disk/disk64&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000006 May 26 21:31 /dev/disk/disk65&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000007 May 26 21:31 /dev/disk/disk66&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000008 May 26 21:31 /dev/disk/disk67&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x000009 May 26 21:31 /dev/disk/disk68&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x00000a May 26 21:31 /dev/disk/disk69&lt;BR /&gt;brw-r-----   1 bin        sys          3 0x00000b May 26 21:31 /dev/disk/disk70&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v | grep "PV Name"&lt;BR /&gt;   PV Name                     /dev/disk/disk63_p2&lt;BR /&gt;&lt;BR /&gt;Question is why "pvdisplay -l /dev/disk/disk*" is NOT working for all disks.&lt;BR /&gt;&lt;BR /&gt;Note: This is a fresh system&lt;BR /&gt;&lt;BR /&gt;Thanks..</description>
      <pubDate>Fri, 28 May 2010 03:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639014#M553915</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2010-05-28T03:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639015#M553916</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please post "ioscan -fnC disk"&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Fri, 28 May 2010 03:46:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639015#M553916</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2010-05-28T03:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639016#M553917</link>
      <description>Attached "ioscan -fnC disk"</description>
      <pubDate>Fri, 28 May 2010 04:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639016#M553917</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2010-05-28T04:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639017#M553918</link>
      <description>I would not expect to see this working with a DVD, even if a disk is loaded.</description>
      <pubDate>Fri, 28 May 2010 04:23:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639017#M553918</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-05-28T04:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639018#M553919</link>
      <description>&amp;gt;&amp;gt; I would not expect to see this working with a DVD, even if a disk is loaded.&lt;BR /&gt;Right, neither did I :-)&lt;BR /&gt;&lt;BR /&gt;If "pvdisplay -l &lt;DISK&gt;" is run individually on disks, it runs fine.&lt;BR /&gt;But the question is why is it NOT working for rest of the disks. It only reports error for DVD (disk60).&lt;/DISK&gt;</description>
      <pubDate>Fri, 28 May 2010 04:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639018#M553919</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2010-05-28T04:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639019#M553920</link>
      <description>may diskinf work on the DVD device file :&lt;BR /&gt;&lt;BR /&gt;diskinfo /dev/rdisk/disk60&lt;BR /&gt;&lt;BR /&gt;to make it work try to execute via a script :&lt;BR /&gt;&lt;BR /&gt;cat &amp;gt;dskfile&lt;BR /&gt;#entry device file entry like&lt;BR /&gt;/dev/disk/disk60&lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;&lt;BR /&gt;for i in `cat dskfile`&lt;BR /&gt;do&lt;BR /&gt;pvdisplay -l $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this will let you know the desire output..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2010 04:35:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639019#M553920</guid>
      <dc:creator>singh sanjeev</dc:creator>
      <dc:date>2010-05-28T04:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639020#M553921</link>
      <description>I never tried this, but I think if no disk is loaded, the open fails already, hence the error on open.</description>
      <pubDate>Fri, 28 May 2010 04:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639020#M553921</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-05-28T04:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639021#M553922</link>
      <description>@ Sanjeev&lt;BR /&gt;Thanks for the script. But, I know that the command is working fine when run for individual disk (hence works with script as well).&lt;BR /&gt;&lt;BR /&gt;I was going through some doc which says that in 11.31 we can find disks that are NOT used by lvm by this command (with output):&lt;BR /&gt;# pvdisplay -l /dev/disk/disk* &lt;BR /&gt;/dev/disk/disk36:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk36_p1:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk36_p2:LVM_Disk=yes &lt;BR /&gt;/dev/disk/disk36_p3:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk37:LVM_Disk=no &lt;BR /&gt;/dev/disk/disk38:LVM_Disk=no &lt;BR /&gt;&lt;BR /&gt;But in my server above command is not working for disks.&lt;BR /&gt;&lt;BR /&gt;So, wanted to divert your attention toward disks..I am hardly concerned about DVD's output.</description>
      <pubDate>Fri, 28 May 2010 04:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639021#M553922</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2010-05-28T04:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639022#M553923</link>
      <description>Based on your ioscan output try&lt;BR /&gt;&lt;BR /&gt;pvdisplay -l /dev/dsk/c9*&lt;BR /&gt;pvdisplay -l /dev/dsk/c9t0d?&lt;BR /&gt;&lt;BR /&gt;I tried on hp-ux 11.11 "pvdisplay /dev/dsk/*" and it also exited after erroring out on the DVD drive.&lt;BR /&gt;&lt;BR /&gt;But then I narrowed it down to "pvdisplay /dev/dsk/c2*" (the DVD drive is c0t0d0) and it showed all disks in the c2 path.&lt;BR /&gt;&lt;BR /&gt;Apparently there may be something wrong with the error handling of the pvdisplay command.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2010 11:11:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639022#M553923</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-05-28T11:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639023#M553924</link>
      <description>pvdisplay will work only if the disk is part of any VG.</description>
      <pubDate>Sat, 29 May 2010 00:18:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639023#M553924</guid>
      <dc:creator>Benoy Daniel</dc:creator>
      <dc:date>2010-05-29T00:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: pvdisplay -l /dev/disk/disk* not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639024#M553925</link>
      <description>pvdisplay is not a hardware command like diskinfo. It is part of the LVM collection and is designed to look for LVM header information on disks. A CD or DVD is not a disk at all. It may be treated as such at a high level but the tracks on the CD/DVD have nothing to do with LVM, nor are the driver interfaces the same as a disk. pvdisplay employs some lower level driver code to look at the tracks -- CD/DVD players don't respond in the same way.&lt;BR /&gt; &lt;BR /&gt;If you want to look at every device file in /dev/disk, you'll first have to verify that the device file points to a working disk. Then use dd to read address 2000 and look for LVMREC. Once you have an LVM disk (whether recorded in lvmtab or not), you can then use pvdisplay.</description>
      <pubDate>Sat, 29 May 2010 00:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvdisplay-l-dev-disk-disk-not-working-properly/m-p/4639024#M553925</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-05-29T00:40:53Z</dc:date>
    </item>
  </channel>
</rss>

