Use vxdg "-h" to set the autoimport flag for the disk group
# vxdg -h anurag deport dg1
# vxdisk list c0t0d0s2 <---- This flag is correct
Device: c0t0d0s2
devicetag: c0t0d0
type: sliced
hostid: anurag
disk: name= id=1020042391.1028.anurag
group: name=dg1 id=1020042388.1025.anurag
flags: online ready private autoconfig autoimport
.
.
c0t0d0s2 state=enabled
Now, dg1 will be auto imported during the reboot of the server.