To begin with the identification process, firstly run the following command to display the disk flags:
#vxdisk -s list
When a disk is deported, the imported flag is removed and the diskgroup is no longer viewable using the command vxdisk list
The following is a comparison between two disks, one that is imported (Disk_1) and another disk that is not (Disk_2)
#vxdisk -s list Disk_1
Disk: Disk_1
type: auto
flags:online ready private autoconfig autoimport imported
diskid:1167255498.41.warp.veritas.com
dgname:exampledg
dgid: 1169059291.30.hostid.veritas.com
hostid:hostid.veritas.com
info: format=cdsdisk,privoffset=256,pubslice=2,privslice=2
#vxdisk -s list Disk_2
Disk: Disk_2
type: auto
flags:online ready private autoconfig
diskid:1161276214.19.hostid
dgname:
dgid: 1161276214.21.hostid
hostid:
info: format=cdsdisk,privoffset=256,pubslice=2,privslice=2
If there is a need to see all the disks that are in deported state then run the following command
# vxdisk -o alldgs list
The above command goes to each disk and checks to see if it has a private region.
If the disk has neither an imported flag or a private region, the output will show up as a dash under the GROUP column (see Disk_0 in the example below)
If the disk has a private region and an imported flag, the output under the GROUP column will show the diskgroup's name (see Disk_1 in the example below)
If the disk does have a private region but does not have an imported flag, the output under the GROUP column will display the diskgroup's name in parenthesis and brackets.(see Disk_2 in the example below)
The following is example output for vxdisk -o alldgs list
#vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
Disk_0 auto:none - - onlineinvalid
Disk_1 auto:cdsdisk c3t0d15s2 exampledg online
Disk_2auto:cdsdisk - () online