HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

v
vgchgid(1M) vgchgid(1M)
2) For XP disk array, the commands are
paircreate and pairsplit.
Three BCV disks are created.
2. Change the VGID on the BCV disks.
vgchgid /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d1 /dev/rdsk/c0t0d2
3. Make a new volume group using the BCV disks.
mkdir /dev/vgbcv
mknod /dev/vgbcv/group c 64 0x040000
4. Import the BCV disks into the new volume group.
vgimport /dev/vgbcv /dev/dsk/c0t0d0 /dev/dsk/c0t0d1 /dev/dsk/c0t0d2
5. Activate the new volume group.
vgchange -a y /dev/vgbcv
6. Backup the new volume group’s LVM data structure.
vgcfgbackup /dev/vgbcv
7. Mount the associated logical volumes.
mkdir /bcv/lvol1 /bcv/lvol2
mount /dev/vgbcv/lvol1 /bcv/lvol1
mount /dev/vgbcv/lvol2 /bcv/lvol2
SEE ALSO
vgimport(1M), vgscan(1M), vgcfgbackup(1M).
Section 1M858 Hewlett-Packard Company 2 HP-UX 11i Version 2: August 2003