<?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 Strange /etc/lvmtab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374730#M625883</link>
    <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;I have a strange /etc/lvmtab on my HP L1000.&lt;BR /&gt;One of the mirrored disk of vg01 was faulty and my procedure to replace it doesn't work this time :&lt;BR /&gt;&lt;BR /&gt;1) ioscan to find which disk is faulty&lt;BR /&gt;2) disk replacement&lt;BR /&gt;3) pvcreate -f /dev/rdsk/c1t2d0&lt;BR /&gt;4) vgcfgrestore -n /dev/rdsk/c1t2d0 (this command never end today :-( )&lt;BR /&gt;5) vgchange -a y /dev/vg01&lt;BR /&gt;6) vgsync /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Here is my lvmtab file :&lt;BR /&gt;#strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;:6U&lt;BR /&gt;/dev/dsk/c2t0d0&lt;BR /&gt;/dev/dsk/c1t0d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;i:78&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;I already try to move the current /etc/lvmtab and to recreat it with the vgscan -av command but the new file still the same.&lt;BR /&gt;&lt;BR /&gt;Any idea ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Antony</description>
    <pubDate>Wed, 08 Sep 2004 10:35:44 GMT</pubDate>
    <dc:creator>Machu</dc:creator>
    <dc:date>2004-09-08T10:35:44Z</dc:date>
    <item>
      <title>Strange /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374730#M625883</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;I have a strange /etc/lvmtab on my HP L1000.&lt;BR /&gt;One of the mirrored disk of vg01 was faulty and my procedure to replace it doesn't work this time :&lt;BR /&gt;&lt;BR /&gt;1) ioscan to find which disk is faulty&lt;BR /&gt;2) disk replacement&lt;BR /&gt;3) pvcreate -f /dev/rdsk/c1t2d0&lt;BR /&gt;4) vgcfgrestore -n /dev/rdsk/c1t2d0 (this command never end today :-( )&lt;BR /&gt;5) vgchange -a y /dev/vg01&lt;BR /&gt;6) vgsync /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Here is my lvmtab file :&lt;BR /&gt;#strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;:6U&lt;BR /&gt;/dev/dsk/c2t0d0&lt;BR /&gt;/dev/dsk/c1t0d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;i:78&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;I already try to move the current /etc/lvmtab and to recreat it with the vgscan -av command but the new file still the same.&lt;BR /&gt;&lt;BR /&gt;Any idea ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Antony</description>
      <pubDate>Wed, 08 Sep 2004 10:35:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374730#M625883</guid>
      <dc:creator>Machu</dc:creator>
      <dc:date>2004-09-08T10:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Strange /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374731#M625884</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the correct procedure is,&lt;BR /&gt;&lt;BR /&gt;1) ioscan to find which disk is faulty&lt;BR /&gt;2) disk replacement&lt;BR /&gt;3) vgcfgrestore -n  /dev/vg01 /dev/rdsk/c1t2d0 &lt;BR /&gt;4) vgchange -a y /dev/vg01&lt;BR /&gt;5) vgsync /dev/vg01&lt;BR /&gt;&lt;BR /&gt;But you need the old lvmtab since the new lvmtab does not have the disk that went bad listed in it. you don't need to do a pvcreate on a disk that you want to replace using vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2004 10:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374731#M625884</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-09-08T10:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Strange /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374732#M625885</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a couple of questions.&lt;BR /&gt;&lt;BR /&gt;Did c1t2d0 show up in an ioscan after you replaced the disk?  Is c1t2d0 a separate disk or is it an alternate path to c2t2d0?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2004 10:40:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374732#M625885</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-09-08T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Strange /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374733#M625886</link>
      <description>I think you vgcfgrestore command is not correct.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg01 /dev/rdsk/diskname &lt;BR /&gt;followed by vgchange -a y /dev/vg01,&lt;BR /&gt;vgsync /dev/vg01&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 08 Sep 2004 10:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374733#M625886</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2004-09-08T10:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Strange /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374734#M625887</link>
      <description>Quoting Sanjay:&lt;BR /&gt;But you need the old lvmtab since the new lvmtab does not have the disk that went bad listed in it. you don't need to do a pvcreate on a disk that you want to replace using vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;unquote&lt;BR /&gt;&lt;BR /&gt;I agree you dont need to vgscan to replace a disk unless your /etc/lvmtab is messed up. &lt;BR /&gt;&lt;BR /&gt;You dont need to pvcreate either if the disk is still listed in /etc/lvmtab as well.&lt;BR /&gt;&lt;BR /&gt;The only steps i routinely do for non-root mirrored disks is:&lt;BR /&gt;&lt;BR /&gt;ioscan -fnC disk&lt;BR /&gt;vgcfgrestore -n /dev/vg01 /dev/dsk/cXtXdX&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;vgsync /dev/vg01</description>
      <pubDate>Wed, 08 Sep 2004 10:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374734#M625887</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-09-08T10:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Strange /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374735#M625888</link>
      <description>Thanks for your (very fast) answer,&lt;BR /&gt;&lt;BR /&gt;Sanjay: I will update my way to do with Your procedure...&lt;BR /&gt;&lt;BR /&gt;John Poff:&lt;BR /&gt;all the disks are CLAIMED in the ioscan&lt;BR /&gt;this is a separate disk&lt;BR /&gt;There is 4 disks :&lt;BR /&gt;2x 9GB disk for the OS (mirrored)&lt;BR /&gt;2x 9GB disks for the data (mirrored)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Antony</description>
      <pubDate>Wed, 08 Sep 2004 10:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374735#M625888</guid>
      <dc:creator>Machu</dc:creator>
      <dc:date>2004-09-08T10:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Strange /etc/lvmtab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374736#M625889</link>
      <description>OK for the vgrestore line : I made a bad copy/paste... Sorry !&lt;BR /&gt;&lt;BR /&gt;Indeed, the correct line was :&lt;BR /&gt;# vgcfgrestore -n /dev/vg01 /dev/rdsk/c1t2d0</description>
      <pubDate>Wed, 08 Sep 2004 10:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-etc-lvmtab/m-p/3374736#M625889</guid>
      <dc:creator>Machu</dc:creator>
      <dc:date>2004-09-08T10:58:56Z</dc:date>
    </item>
  </channel>
</rss>

