Search This Blog

Monday, June 24, 2013

Initialize a data or non-boot disk

# /etc/vx/bin/vxdisksetup -i c2t0d2
VxVM vxdisk ERROR V-5-1-3421 Device c2t0d2 is already in use by LVM.
# pvremove /dev/rdsk/c2t0d2
The physical volume associated with "/dev/rdsk/c2t0d2" has been removed.
 
# /etc/vx/bin/vxdisksetup -i c2t0d2
 
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto            -            -            LVM
c2t0d2       auto:cdsdisk    -            -            online

indhost# /etc/vx/bin/vxdisksetup -if TagmaStore-USP0_1
indhost# /etc/vx/bin/vxdisksetup -if TagmaStore-USP1_0
indhost# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
IBM_VSCSI0_1 auto:LVM        -            -            LVM
TagmaStore-USP0_1 auto:cdsdisk    -            -            online
TagmaStore-USP1_0 auto:cdsdisk    -            -            online

No comments:

Post a Comment