The larger private region size that was introduced in VxVM 3.2 (1MB) and VxVM 5.0 (32MB) may create one of the following mirroring scenarios under which vxdiskadm
fails:
vxdiskadm
fails.
vxdiskadm
fails.
To create a mirror under any of these scenarios
The disk media name of the root disk is typically rootdisk
.
In the output, find the privlen
value. In this example, the value is 3071:
where diskname is the disk media name of the source disk.
In the displayed output, note the len
value for the private
field. In this example, the value of this field is 3071:
vxdisksetup
program to initialize the target disk:
# /usr/lib/vxvm/bin/vxdisksetup -i c#t#d# privoffset=0 \
where XXXX is the size of the source disk's private region, and YYYY is the size of its public region.
If your system is configured to use enclosure-based naming instead of OS-based naming, replace the c#t#d#
name with the enclosure-based name for the disk.
vxdiskadm
command and choose item 6 (Mirror volumes on a disk) to create the mirror. Specify the disk media names of the source disk (rootdisk) and the target disk (medianame).