From 5.0mp3, vxvm could support LDOM, in LDOM disk naming is like c#d#, not c#t#d#, the target number is dropped.
1) Check the disk access.
# /etc/vx/diag.d/vxdmpinq -d /dev/ rdsk/c0d1s2
ioctl failed: Inappropriate ioctl for device
2) check prtvtoc:
# prtvtoc /dev/rdsk/c0d1s2
* /dev/rdsk/c0d1s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 32 sectors/track
* 64 tracks/cylinder
* 2048 sectors/cylinder
* 211 cylinders
* 209 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 2048 2047
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 0 00 2048 425984 428031
2 5 00 0 428032 428031
3. Use format command and label the disk . Just keep only slice 2 and remove all other partitions. (Need to check from the OS end, in case label fails).
4. Check the vxdisksetup command once again.
6. In case vxdisksetup is still causing problems, copy the prtvtoc from same size disk.
## Backup the prtvtoc
# prtvtoc /dev/
## Restore the backup on the problem disk.
# fmthard -s /tmp/gooddisks2.out /dev/rdsk/c0d1s2
Note : If there is no disk with same size, use format command and create the 7th slice with full disk size for < 1tb size disks.Run the below command to initialize the disk.
# vxdisk -f unit c0d1s2
Applies To
Solaris 5.0mp3rp1 LDOM, 6.x LDOMs
DEVICE TYPE DISK GROUP STATUS
c0d1s2 auto:none - - online invalid
c0d2s2 auto:none - - online invalid
c0d3s2 auto:none - - online invalidVxVM vxdisksetup ERROR V-5-2-2206 c0d1s2: An invalid device address was specified; it must be of
the form cCtTdD, mcCtTdD or <enclosurename>_<diskno> where
C = host bus adapter controller number
T = target device controller number, if used
D = logical unit (disk) number within target device controller
<enclosurename> is the logical name of the enclosure to which the
disk belongs
<diskno> is the logical number of the diskVxVM vxdisksetup ERROR V-5-2-1814 c0d1: Invalid disk device for 'cdsdisk' format