Diskgroup having the links:
ls -l /dev/vx/dsk/test
lrwxrwxrwx 1 root other 75 Oct 1 15:30 vol01 -> ../../../../devices/pseudo/vxio@0:test,vol01,29223,blk
ls -l /dev/vx/rdsk/test
lrwxrwxrwx 1 root other 75 Oct 1 15:30 vol01 -> ../../../../devices/pseudo/vxio@0:test,vol01,29223,raw
Diskgroup not having the links:
ls -l /dev/vx/dsk/test2
brw------- 1 root root 230, 11000 Oct 7 12:56 vol01
ls -l /dev/vx/dsk/test2
brw------- 1 root root 230, 11000 Oct 7 12:56 vol01
Leftover configuration from previous version of Volume manager
These links are from a previous version of Volume Manager - probably 5.0MP1. There had been a hot fix provided for this for 5.0MP1, but if this is found after upgrading to 5.1SP1 the solution is to deport the diskgroup and import it.
This has been tested on a lab system.
First check for diskgroup having links:
# ls -l /dev/vx/dsk/test
lrwxrwxrwx 1 root other 75 Oct 1 15:30 vol01 -> ../../../../devices/pseudo/vxio@0:test,vol01,29223,blk
# ls -l /dev/vx/rdsk/test
lrwxrwxrwx 1 root other 75 Oct 1 15:30 vol01 -> ../../../../devices/pseudo/vxio@0:test,vol01,29223,raw
Deport the diskgroup:
# vxdg deport test
Import the diskgroup:
# vxdg import test
Now check for the links:
ls -l /dev/vx/dsk/test
brw------- 1 root root 230, 11000 Oct 7 12:56 vol01
ls -l /dev/vx/dsk/test
brw------- 1 root root 230, 11000 Oct 7 12:56 vol01