<?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: lvm question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425275#M354897</link>
    <description>&amp;gt;&amp;gt;&amp;gt;how do i remove a physical disk path from lvmtab file&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/&lt;VG_NAME&gt;  /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;# vgexport /dev/&lt;VG_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BELOW commands="" used="" reflect="" changes="" after="" to="" remove="" physical="" disk="" path="" from="" lvmtab="" file=""&gt;&lt;BR /&gt;&lt;BR /&gt;# cp -pi /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.16april2006&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/vgscan -v&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;/BELOW&gt;&lt;/VG_NAME&gt;&lt;/VG_NAME&gt;</description>
    <pubDate>Sat, 23 May 2009 12:15:28 GMT</pubDate>
    <dc:creator>Johnson Punniyalingam</dc:creator>
    <dc:date>2009-05-23T12:15:28Z</dc:date>
    <item>
      <title>lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425266#M354888</link>
      <description>how do i remove a physical disk path from lvmtab file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 May 2009 21:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425266#M354888</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2009-05-22T21:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425267#M354889</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;check this thread, it can help ..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1243031985423+28353475&amp;amp;threadId=1254676" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1243031985423+28353475&amp;amp;threadId=1254676&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Kamal</description>
      <pubDate>Fri, 22 May 2009 21:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425267#M354889</guid>
      <dc:creator>kemo</dc:creator>
      <dc:date>2009-05-22T21:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425268#M354890</link>
      <description>Remove it from the volume group.</description>
      <pubDate>Fri, 22 May 2009 21:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425268#M354890</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-05-22T21:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425269#M354891</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Remove the physical volume from the Volume group, move old /etc/lvmtab file to other location and run vgscan again to have new lvmtab in place.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 22 May 2009 23:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425269#M354891</guid>
      <dc:creator>Nido</dc:creator>
      <dc:date>2009-05-22T23:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425270#M354892</link>
      <description>Hi Navin,&lt;BR /&gt;&lt;BR /&gt;Check the attached doc.&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
      <pubDate>Sat, 23 May 2009 02:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425270#M354892</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-05-23T02:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425271#M354893</link>
      <description>Hi Navin,&lt;BR /&gt;&lt;BR /&gt;In order to remove only one disk from lvmtab, you can simply do:&lt;BR /&gt;# vgreduce vgXX /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;If the disk is not responding or giving trouble, you use:&lt;BR /&gt;# vgreduce -f vgXX &amp;lt;== this will reduce missing PV from a VG&lt;BR /&gt;&lt;BR /&gt;If you want to remove all the disks in a VG, that is you no longer need a VG, use following command to get rid of that VG permanently:&lt;BR /&gt;# vgexport vgXX&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See man page of above commands for more options.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.</description>
      <pubDate>Sat, 23 May 2009 02:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425271#M354893</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-05-23T02:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425272#M354894</link>
      <description>Hi Navin,&lt;BR /&gt;&lt;BR /&gt;Follow the below steps,&lt;BR /&gt;&lt;BR /&gt;If lvm is created , then&lt;BR /&gt;#umount /mountpont&lt;BR /&gt;#lvremove -f /dev/vgxx/lvyy&lt;BR /&gt;#vgchange -a n /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;Remove physical volume /dev/dsk/cxtxdx from volume group /dev/vgxx: &lt;BR /&gt;&lt;BR /&gt;#vgreduce /dev/vgxx /dev/dsk/cxtxdx &lt;BR /&gt;Force reduction of missing PVs from volume group: vg01 &lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vgxx &lt;BR /&gt;&lt;BR /&gt;After that check&lt;BR /&gt;#strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;or,&lt;BR /&gt;Export the volume group /dev/vg01 into mapfile vg01.mymap. The volume group will be removed from the exporting system. &lt;BR /&gt;&lt;BR /&gt;#vgexport -m  vgxx.mymap /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/vgreduce.1M.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/vgreduce.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60103/vgexport.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60103/vgexport.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds//&lt;BR /&gt;Taifur</description>
      <pubDate>Sat, 23 May 2009 03:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425272#M354894</guid>
      <dc:creator>Taifur</dc:creator>
      <dc:date>2009-05-23T03:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425273#M354895</link>
      <description>Dear Navin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please see the link&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4616/ch03s01.html" target="_blank"&gt;http://docs.hp.com/en/5992-4616/ch03s01.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Sat, 23 May 2009 05:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425273#M354895</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-05-23T05:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425274#M354896</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use "vgexport" "vgreduce" or "sam" to  remove physical disk.&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Sat, 23 May 2009 09:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425274#M354896</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-23T09:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425275#M354897</link>
      <description>&amp;gt;&amp;gt;&amp;gt;how do i remove a physical disk path from lvmtab file&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/&lt;VG_NAME&gt;  /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;# vgexport /dev/&lt;VG_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BELOW commands="" used="" reflect="" changes="" after="" to="" remove="" physical="" disk="" path="" from="" lvmtab="" file=""&gt;&lt;BR /&gt;&lt;BR /&gt;# cp -pi /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.16april2006&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/vgscan -v&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;/BELOW&gt;&lt;/VG_NAME&gt;&lt;/VG_NAME&gt;</description>
      <pubDate>Sat, 23 May 2009 12:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425275#M354897</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-05-23T12:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425276#M354898</link>
      <description>Unless you have other issues, you should not need to do a vgscan after removing a disk from a VG to remove it from the /etc/lvmtab file.&lt;BR /&gt;&lt;BR /&gt;That is part of the work that the LVM commands do.&lt;BR /&gt;&lt;BR /&gt;The question was: "how do i remove a physical disk path from lvmtab file."&lt;BR /&gt;&lt;BR /&gt;The answer is "remove the disk from the VG."  To do this you use the vgreduce command.  If everything else is working correctly, that is ALL you need to do.&lt;BR /&gt;&lt;BR /&gt;If you have other problems, then other actions may be required, but that is not what was asked.</description>
      <pubDate>Sat, 23 May 2009 14:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425276#M354898</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-05-23T14:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: lvm question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425277#M354899</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I second Patrick's last response.  You should familarize yourself with the side-effects of running 'vgscan' to reconstruct an 'lvmtab'.  Read the WARNINGS section of the manpages!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-60130/vgscan.1M.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-60130/vgscan.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As noted, if there isn't a specific need to reconstruct the 'lvmtab' then doing so only leads to more work on your part!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 23 May 2009 14:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/4425277#M354899</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-05-23T14:50:38Z</dc:date>
    </item>
  </channel>
</rss>

