<?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: Renaming Volume groups in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156651#M629136</link>
    <description>Yes, that should do nicely.&lt;BR /&gt;&lt;BR /&gt;Remember that before you vgexport vdsk01, you must unmount all LVs, and deactivate the VG (vgchange -a n vdsk01).&lt;BR /&gt;&lt;BR /&gt;Then after you re-import it as VG02, don't forget to change your /etc/fstab file so that it mounts using /dev/vg02/lvol? rather than /dev/vdsk01/lvol?.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
    <pubDate>Mon, 05 Jan 2004 17:50:07 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2004-01-05T17:50:07Z</dc:date>
    <item>
      <title>Renaming Volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156650#M629135</link>
      <description>Looking to renaming a volume group. Have the following scenario - Volume group vdsk01 with 6 logical volumes shown below. OS is HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;/dev/vdsk01/lvol1&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;/dev/vdsk01/lvol6&lt;BR /&gt;&lt;BR /&gt;My guess is to do the following steps - correct me if I'm wrong which I think I am&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; vgexport -s -p -m vdsk.map vdsk01&lt;BR /&gt;==&amp;gt; mkdir /dev/vg02&lt;BR /&gt;==&amp;gt; mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;==&amp;gt; vgchange -a y vg02&lt;BR /&gt;==&amp;gt; vgimport -s -m vdsk.map vg02&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jan 2004 17:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156650#M629135</guid>
      <dc:creator>Phil Storer</dc:creator>
      <dc:date>2004-01-05T17:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156651#M629136</link>
      <description>Yes, that should do nicely.&lt;BR /&gt;&lt;BR /&gt;Remember that before you vgexport vdsk01, you must unmount all LVs, and deactivate the VG (vgchange -a n vdsk01).&lt;BR /&gt;&lt;BR /&gt;Then after you re-import it as VG02, don't forget to change your /etc/fstab file so that it mounts using /dev/vg02/lvol? rather than /dev/vdsk01/lvol?.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Mon, 05 Jan 2004 17:50:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156651#M629136</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-01-05T17:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156652#M629137</link>
      <description>Here are my notes from when I did this last:&lt;BR /&gt;&lt;BR /&gt;A.      Outline&lt;BR /&gt;&lt;BR /&gt;                record minor number (if you want to reuse)&lt;BR /&gt;                unmount file systems&lt;BR /&gt;                make map file&lt;BR /&gt;                vgexport vg&lt;BR /&gt;                vgimport vg with new name&lt;BR /&gt;                make new mount points&lt;BR /&gt;                update /etc/fstab&lt;BR /&gt;                mount new LVs&lt;BR /&gt;                extend orabin&lt;BR /&gt;                create oradata04&lt;BR /&gt;&lt;BR /&gt;B.      Steps:&lt;BR /&gt;&lt;BR /&gt;        1.      Unmount all file systems:&lt;BR /&gt;&lt;BR /&gt;                        umount /ci_clp_dvd/oradata01&lt;BR /&gt;                        umount /ci_clp_dvd/oradata02&lt;BR /&gt;                        umount /ci_clp_dvd/oradata03&lt;BR /&gt;                        umount /ci_clp_dvd/orabin&lt;BR /&gt;                        umount /ci_clp_dvd/oraadmin&lt;BR /&gt;&lt;BR /&gt;        2.      Make map file:&lt;BR /&gt;&lt;BR /&gt;                        cd /root/doc&lt;BR /&gt;                        vgexport -s -p -v -m mapfile.clp vgci_clp_dvd&lt;BR /&gt;&lt;BR /&gt;                Verify:&lt;BR /&gt;&lt;BR /&gt;                        cat mapfile.clp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        3.      Vgexport the VG:&lt;BR /&gt;&lt;BR /&gt;                a.      Note the minor number:&lt;BR /&gt;&lt;BR /&gt;                                ll /dev/vgci*/group&lt;BR /&gt;                                                        11&lt;BR /&gt;&lt;BR /&gt;                        vgchange -a n vgci_clp_dvd&lt;BR /&gt;                        vgexport vgci_clp_dvd&lt;BR /&gt;&lt;BR /&gt;        4.      vgimport the VG with new name, same minor number:&lt;BR /&gt;&lt;BR /&gt;                        mkdir /dev/vgaa_gen_dvd&lt;BR /&gt;                        mknod /dev/vgaa_gen_dvd/group c 64 0x110000&lt;BR /&gt;                        vgimport -s -v -m mapfile.clp vgaa_gen_dvd&lt;BR /&gt;                        vgchange -a y&lt;BR /&gt;&lt;BR /&gt;                        vgreduce alternate links (we don't use them)&lt;BR /&gt;&lt;BR /&gt;                        vgdisplay vgaa_gen_dvd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        5.      Make new mount points:&lt;BR /&gt;&lt;BR /&gt;                        mkdir -p /aa_gen_dvd/orabin&lt;BR /&gt;                        mkdir -p /aa_gen_dvd/oraadmin&lt;BR /&gt;                        mkdir -p /aa_gen_dvd/oradata01&lt;BR /&gt;                        mkdir -p /aa_gen_dvd/oradata02&lt;BR /&gt;                        mkdir -p /aa_gen_dvd/oradata03&lt;BR /&gt;                        mkdir -p /aa_gen_dvd/oradata04&lt;BR /&gt;&lt;BR /&gt;        6.      Edit /etc/fstab&lt;BR /&gt;&lt;BR /&gt;                        vi /etc/fstab&lt;BR /&gt;                        change:&lt;BR /&gt;                                ci_clp_dvd      -&amp;gt;      aa_gen_dvd&lt;BR /&gt;&lt;BR /&gt;        7.      Mount:&lt;BR /&gt;&lt;BR /&gt;                        mount -a&lt;BR /&gt;&lt;BR /&gt;                        bdf&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jan 2004 18:09:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156652#M629137</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2004-01-05T18:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156653#M629138</link>
      <description>Yes you can rename the VG by exporting it and then importing it back.&lt;BR /&gt;vgexport -s -v -p -m vdsk.map vdsk01&lt;BR /&gt;vgexport /dev/vdsk01&lt;BR /&gt;mkdir /dev/vg02&lt;BR /&gt;mknod /dev/vg02/group c 64 0x0...(sama number sa vdsk)&lt;BR /&gt;vgimport -s -v -m vdsk.map /dev/vg02&lt;BR /&gt;vgchange -a y /dev/vg02</description>
      <pubDate>Mon, 05 Jan 2004 18:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156653#M629138</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2004-01-05T18:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156654#M629139</link>
      <description>Thanks for all the replies. It reassures me that I'll be doing the right steps. Of course I could have removed the volume group completely including the logical volumes and filesystems. Then start from scratch and restore from backup.</description>
      <pubDate>Mon, 05 Jan 2004 18:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renaming-volume-groups/m-p/3156654#M629139</guid>
      <dc:creator>Phil Storer</dc:creator>
      <dc:date>2004-01-05T18:28:42Z</dc:date>
    </item>
  </channel>
</rss>

