<?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: vgdisplay output and MCSG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911233#M702872</link>
    <description>Well, if you don't want the scripts that are not activated then this is rather simple.&lt;BR /&gt;&lt;BR /&gt;After getting your VG name from /etc/lvmtab then:&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v ${VGNAME} &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;STAT=${?}&lt;BR /&gt;if [[ ${STAT} -eq 0 ]]&lt;BR /&gt;  then # ok&lt;BR /&gt;    vgdisplay -v ${VGNAME}&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Jul 2005 15:45:09 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-07-07T15:45:09Z</dc:date>
    <item>
      <title>vgdisplay output and MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911232#M702871</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Working with HPUX 11.23, MCSG 11.16, ia64 systems.&lt;BR /&gt;&lt;BR /&gt;Trying to write a script that uses the vgdisplay command. Trouble is I do not want the VGs that are not activated.&lt;BR /&gt;&lt;BR /&gt;Tried using grep -v, parsing through the /etc/lvmtab file, etc.&lt;BR /&gt;&lt;BR /&gt;Any hints?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2005 15:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911232#M702871</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-07T15:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: vgdisplay output and MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911233#M702872</link>
      <description>Well, if you don't want the scripts that are not activated then this is rather simple.&lt;BR /&gt;&lt;BR /&gt;After getting your VG name from /etc/lvmtab then:&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v ${VGNAME} &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;STAT=${?}&lt;BR /&gt;if [[ ${STAT} -eq 0 ]]&lt;BR /&gt;  then # ok&lt;BR /&gt;    vgdisplay -v ${VGNAME}&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2005 15:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911233#M702872</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-07-07T15:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgdisplay output and MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911234#M702873</link>
      <description>the only solution I could find to this &lt;BR /&gt;&lt;BR /&gt;vgdisplay | grep -v "not activated" | grep -v "Cannot display" &amp;gt; /tmp/file&lt;BR /&gt;&lt;BR /&gt;and the output is the details from active groups only. error messages dump to screen. for  some bizzare reason I could not get itto work with 2&amp;gt;/dev/null directive.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Thu, 07 Jul 2005 15:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911234#M702873</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-07T15:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: vgdisplay output and MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911235#M702874</link>
      <description>shorter form &lt;BR /&gt;&lt;BR /&gt;vgdisplay 2&amp;gt;/dev/null</description>
      <pubDate>Thu, 07 Jul 2005 15:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911235#M702874</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-07T15:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: vgdisplay output and MCSG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911236#M702875</link>
      <description>Thanks Clay.&lt;BR /&gt;&lt;BR /&gt;Mel - I was having similar issues as well.&lt;BR /&gt;&lt;BR /&gt;Thanks to both of you!</description>
      <pubDate>Thu, 07 Jul 2005 15:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgdisplay-output-and-mcsg/m-p/4911236#M702875</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-07T15:51:45Z</dc:date>
    </item>
  </channel>
</rss>

