<?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: rename vg , lv and mount point in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764480#M73260</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If the filesystem is not mounted :&lt;BR /&gt;&lt;BR /&gt;# mv dvlp01  prod04 &lt;BR /&gt;# vgexport -v -s -m vg01.mapfile dvlp01&lt;BR /&gt;# vi vg01.mapfile     --&amp;gt; replace lvol1 with lv0l4 &lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;# vgimport -v -s -m vg01.mapfile vg01&lt;BR /&gt;&lt;BR /&gt;If the filesystem is used by a SG package :&lt;BR /&gt;- edit the cluster configuration file and replace /dev/dvlp01 with /dev/vg01&lt;BR /&gt;- edit the package configuration file to change the vg info : VG[0]=... LV[]...FS[]...&lt;BR /&gt;- report the odifications to all the nodes.&lt;BR /&gt;&lt;BR /&gt;I the filesystem is not used by SG then edit the fstab andmodify it.&lt;BR /&gt;&lt;BR /&gt;Fr??d??ric</description>
    <pubDate>Tue, 16 Jul 2002 07:34:23 GMT</pubDate>
    <dc:creator>Frederic Sevestre</dc:creator>
    <dc:date>2002-07-16T07:34:23Z</dc:date>
    <item>
      <title>rename vg , lv and mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764477#M73257</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I need to rename mount point, logical volume and volume group.  I know renaming mount point is easy, but what about the others ?  How do I do it if I know it is empty ? &lt;BR /&gt;&lt;BR /&gt;The system is running on cluster, so I believe I need to change the vginfo of /etc/cmcluster, any other things that I have missed out ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example :&lt;BR /&gt;From &lt;BR /&gt;/dev/dvlp01/lvol1 /dvlp01&lt;BR /&gt;To&lt;BR /&gt;/dev/vg01/lv0l4   /prod04&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2002 07:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764477#M73257</guid>
      <dc:creator>ITSD-ACCS</dc:creator>
      <dc:date>2002-07-16T07:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: rename vg , lv and mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764478#M73258</link>
      <description>vgchange -an dvlp01&lt;BR /&gt;vgexport -v -m /etc/lvmconf/dvlp01.map /dev/dvlp01&lt;BR /&gt;vi /etc/lvmconf/dvlp01.map # and adjust like you want&lt;BR /&gt;mkdir /dev/vg01&lt;BR /&gt;mknod /dev/vg01/group c 64 01010000&lt;BR /&gt;vgimport -v /dev/vg01 -m /etc/lvmconf/dvlp01.map&lt;BR /&gt;vgchange -ay vg01&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2002 07:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764478#M73258</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2002-07-16T07:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: rename vg , lv and mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764479#M73259</link>
      <description>If by empry you mean there is no data on the lvols, you can just lvremove and vgremove them and create them anew.&lt;BR /&gt;It this VG is part of a ServiceGuard package you will need to remove the "old" lvols/vg on the other nodes and import the new.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Tue, 16 Jul 2002 07:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764479#M73259</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2002-07-16T07:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: rename vg , lv and mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764480#M73260</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If the filesystem is not mounted :&lt;BR /&gt;&lt;BR /&gt;# mv dvlp01  prod04 &lt;BR /&gt;# vgexport -v -s -m vg01.mapfile dvlp01&lt;BR /&gt;# vi vg01.mapfile     --&amp;gt; replace lvol1 with lv0l4 &lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;# vgimport -v -s -m vg01.mapfile vg01&lt;BR /&gt;&lt;BR /&gt;If the filesystem is used by a SG package :&lt;BR /&gt;- edit the cluster configuration file and replace /dev/dvlp01 with /dev/vg01&lt;BR /&gt;- edit the package configuration file to change the vg info : VG[0]=... LV[]...FS[]...&lt;BR /&gt;- report the odifications to all the nodes.&lt;BR /&gt;&lt;BR /&gt;I the filesystem is not used by SG then edit the fstab andmodify it.&lt;BR /&gt;&lt;BR /&gt;Fr??d??ric</description>
      <pubDate>Tue, 16 Jul 2002 07:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764480#M73260</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2002-07-16T07:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: rename vg , lv and mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764481#M73261</link>
      <description>Thanks a lot ! But what if vg of dvlp01 has been partitioned into lvol2...lvol3, would vgexport /dev/dvlp01 affect other lv ?</description>
      <pubDate>Tue, 16 Jul 2002 08:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764481#M73261</guid>
      <dc:creator>ITSD-ACCS</dc:creator>
      <dc:date>2002-07-16T08:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: rename vg , lv and mount point</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764482#M73262</link>
      <description>Yes, all the dvp01's lv will now belongs to vg01. You can change their names editing the mapfile before the vgimport.&lt;BR /&gt;&lt;BR /&gt;Fr??d??ric</description>
      <pubDate>Tue, 16 Jul 2002 08:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rename-vg-lv-and-mount-point/m-p/2764482#M73262</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2002-07-16T08:28:04Z</dc:date>
    </item>
  </channel>
</rss>

