<?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: Replacing boot disk vg00 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610500#M645490</link>
    <description>This happened to me, and I only had to have the disk replaced and then load the ignite make_tape_recovery tape.  vg01 came up just fine after the vg00 recovery tape loaded.</description>
    <pubDate>Fri, 09 Nov 2001 14:00:38 GMT</pubDate>
    <dc:creator>John Bolene</dc:creator>
    <dc:date>2001-11-09T14:00:38Z</dc:date>
    <item>
      <title>Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610493#M645483</link>
      <description>I have a D330 server with (5) internal disks. One disk contains the operating system and vg00. The other four disks have another volume group (vg01) that contains all data files. If I were to replace and rebuild the system disk (vg00), what is the simplest way to avoid rebuilding and restoring vg01? Do I need to do a vgcfgbackup and vgcfgrestore or do I just need to retore the /etc/lvmtab, /etc/lvmconf/*, /etc/fstab files?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;David Owens&lt;BR /&gt;Ingersoll-Rand</description>
      <pubDate>Fri, 09 Nov 2001 03:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610493#M645483</guid>
      <dc:creator>David Owens_1</dc:creator>
      <dc:date>2001-11-09T03:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610494#M645484</link>
      <description>&lt;IF i="" were="" to="" replace="" and="" rebuild="" the="" system="" disk=""&gt;&lt;BR /&gt; &lt;BR /&gt;  Since you are not touching the disks of vg01,&lt;BR /&gt;simply do a&lt;BR /&gt;#&lt;BR /&gt; ll /dev/vg01/group &amp;gt;/tmp/vg01info&lt;BR /&gt; vgexport p -v -m  /tmp/vg01.map /dev/vg01  &lt;BR /&gt;   save the vg01.map on tape or some other system.&lt;BR /&gt;&lt;BR /&gt;After building the new boot disk, do &lt;BR /&gt;mkdir /dev/vg01 ; mknod /dev/vg01/group c 64 0x??0000&lt;BR /&gt;vgimport -v -m vg01.map /dev/vg01 &lt;BR /&gt;&lt;BR /&gt;  That's it.   vgimport will automatically&lt;BR /&gt;update the lvmtab file and lvmconf directory.&lt;BR /&gt;&lt;BR /&gt;Ofcourse, you would need the fstab file for&lt;BR /&gt;filesystem mount details. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj&lt;/IF&gt;</description>
      <pubDate>Fri, 09 Nov 2001 04:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610494#M645484</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-09T04:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610495#M645485</link>
      <description>Hi,&lt;BR /&gt;The best way will be VG export then import.&lt;BR /&gt;Do a vg export with map file&lt;BR /&gt;#vgexport -v -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;#vgimport -v -m /tmp/vg01.map /dev/vg01 /dev/dsk/cxtxdx ....&lt;BR /&gt;(note down the current cxtxdx mane from lvmtab for vg01)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Nov 2001 04:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610495#M645485</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-11-09T04:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610496#M645486</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There are two ways that this can achieved. The first is to 'vgexport' the mapfile from the existing vg01 and backup this up to another server. Take an ignite backup to local tape drive. Switch off system, insert new drive and restore off the ignite tape. Once the system is up 'vgimport' the mapfile of your vg01 and everything should magically appear. (Make sure you have a full system backup in any case!)&lt;BR /&gt;&lt;BR /&gt;Second is seeing your drives bays are pretty much full how can you build a system disk without taking out one or more disks to do the job? Have you got another system that you can build this disk and simply plug the new disk in with the system on it. You could do with this with an ignite tape built onto another server and just import the the other volume group from the mapfiles. &lt;BR /&gt;&lt;BR /&gt;I'd certainly go with the first option.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Fri, 09 Nov 2001 04:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610496#M645486</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-09T04:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610497#M645487</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;The vgcfgbackup command is used to backup LVM information, which can then be used to restore (vgcfgrestore) back to a physical volume after a disk failure.  In your case, if vg01 consists of 4 physical volumes and one of them fails, you would replace the failed disk and then restore the LVM  information using the vgcfgrestore command (plus a few other commands in between).  NOTE: Whenever you run LVM commands, vgcfgbackup is run, so you should have a good backup available all the time.&lt;BR /&gt;&lt;BR /&gt;The procedure you will need to use, is to run the vgexport and vgimport commands to export the LVM information to a map_file, which can then be imported back to the new O/S.&lt;BR /&gt;&lt;BR /&gt;Firstly, take note of the group file in the /dev/vg01 directory as you will need to recreate this on the new O/S.  Run "ioscan -fnC disk" to get the names of the disk device files that make up vg01.&lt;BR /&gt;&lt;BR /&gt;As with any major change to a system, backup your data and since you are about to trash your O/S environment, create an Ignite-UX recovery tape.  If you have to back out of your change then you can use the Ignite tape to boot from and restore your original O/S.&lt;BR /&gt;&lt;BR /&gt;If you don't have Ignite-UX installed, try the site below.  The command for creating a recovery tape is make_tape_recovery.&lt;BR /&gt;&lt;A href="http://www.software.hp.com/products/IUX/index.html" target="_blank"&gt;http://www.software.hp.com/products/IUX/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now you are ready to export the volume group.&lt;BR /&gt;&lt;BR /&gt;1. Unmount the filesystems and deactivate the volume group.&lt;BR /&gt;umount /whatever_your_filesystems_are_called&lt;BR /&gt;vgchange -a n /dev/vg01&lt;BR /&gt;&lt;BR /&gt;2. Remove the volume group from /etc/lvmtab and remove the device files using vgexport. Run it first with the -p to preview what vgexport will do, once satisfied run it without the -p.&lt;BR /&gt;vgexport -p -v -m /tmp/vg01_map /dev/vg01&lt;BR /&gt;vgexport -v -m /tmp/vg01_map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Backup the mapfile to tape or ftp to another system.&lt;BR /&gt;&lt;BR /&gt;3. Rebuild your O/S, with patches, etc.  Restore the mapfile back to the /tmp directory (or anywhere you feel like).&lt;BR /&gt;&lt;BR /&gt;4. Run the ioscan command again to check the device files.&lt;BR /&gt;&lt;BR /&gt;5. Recreate vg01's device files.&lt;BR /&gt;mkdir /dev/vg01&lt;BR /&gt;mknod /dev/vg01/group c 64 0x??0000&lt;BR /&gt;(The ?? will probably be 01, which corresponds with the volume group number for vg01)&lt;BR /&gt;&lt;BR /&gt;6. Import the mapfile. (You can use the -p option again to preview)&lt;BR /&gt;vgimport -v -m /tmp/vg01_map /dev/vg01 /dev/dsk/c?t?d? /dev/dsk/c?t?d? /dev/dsk/c?t?d? /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;(specify all the physical volumes in vg01, ie /dev/dsk/c?t?d?)&lt;BR /&gt;&lt;BR /&gt;6.  Activate the vg01&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dave&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Nov 2001 05:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610497#M645487</guid>
      <dc:creator>David Allen</dc:creator>
      <dc:date>2001-11-09T05:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610498#M645488</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I neglected to post how to do a make recovery tape (ignite).&lt;BR /&gt;&lt;BR /&gt;On HPUX11&lt;BR /&gt;&lt;BR /&gt;# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -a -a /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;on HPUX 10.20&lt;BR /&gt;&lt;BR /&gt;# /opt/ignite/bin/make_recovery -ACvd /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Fri, 09 Nov 2001 05:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610498#M645488</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-09T05:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610499#M645489</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;With regard to Ignite, 'make_tape_recovery' *does run* on either 10.20 or 11.x.  'make_tape_recovery' is designed to *replace* the older 'make_recovery'.&lt;BR /&gt;&lt;BR /&gt;The issue with Ignite and the OS version is not the difference between 'make_recovery' and 'make_tape_recovery', but with the Ignite version required.&lt;BR /&gt;&lt;BR /&gt;Ignite-UX version A.x can install multiple versions of HP-UX 10.x from a single Ignite-UX server. The Ignite-UX server may be any HP-UX computer running either 10.01, 10.10 or 10.20. &lt;BR /&gt;&lt;BR /&gt;Ignite-UX version B.3.4 and later requires a server running HP-UX 11.0 or 11i (32 or 64 bit). Ignite-UX version B.x can install HP-UX 10.20, 11.0 and 11i from this single server.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 09 Nov 2001 13:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610499#M645489</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-09T13:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610500#M645490</link>
      <description>This happened to me, and I only had to have the disk replaced and then load the ignite make_tape_recovery tape.  vg01 came up just fine after the vg00 recovery tape loaded.</description>
      <pubDate>Fri, 09 Nov 2001 14:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610500#M645490</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-11-09T14:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610501#M645491</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;Though you can be sure that you won't loose any data, it is advisable to take a complete backup of vg01, just in case.&lt;BR /&gt;&lt;BR /&gt;Take a export of map file for this VG,&lt;BR /&gt;&lt;BR /&gt;vgexport -p -s -m /tmp/vg_name.map /dev/vg_name&lt;BR /&gt;vgcfgbackup -f /tmp/vg_name.cfg /dev/vg_name&lt;BR /&gt;cp /etc/lvmpvg /tmp/lvmpvg.vg_name&lt;BR /&gt;cp /etc/fstab /tmp/fstab.old&lt;BR /&gt;&lt;BR /&gt;Take a backup of these files and reload the OS. Once done, restore the three files you had backed up,&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg_name&lt;BR /&gt;mknod /dev/vg_name/group c 64 0x0n0000&lt;BR /&gt;(n = 1,2,3,...)&lt;BR /&gt;vgimport -s -m /tmp/vg_name.map /dev/vg_name&lt;BR /&gt;cp /tmp/lvmpvg /etc/lvmpvg&lt;BR /&gt;&lt;BR /&gt;vgchange -a n /dev/vg_name&lt;BR /&gt;vgchange -a y /dev/vg_name&lt;BR /&gt;&lt;BR /&gt;Test the filesystems getting mounted from this vg,&lt;BR /&gt;&lt;BR /&gt;mount -F vxfs /dev/vg_name/lv_name /tmp_mnt&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Nov 2001 14:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610501#M645491</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-09T14:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing boot disk vg00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610502#M645492</link>
      <description>Thanks everyone for your help. I replaced and rebuilt my boot disk. The vgexport and vgimport worked to perfection. Everyone gets a 10.&lt;BR /&gt;&lt;BR /&gt;A couple things to note.&lt;BR /&gt;&lt;BR /&gt;1). If you use your old /etc/fstab file, make sure the mount points for vg00 match the new configuration. To make it simple, I just cut and paste my vg01 and vg02 targets into the /etc/fstab file.&lt;BR /&gt;&lt;BR /&gt;2. When using a make_recovery tape, create multiple copies as you would a normal backup scheme. I learned the hard way. I could not be sure that the recovery tape wasn't as corrupt as the root file system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;David Owens&lt;BR /&gt;Ingersoll-Rand</description>
      <pubDate>Mon, 12 Nov 2001 15:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-boot-disk-vg00/m-p/2610502#M645492</guid>
      <dc:creator>David Owens_1</dc:creator>
      <dc:date>2001-11-12T15:13:21Z</dc:date>
    </item>
  </channel>
</rss>

