<?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: relation between  disk device and  lvol in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866301#M397583</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you have use lvdisplay command to check distribution over disks&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vg04/lvol1</description>
    <pubDate>Wed, 20 Oct 2004 05:55:26 GMT</pubDate>
    <dc:creator>Slawomir Gora</dc:creator>
    <dc:date>2004-10-20T05:55:26Z</dc:date>
    <item>
      <title>relation between  disk device and  lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866300#M397582</link>
      <description>Hello&lt;BR /&gt;a sar -d produce  something like &lt;BR /&gt;12:42:12   device   %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;12:42:15   c1t2d0    0,66    0,50       1      11    0,31   12,06&lt;BR /&gt;in vgdisplay I have eventualy several  lvol for a    device. &lt;BR /&gt;in the example attached : &lt;BR /&gt;is /dev/dsk/c5t10d0  related to : /dev/vg04/lvol1 or  /dev/vg04/lvol2 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2004 05:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866300#M397582</guid>
      <dc:creator>Xavier BLANC</dc:creator>
      <dc:date>2004-10-20T05:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: relation between  disk device and  lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866301#M397583</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you have use lvdisplay command to check distribution over disks&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vg04/lvol1</description>
      <pubDate>Wed, 20 Oct 2004 05:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866301#M397583</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2004-10-20T05:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: relation between  disk device and  lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866302#M397584</link>
      <description>If you use&lt;BR /&gt;&lt;BR /&gt;pvdisplay -v /dev/dsk/c5t10d0&lt;BR /&gt;&lt;BR /&gt;you will get the details of the lvols that are located on that disk.</description>
      <pubDate>Wed, 20 Oct 2004 05:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866302#M397584</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2004-10-20T05:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: relation between  disk device and  lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866303#M397585</link>
      <description>&lt;BR /&gt;You may want to create a little relationship table for dsk -&amp;gt; vg -&amp;gt; lv(s).&lt;BR /&gt;For example with the perl scripts below&lt;BR /&gt;&lt;BR /&gt;cat dsk-to-lv&lt;BR /&gt;&lt;BR /&gt;while (&amp;lt;&amp;gt;) {&lt;BR /&gt;if  (/^VG Name\s+\/dev\/(\w+)/) { $vg=$1; $lv="" }&lt;BR /&gt;$lv .= " $1" if (/$vg\/(\w+)/);&lt;BR /&gt;printf "%-10s%-10s%s\n",$1,$vg,$lv if (/PV Name .*\/(\w+)$/);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;vgdisplay -p | perl dsk-to-lv&lt;BR /&gt;c0t6d0s2  vg00       lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8 lvol9 lvol0&lt;BR /&gt;c73t0d1   vg_nfs     lv_nfs&lt;BR /&gt;c73t0d2   vg_nfs     lv_nfs&lt;BR /&gt;c73t0d0   vg_02...&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2004 06:45:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866303#M397585</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-10-20T06:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: relation between  disk device and  lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866304#M397586</link>
      <description>I would suggest u to follow the same order &lt;BR /&gt;#pvdisplay -v /dev/dsk/c5t10d0 to identify how many lvols are configured on that pv&lt;BR /&gt;&lt;BR /&gt;#lvdisplay -v /dev/vg04/lvol1 to identify the PVs in  lvol1&lt;BR /&gt;regards&lt;BR /&gt;SK&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2004 06:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866304#M397586</guid>
      <dc:creator>Sยภเl Kย๓คг</dc:creator>
      <dc:date>2004-10-20T06:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: relation between  disk device and  lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866305#M397587</link>
      <description>Thanks to everybody&lt;BR /&gt;I do this script  if it can help   :&lt;BR /&gt; device=$1&lt;BR /&gt;pvdisplay -v /dev/dsk/$device | awk ' {&lt;BR /&gt;     if ( ( NR == 2  ) || ( NR == 3 ) ) {  print $0 }&lt;BR /&gt;     if ( ( NR == 19 )  ) {cmd = "grep "$1" /etc/fstab | cut -d \" \" -f 1,2";lv&lt;BR /&gt; = system(cmd) }&lt;BR /&gt;    }'&lt;BR /&gt;Xavier</description>
      <pubDate>Wed, 20 Oct 2004 11:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866305#M397587</guid>
      <dc:creator>Xavier BLANC</dc:creator>
      <dc:date>2004-10-20T11:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: relation between  disk device and  lvol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866306#M397588</link>
      <description>use this script : &lt;BR /&gt;device=$1&lt;BR /&gt;pvdisplay -v /dev/dsk/$device | awk ' {&lt;BR /&gt;     if ( ( NR == 2  ) || ( NR == 3 ) ) {  print $0 }&lt;BR /&gt;     if ( ( NR == 19 )  ) {cmd = "grep "$1" /etc/fstab | cut -d \" \" -f 1,2";lv&lt;BR /&gt; = system(cmd) }&lt;BR /&gt;    }'</description>
      <pubDate>Wed, 20 Oct 2004 11:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/relation-between-disk-device-and-lvol/m-p/4866306#M397588</guid>
      <dc:creator>Xavier BLANC</dc:creator>
      <dc:date>2004-10-20T11:21:35Z</dc:date>
    </item>
  </channel>
</rss>

