<?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: Information about mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/information-about-mirror/m-p/2864349#M96937</link>
    <description>Hi Castro,&lt;BR /&gt;Try this i made specially for you.&lt;BR /&gt;#!/usr/bin/sh                                                         &lt;BR /&gt;echo "Information Volume Groups.." &amp;gt;&amp;gt;`hostname`.log                   &lt;BR /&gt;echo &amp;gt;&amp;gt;`hostname`.log                                                 &lt;BR /&gt;for i in `vgdisplay -v|grep "LV Name"|awk '{print $3}'`               &lt;BR /&gt;do                                                                    &lt;BR /&gt;lvdisplay $i|egrep -e "LV Name" -e "Mirror copies" &amp;gt;&amp;gt;`hostname`.log   &lt;BR /&gt;done                                                                  &lt;BR /&gt;echo "--------------------------------------------" &amp;gt;&amp;gt;`hostname`.log  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can either have whole lvdisplay or just the mirror copies as i am taking.&lt;BR /&gt;Note one thing i am doing only one loop instead of two.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
    <pubDate>Sat, 14 Dec 2002 05:37:56 GMT</pubDate>
    <dc:creator>Rajeev  Shukla</dc:creator>
    <dc:date>2002-12-14T05:37:56Z</dc:date>
    <item>
      <title>Information about mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/information-about-mirror/m-p/2864348#M96936</link>
      <description>I need information of mirror for several systems, something like that&lt;BR /&gt;echo "Information Volume Groups ..." &amp;gt;&amp;gt; `hostname`.log&lt;BR /&gt;echo &amp;gt;&amp;gt; `hostname`.log&lt;BR /&gt;for i in `vgdisplay | grep Name |awk '{print $3}'`&lt;BR /&gt;do&lt;BR /&gt;echo "Information the Logical Volumes for the el VG: `echo $i|cut -b 6-10` " &amp;gt;&amp;gt; `hostname`log&lt;BR /&gt;echo &amp;gt;&amp;gt; `hostname`.log&lt;BR /&gt;for j in $i/lv*&lt;BR /&gt;do&lt;BR /&gt;lvdisplay $j &amp;gt;&amp;gt; `hostname`.log&lt;BR /&gt;echo --------------------------------------------- &amp;gt;&amp;gt; `hostname`.log&lt;BR /&gt;echo &amp;gt;&amp;gt; `hostname`.log&lt;BR /&gt;done&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;The name of logical volume sometimes is lvolX but others is saX or TN*&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Dec 2002 20:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/information-about-mirror/m-p/2864348#M96936</guid>
      <dc:creator>castro_2</dc:creator>
      <dc:date>2002-12-13T20:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Information about mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/information-about-mirror/m-p/2864349#M96937</link>
      <description>Hi Castro,&lt;BR /&gt;Try this i made specially for you.&lt;BR /&gt;#!/usr/bin/sh                                                         &lt;BR /&gt;echo "Information Volume Groups.." &amp;gt;&amp;gt;`hostname`.log                   &lt;BR /&gt;echo &amp;gt;&amp;gt;`hostname`.log                                                 &lt;BR /&gt;for i in `vgdisplay -v|grep "LV Name"|awk '{print $3}'`               &lt;BR /&gt;do                                                                    &lt;BR /&gt;lvdisplay $i|egrep -e "LV Name" -e "Mirror copies" &amp;gt;&amp;gt;`hostname`.log   &lt;BR /&gt;done                                                                  &lt;BR /&gt;echo "--------------------------------------------" &amp;gt;&amp;gt;`hostname`.log  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can either have whole lvdisplay or just the mirror copies as i am taking.&lt;BR /&gt;Note one thing i am doing only one loop instead of two.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Sat, 14 Dec 2002 05:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/information-about-mirror/m-p/2864349#M96937</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2002-12-14T05:37:56Z</dc:date>
    </item>
  </channel>
</rss>

