Issue:
Unable to mount VxFS file system on Linux host after new install.
#mount -t vxfs /dev/vx/dsk/datadg/vol1 /vol1
UX:vxfsmount.vxfs: ERROR: V-3-22168: Cannot open portal device: No such file or directory
UX:vxfsmount.vxfs: ERROR: V-3-25255: mount.vxfs: You don't have a license to run this program
Solution:
First make sure the vxportal kernel module is loaded:
#lsmod | grep vxportal
vxportal 41488 0
vxfs 20205603 vxportal,fdd
If module is not loaded then load the vxportal module:
# modprobe vxportal
If the vxportal driver is loaded, check for the pseduo device vxportal.
#ls /dev/vxportal
If the vxportal device is not available, you can recreate it using mknod:
#mknod /dev/vxportal c 10 32
#ls -al /dev/vxportal
crw------- 1root root 10, 32 Apr 20 15:46 /dev/vxportal
Restart vxfs to load vxportal module
# /etc/init.d/vxfs start OR systemctl start vxfs
Check if vxportal module is loaded
#lsmod | grep vxportal
vxportal 41488 0
vxfs 20205603 vxportal,fdd
Now you should be able to mount the file system:
#mount -t vxfs /dev/vx/dsk/datadg/vol1 /vol1