LVM/VxVM and vPars sx2000 Upgrade
12
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c9t8d0
/dev/dsk/c2t10d0s2
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c9t10d0s2
The Volume Group /dev/vg00 was not matched with any Physical Volumes.
3. Remove the old root volume group information:
# vgexport /dev/vg00
4. Import the root volume group, using the files saved in Procedure A.1:
# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0x00000
# vgimport -m /mapfile.vg00 –f /pvs.vg00 /dev/vg00
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume
group.
5. Activate the root volume group:
# vgchange –a y /dev/vg00
Activated volume group
Volume group "/dev/vg00" has been successfully changed.
6. Verify that the hardware path for the boot device matches the primary boot path.
# lvlnboot –v /dev/vg00
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t10d0s2 (4/0/4/1/0.10.0) -- Boot Disk
/dev/dsk/c9t8d0 (2/0/1/1/0.8.0)
Boot: lvol1 on: /dev/dsk/c2t10d0s2
Root: lvol3 on: /dev/dsk/c2t10d0s2
Swap: lvol2 on: /dev/dsk/c2t10d0s2
Dump: lvol2 on: /dev/dsk/c2t10d0s2, 0
7. Update the LVM metadata with the new boot physical volumes hardware paths:
# lvlnboot –R /dev/vg00
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
8. Update the primary and alternate boot paths (see step 2 for hardware path to use):
# setboot –p 4/0/4/1/0.10.0
# setboot –a new_alt_path
Now, update the vPars:
9. Mount the required filesystems:
# mount /usr
# mount /stand
10. For each virtual partition,
10.1. Run vparstatus –v and examine the [IO Details] section:
# vparstatus –p vpar_name –v
vparstatus: Warning: Not accessing live Monitor database, Requested resources shown.
[Virtual Partition Details]
Name: vpar1
State: N/A
Attributes: Dynamic,Autoboot,Nosearch
Kernel Path: /stand/vmunix
Boot Opts:
... ...
[IO Details]
4.0.3.1.0.10.0.0.0.0.0 BOOT
4.0.4