Friday, February 20, 2009

Adding a disk to VxVM

Use the vxdisksetup program to initialize the target disk:

# /usr/lib/vxvm/bin/vxdisksetup -i c#t#d# privoffset=0 \ privlen=XXXX publen=YYYY


#/etc/vx/bin/vxdisksetup –if (New Disk)

Example :

#/etc/vx/bin/vxdisksetup –if EMC0_42


#/etc/vx/bin/vxdisksetup –if c4t2d0




where XXXX is the size of the source disk’s private region, and YYYY is the
size of its public region.

Note: 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.

No comments: