vxdisksetup reports "Invalid attributes" when attempting to initialise disk on Solaris platform
|Article:TECH199504|||||Created: 2012-11-08|||||Updated: 2012-11-08|||||Article URL http://www.symantec.com/docs/TECH199504|
An attempt was being made to initialise a lun on a Solaris 9 machine using the vxdisksetup command. The previous history of the lun was unknown.
# vxdisksetup -i san_vc0_9
VxVM vxdisk ERROR V-5-1-535 Device san_vc0_9: Invalid attributes
Volume Manager 5.1SP1
It transpired that the disk had formerly been used for ZFS on another system.
The suggestion was given that since the lun was being reinitialised, that a precautionary dd be run over the first 100MB or so to remove any possible stale ZFS information/headers. The disk was then relabeled using format (either SMI or EFI), and the disk could then be reinitialised successfully using vxdisksetup.
Article URL http://www.symantec.com/docs/TECH199504