UX:vxfs mount: ERROR: V-3-22168: Cannot open portal device: No such file or directory
UX:vxfs mount: ERROR: V-3-25255: mount: You don't have a license to run this program
The above error condition occurs when trying to mount a file system when one of the below conditions is met:
The file system that was created is a VERITAS File System (VxFS) and the VERITAS File System package, VRTSvxfs, is not completely installed
The file vxportal is not created in the /devices/pseudo directory
The file fdd is not created in the /devices/pseudo directory
To resolve the issue, follow the steps below:
1. Verify that the VRTSvxfs package is completely installed by executing the below command and verify that the "STATUS" is "completely installed":
# pkginfo -l VRTSvxfs | grep STATUS
If the package is not completely installed, this is the probable cause, and removing the package and re-installing it should allow the newly created file system to mount and the below steps do not need to be followed. If the file system still will not mount after removing and re-installing it, or the VRTSvxfs package shows as "completely installed", please continue with the steps below.
2. If the package has been removed and re-installed, or the status shows as completely installed, verify that the two files below exist in the /devices/pseudo directory:
# ls -lad /devices/pseudo/vxportal*
drwxr-xr-x 2 root sys 512 Oct 23 13:05devices/pseudo/vxportal@0crw-r----- 1 root sys 300, 0 Oct 24 15:32devices/pseudo/vxportal@0:0# ls -lad /devices/pseudo/fdd*
drwxr-xr-x 2 root sys 512 Oct 23 13:05devices/pseudo/fdd@0crw------- 1 root sys 301, 0 Oct 24 16:03devices/pseudo/fdd@0:03. If either of the above files do not exist, execute the below commands to create them:
# devfsadm -v -i vxportal
devfsadm[2064]: verbose: mknod /devices/pseudo/vxportal@0:0# devfsadm -v -i fdd
devfsadm[2065]: verbose: mknod /devices/pseudo/fdd@0:0 0l/3l/206004. Execute the mount command that was generating the error before. The file system should mount and the error should no longer occur.
# mount -F vxfs /dev/vx/dsk/testdg/testvol /testvol