Storage Foundation 7.2 Configuration and Upgrade Guide - Solaris
- Section I. Introduction and configuration of Storage Foundation
- Section II. Upgrade of Storage Foundation
- Planning to upgrade Storage Foundation
- Preparing to upgrade SF
- Upgrading Storage Foundation
- Performing an automated SF upgrade using response files
- Upgrading SF using Boot Environment upgrade
- Performing post-upgrade tasks
- Upgrading the Array Support Library
- Planning to upgrade Storage Foundation
- Section III. Post configuration tasks
- Section IV. Configuration and Upgrade reference
- Appendix A. Installation scripts
- Appendix B. Configuring the secure shell or the remote shell for communications
Converting a powervxvm disk to auto:simple
In VxVM 4.0, and particularly in previous releases, EMCpower disks can be defined by a persistent disk access record (darec) using powervxvm script, and identified as simple disks. If an EMCpower disk is used using powervxvm, it must be manually converted to auto:simple format before you upgrade to VxVM 7.2.
If there are any controllers or devices that are suppressed from VxVM as powervxvm requirement, then such controllers or disks must be unsuppressed. This is required for Veritas DMP to determine the association between PowerPath metanodes and their subpaths. After the conversion to auto:simple is complete, the powervxvm script is no longer useful, and should be disabled from startup script.
The following example is used to illustrate the procedure. The ls command shows the mapping of the EMC disks to persistent disk access records:
# ls -l /dev/vx/rdmp/ crw------- 1 root root 260, 76 Feb 7 02:36 emcpower0c # vxdisk list DEVICE TYPE DISK GROUP STATUS c6t0d12s2 auto:sliced - - online emcpower0c simple ppdsk01 ppdg online
# vxprint Disk group: fdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 dg ppdg ppdg - - - - - - dm ppdsk01 emcpower0c - 2094960 - - - -
To convert an EMCpower disk (defined using powervxvm) to auto:simple format
- Stop all the volumes in the disk group, and then deport it:
# vxvol -g ppdg stopall # vxdg deport ppdg
- Use the vxdisk rm command to remove all emcpower disks from VxVM:
# vxdisk rm emcpower0c
If you now run the vxdisk list command, the EMCpower disk is no longer displayed:
# vxdisk list DEVICE TYPE DISK GROUP STATUS c6t0d12s2 auto:sliced - - online
- Use the vxprtvtoc command to retrieve the partition table entry for this device:
# /etc/vx/bin/vxprtvtoc -f /tmp/vtoc /dev/vx/rdmp/emcpower0c
- Use the vxedvtoc command to modify the partition tag and update the VTOC:
# /etc/vx/bin/vxedvtoc -f /tmp/vtoc /dev/vx/rdmp/emcpower0c # THE ORIGINAL PARTITIONING IS AS FOLLOWS: # SLICE TAG FLAGS START SIZE 0 0x0 0x201 0 0 1 0x0 0x200 0 0 2 0x5 0x201 0 17675520 # THE NEW PARTITIONING WILL BE AS FOLLOWS: # SLICE TAG FLAGS START SIZE 0 0xf 0x201 0 17675520 1 0x0 0x200 0 0 2 0x5 0x201 0 17675520 DO YOU WANT TO WRITE THIS TO THE DISK ? [Y/N] :Y WRITING THE NEW VTOC TO THE DISK #
- Upgrade to VxVM 7.2 using the appropriate upgrade procedure.
- After upgrading VxVM, use the vxdisk list command to validate the conversion to auto:simple format:
# vxdisk list DEVICE TYPE DISK GROUP STATUS c6t0d12s2 auto:sliced - - online emcpower0s2 auto:simple - - online
- Import the disk group and start the volumes.
# vxdg import ppdg # vxvol -g ppdg startall # vxdisk list DEVICE TYPE DISK GROUP STATUS c6t0d12s2 auto:sliced - - online emcpower0s2 auto:simple ppdsk01 ppdg online