<?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: disks with associate vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871694#M98611</link>
    <description>thanks a lot for your script and thanks everybody !!&lt;BR /&gt;regards,&lt;BR /&gt;Gerald</description>
    <pubDate>Mon, 30 Dec 2002 16:21:59 GMT</pubDate>
    <dc:creator>Gerald_13</dc:creator>
    <dc:date>2002-12-30T16:21:59Z</dc:date>
    <item>
      <title>disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871683#M98600</link>
      <description>Hi,&lt;BR /&gt;I would like to know how list disk with associate vg name and unused disks with one command with one display (like lspv in AIX OS if you know this os)&lt;BR /&gt;Thanks very much for your help.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Gerald</description>
      <pubDate>Mon, 30 Dec 2002 15:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871683#M98600</guid>
      <dc:creator>Gerald_13</dc:creator>
      <dc:date>2002-12-30T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871684#M98601</link>
      <description>Hi Gerald,&lt;BR /&gt;&lt;BR /&gt;How about &lt;BR /&gt;# vgdisplay -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Mon, 30 Dec 2002 15:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871684#M98601</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2002-12-30T15:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871685#M98602</link>
      <description>Hi Gerald,&lt;BR /&gt;&lt;BR /&gt;To list all the disks that a system can see, you can do this:&lt;BR /&gt;&lt;BR /&gt;ioscan -fnC disk&lt;BR /&gt;&lt;BR /&gt;To see which disks are used in your volume groups, do:&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v&lt;BR /&gt;&lt;BR /&gt;I'm familiar with the 'lspv' command in AIX, and there isn't an equivalent command in HP-UX.  For you HP-UX guys, here is what the output of an 'lspv' looks like:&lt;BR /&gt;&lt;BR /&gt;# lspv&lt;BR /&gt;hdisk0         006016216115490d    rootvg&lt;BR /&gt;hdisk1         0060162185f82c12    catvg&lt;BR /&gt;hdisk2         0060162185f83c87    catvg&lt;BR /&gt;hdisk3         0060162185f81a6b    bkupvg&lt;BR /&gt;hdisk4         006016214a52901a    catvg&lt;BR /&gt;hdisk5         006016214a52928a    catvg&lt;BR /&gt;&lt;BR /&gt;It lists the disk device name, a disk ID, and the volume group that each disk belongs to.  Kind of cool, but there isn't a similar command in HP-UX.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Dec 2002 15:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871685#M98602</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-12-30T15:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871686#M98603</link>
      <description>Hi Gerald:&lt;BR /&gt;&lt;BR /&gt;HP-UX doesn't have a single command that provides the information like AIX's 'lspv'.&lt;BR /&gt;&lt;BR /&gt;'ioscan -kfnC disk' will return a list of all disk devices.  This does not distinguish between used, unused and 'pvlink' devices.&lt;BR /&gt;&lt;BR /&gt;'vgdisplay -v' will return a listing of all disk devices as associated with all volume groups including the logical volumes (if any) associated with each.  It probably comes closest to 'lspv'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 30 Dec 2002 16:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871686#M98603</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-12-30T16:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871687#M98604</link>
      <description>Thanks very much Robert-jan but with this command, I haven't got free disks. When there are a lot of disk the "ioscan -fnk -C disk" it is not very good for display the unused disks.&lt;BR /&gt;Have you got another solution?&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;Gerald</description>
      <pubDate>Mon, 30 Dec 2002 16:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871687#M98604</guid>
      <dc:creator>Gerald_13</dc:creator>
      <dc:date>2002-12-30T16:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871688#M98605</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try with "vgdisplay  -v &lt;VGNAME&gt;"&lt;BR /&gt;&lt;BR /&gt;If you need more info about use "man vgdisplay"&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/VGNAME&gt;</description>
      <pubDate>Mon, 30 Dec 2002 16:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871688#M98605</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2002-12-30T16:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871689#M98606</link>
      <description>Hi Gerald,&lt;BR /&gt;&lt;BR /&gt;Well John showed me what a wonderfull command AIX got, hpux does not do "that" in one command ;&amp;gt;)&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Mon, 30 Dec 2002 16:04:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871689#M98606</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2002-12-30T16:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871690#M98607</link>
      <description>thanks very much for you help.&lt;BR /&gt;I've got my reponse, it doesn't exist a similar command as AIX.&lt;BR /&gt;OK thank's very much and happy new year everybody and sorry for my bad english.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Gerald</description>
      <pubDate>Mon, 30 Dec 2002 16:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871690#M98607</guid>
      <dc:creator>Gerald_13</dc:creator>
      <dc:date>2002-12-30T16:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871691#M98608</link>
      <description>You can compare what is in your lvmtab file with the actual disk devices files on your system. I quickly ran this command to list the physical devices listed in the current /etc/lvmtab file. To do this, make sure that your /etc/lvmtab file is current and accurate.&lt;BR /&gt;&lt;BR /&gt;#strings /etc/lvmtab | grep -v "/dev/dsk" | xargs vgdisplay -v | grep "PV Name"&lt;BR /&gt;&lt;BR /&gt;Then compare this output to the actual physical disks on your system... from ioscan or looking in the /dev directory.  Its crude but it one way.... sure you get more responses.</description>
      <pubDate>Mon, 30 Dec 2002 16:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871691#M98608</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2002-12-30T16:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871692#M98609</link>
      <description>Hi Gerald,&lt;BR /&gt;&lt;BR /&gt;The closest I can think of is a Veritas Volume Manager command, but obviously you need VxVM installed and be at least 11i! Otherwise use strings on /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c1t4d0&lt;BR /&gt;# vxdisk list&lt;BR /&gt;DEVICE       TYPE      DISK         GROUP        STATUS&lt;BR /&gt;c0t6d0       simple    -            -            LVM&lt;BR /&gt;c1t0d0       simple    disk01       rootdg       online&lt;BR /&gt;c1t2d0       simple    disk02       oracledg     online&lt;BR /&gt;c1t4d0       simple    -            -            LVM&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Dec 2002 16:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871692#M98609</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2002-12-30T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871693#M98610</link>
      <description>I don't know HP-UX command that would do it, so I wrote a script (see attachment). It may not be perfect (i.e. it shows CD-ROM just like hard disk), but works for me.&lt;BR /&gt;Enjoy!</description>
      <pubDate>Mon, 30 Dec 2002 16:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871693#M98610</guid>
      <dc:creator>Vitek Pepas</dc:creator>
      <dc:date>2002-12-30T16:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871694#M98611</link>
      <description>thanks a lot for your script and thanks everybody !!&lt;BR /&gt;regards,&lt;BR /&gt;Gerald</description>
      <pubDate>Mon, 30 Dec 2002 16:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871694#M98611</guid>
      <dc:creator>Gerald_13</dc:creator>
      <dc:date>2002-12-30T16:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871695#M98612</link>
      <description>Also Gerald , incase the lvmtab is screwed up or doesnt report the correct disks , string /etc/lvmconf/vg01.conf will tell you the correct inforramtion .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 30 Dec 2002 17:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871695#M98612</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-12-30T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: disks with associate vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871696#M98613</link>
      <description>If you use the "SAM" utility in HP-UX, you can display all the disks, used and unused.</description>
      <pubDate>Wed, 29 Dec 2004 08:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-with-associate-vg/m-p/2871696#M98613</guid>
      <dc:creator>Daniel B. Smith</dc:creator>
      <dc:date>2004-12-29T08:20:43Z</dc:date>
    </item>
  </channel>
</rss>

