<?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 missing from /etc/lvmtab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794713#M616591</link>
    <description>If a storage is connected to the server then its not recommended to execute vgscan -a -v as it will add device files to other vgs also and  u may get confused so better way to add alternate disk is to do it manually. you know the device file names so execute vgextend command for each pv that will be added as alternate link.&lt;BR /&gt;If you want to do load sharing and change the prmiary link for different pvs then after extending it to alternate link execute vgreduce command on primarly link so the next link will become primary link. Later on add other link also so that will become alternate. This is helpful while planning for load sharing..</description>
    <pubDate>Sat, 27 May 2006 06:38:50 GMT</pubDate>
    <dc:creator>Mridul Shrivastava</dc:creator>
    <dc:date>2006-05-27T06:38:50Z</dc:date>
    <item>
      <title>Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794698#M616576</link>
      <description>&lt;BR /&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have some disks missing from /etc/lvmtab and need to get them back in there via vgextend etc, but wanted your advice on the best way to do it - This is the output from strings /etc/lvmtab -&lt;BR /&gt;&lt;BR /&gt;root@ugos388# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t1d0s2&lt;BR /&gt;/dev/dsk/c3t0d0s2&lt;BR /&gt;/dev/vgapp&lt;BR /&gt;/dev/dsk/c4t0d1&lt;BR /&gt;/dev/dsk/c8t0d1&lt;BR /&gt;/dev/vgclwss&lt;BR /&gt;/dev/dsk/c4t0d3&lt;BR /&gt;/dev/dsk/c4t0d4&lt;BR /&gt;/dev/dsk/c4t0d5&lt;BR /&gt;/dev/dsk/c4t0d6&lt;BR /&gt;/dev/vgclord&lt;BR /&gt;/dev/dsk/c4t0d7&lt;BR /&gt;/dev/dsk/c8t0d7&lt;BR /&gt;root@ugos388# &lt;BR /&gt;&lt;BR /&gt;The volume group /dev/vgclwss should have the alternate disks in the lvmtab, which should be /dev/dsk/c8 ...&lt;BR /&gt;&lt;BR /&gt;Can someone tell me how to identify the 4 disks that need to be put into the /etc/lvmtab file and the syntax to do that.&lt;BR /&gt;&lt;BR /&gt;Thanks alot&lt;BR /&gt;Trev</description>
      <pubDate>Thu, 25 May 2006 08:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794698#M616576</guid>
      <dc:creator>WSS</dc:creator>
      <dc:date>2006-05-25T08:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794699#M616577</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When you say the alternate disks are missing - do you mean the disks shown in vgdisplay -v output as Alternate Link ? &lt;BR /&gt;Then they will not show in the lvmtab as they are just differnt path to same disk.&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Thu, 25 May 2006 08:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794699#M616577</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-05-25T08:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794700#M616578</link>
      <description>Hi Trev:&lt;BR /&gt;&lt;BR /&gt;First, one does not edit '/etc/lvmtab'.  It is a binary file maintained by 'vgscan', 'vgextend', 'vgreduce', 'vgimport' and 'vgexport'.&lt;BR /&gt;&lt;BR /&gt;If you want to add alternate links (pvlinks) to the volume group "/dev/vgclwss", use 'vgextend':&lt;BR /&gt;&lt;BR /&gt;# vgextend /dev/vgclwss /dev/dsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 25 May 2006 08:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794700#M616578</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-05-25T08:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794701#M616579</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The alternate disks will not show up on the /etc/lvmtab file.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Thu, 25 May 2006 08:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794701#M616579</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2006-05-25T08:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794702#M616580</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;AFAIK, the simplest way to see alternate pth disks in /etc/lvmtab is to add the disks to volume group.&lt;BR /&gt;&lt;BR /&gt;If the alternate path is  dev/dsk/c8t0 , then the needed command is&lt;BR /&gt;vgextend /dev/vgclwss dev/dsk/c8t0d3 /dev/dsk/c8t0d4 /dev/dsk/c8t0d5 /dev/dsk/c8t0d6&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 May 2006 08:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794702#M616580</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-05-25T08:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794703#M616581</link>
      <description>Both the primary link and the alternate link should be included in the VG and the lvmtab.&lt;BR /&gt;&lt;BR /&gt;If you are not sure and are not on a clustered system, you could do the following steps:&lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.bak&lt;BR /&gt;vgscan -v # This will take awhile to run&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;#You should see the pvlinks in the vgdisplay and the lvmtab&lt;BR /&gt;vgchange -a y /dev/vgclwss &lt;BR /&gt;vgdisplay -v /dev/vgclwss &lt;BR /&gt;&lt;BR /&gt;If you have a way to find out which devices are suppose to be the alternate links, you can simply vgextend them into the VG.&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vgclwss /dev/dsk/cXtXdX</description>
      <pubDate>Thu, 25 May 2006 09:00:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794703#M616581</guid>
      <dc:creator>Josiah Henline</dc:creator>
      <dc:date>2006-05-25T09:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794704#M616582</link>
      <description>WSS,&lt;BR /&gt;&lt;BR /&gt;Sorry - the disks should be visible in /etc/lvmtab.&lt;BR /&gt;And you can add those disks using vgextend vgname disk1 disk2 ..&lt;BR /&gt;No points for my posts please.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Thu, 25 May 2006 09:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794704#M616582</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-05-25T09:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794705#M616583</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Before using vgextend check with pvdisplay -v /dev/dsk/c8t?d? if the disk belongs to a Volume Group.&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Thu, 25 May 2006 09:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794705#M616583</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-05-25T09:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794706#M616584</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to rescan and recreate the /etc/lvmtab,&lt;BR /&gt;&lt;BR /&gt;do move the existing lvmtab and rin #vgscan&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Thu, 25 May 2006 10:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794706#M616584</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-05-25T10:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794707#M616585</link>
      <description>Hi,&lt;BR /&gt;if the commmand &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v  /dev/vgclwss&lt;BR /&gt;&lt;BR /&gt;not shows the Alternate Link disk, Es:&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c6t3d4&lt;BR /&gt;   PV Name                     /dev/dsk/c4t4d3  Alternate Link&lt;BR /&gt;&lt;BR /&gt;You need to add them:&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vgclwss /dev/dsk/c8t0d3 /dev/dsk/c8t0d4 /dev/dsk/c8t0d5 /dev/dsk/c8t0d6&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab should to show them&lt;BR /&gt;&lt;BR /&gt;If the vgdisplay show them and lvmtan not show them, you need to run the vgscan command:&lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;vgscan -a -v -p (preview)&lt;BR /&gt;then&lt;BR /&gt;vgscan -a -v&lt;BR /&gt;&lt;BR /&gt;Enrico</description>
      <pubDate>Thu, 25 May 2006 10:16:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794707#M616585</guid>
      <dc:creator>Enrico P.</dc:creator>
      <dc:date>2006-05-25T10:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794708#M616586</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;Automatically the links will not disappear.Pls check the root cause of that...&lt;BR /&gt;For bringing the links its not a matter.u can issue vgextend..Is there any errors in the syslog regarding the missing links..&lt;BR /&gt;&lt;BR /&gt;Cheers &lt;BR /&gt;Arunkumar.B</description>
      <pubDate>Thu, 25 May 2006 10:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794708#M616586</guid>
      <dc:creator>Arunkumar.B</dc:creator>
      <dc:date>2006-05-25T10:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794709#M616587</link>
      <description>Could you post the output of ioscan...&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;&lt;BR /&gt;Were the alternate links present in /etc/lvmtab? If that's the case then the easiest way to recover them is by doing a   vgchange i.e.&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y vgclwss&lt;BR /&gt;&lt;BR /&gt;See vgchange(1M) for details.</description>
      <pubDate>Thu, 25 May 2006 19:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794709#M616587</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-05-25T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794710#M616588</link>
      <description>Hi Trev,&lt;BR /&gt;&lt;BR /&gt;Verify than diskc c7t0d[3-6], are presents in "vgclwss":&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vgclwss&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; Act PV ? &lt;BR /&gt;--&amp;gt; Physical volumes ---&lt;BR /&gt;    PV Names ?&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;&lt;BR /&gt;ran</description>
      <pubDate>Fri, 26 May 2006 01:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794710#M616588</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2006-05-26T01:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794711#M616589</link>
      <description>Trev,&lt;BR /&gt;Copy the lvmtab to some safe location and then do a vgscan&lt;BR /&gt;vgscan -a -v &lt;BR /&gt;this will recreate the lvmtab file</description>
      <pubDate>Fri, 26 May 2006 02:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794711#M616589</guid>
      <dc:creator>BPatrick</dc:creator>
      <dc:date>2006-05-26T02:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794712#M616590</link>
      <description>vgdipslay -v vgXX should show the pv links. then vgextend dev/vgXX /dev/dsk/c#t#d#. do a strings on /etc/lvmtab and you should the the pv link.</description>
      <pubDate>Fri, 26 May 2006 09:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794712#M616590</guid>
      <dc:creator>Sp4admin</dc:creator>
      <dc:date>2006-05-26T09:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794713#M616591</link>
      <description>If a storage is connected to the server then its not recommended to execute vgscan -a -v as it will add device files to other vgs also and  u may get confused so better way to add alternate disk is to do it manually. you know the device file names so execute vgextend command for each pv that will be added as alternate link.&lt;BR /&gt;If you want to do load sharing and change the prmiary link for different pvs then after extending it to alternate link execute vgreduce command on primarly link so the next link will become primary link. Later on add other link also so that will become alternate. This is helpful while planning for load sharing..</description>
      <pubDate>Sat, 27 May 2006 06:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794713#M616591</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2006-05-27T06:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Disks missing from /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794714#M616592</link>
      <description>&lt;BR /&gt;Thanks for all responses guys, I have vgextend'ed the volume group and the disks are now seen in the strings /etc/lvmtab. Sorry it's taken a while to get back, but been a little hectic here.&lt;BR /&gt;&lt;BR /&gt;For those that suggested doing a vgscan -a -v I didn't do this, as this can cause more problems than is already there!! You need to be VERY careful when running vgscan it's a very powerful command&lt;BR /&gt;&lt;BR /&gt;James - I never said I was going to 'edit' the /etc/lvmtab file, I know you can't do that, I said I was going to use vgextend to add the disks&lt;BR /&gt;&lt;BR /&gt;All people that suggested searching for the correct disks and using vgextend to add them I have assigned points.&lt;BR /&gt;&lt;BR /&gt;In Summary -&lt;BR /&gt;&lt;BR /&gt;I did this (for each disk that should be in /dev/vgclwss)&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnC disk | grep c8t0d3 (d4, d5 &amp;amp; d6)&lt;BR /&gt;# vgextend /dev/vgclwss /dev/dsk/c8t0d3 (d4, d5 &amp;amp; d6)&lt;BR /&gt;&lt;BR /&gt;And this is now my strings /etc/lvmtab output -&lt;BR /&gt;&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t1d0s2&lt;BR /&gt;/dev/dsk/c3t0d0s2&lt;BR /&gt;/dev/vgapp&lt;BR /&gt;/dev/dsk/c4t0d1&lt;BR /&gt;/dev/dsk/c8t0d1&lt;BR /&gt;/dev/vgclwss&lt;BR /&gt;/dev/dsk/c4t0d3&lt;BR /&gt;/dev/dsk/c4t0d4&lt;BR /&gt;/dev/dsk/c4t0d5&lt;BR /&gt;/dev/dsk/c4t0d6&lt;BR /&gt;/dev/dsk/c8t0d3&lt;BR /&gt;/dev/dsk/c8t0d4&lt;BR /&gt;/dev/dsk/c8t0d5&lt;BR /&gt;/dev/dsk/c8t0d6&lt;BR /&gt;/dev/vgclord&lt;BR /&gt;/dev/dsk/c4t0d7&lt;BR /&gt;/dev/dsk/c8t0d7&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks all.&lt;BR /&gt;Trev</description>
      <pubDate>Tue, 06 Jun 2006 08:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disks-missing-from-etc-lvmtab/m-p/3794714#M616592</guid>
      <dc:creator>WSS</dc:creator>
      <dc:date>2006-06-06T08:00:35Z</dc:date>
    </item>
  </channel>
</rss>

