Thursday, November 28, 2013

X:vxfs mount: ERROR: V-3-25255: mount: You don't have a license to run this program

Issue


Attempting to mount a newly created VERITAS File System after a new installation of Storage Foundation for 4.x - UNIX, or VERITAS File System, an error message occurs about not having a license to run the program

Error


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

Solution



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 below steps:


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 below two files exist in the /devices/pseudo directory:



# ls -lad /devices/pseudo/vxportal*



drwxr-xr-x   2 root     sys          512 Oct 23 13:05 devices/pseudo/vxportal@0

crw-r-----   1 root     sys      300,  0 Oct 24 15:32 devices/pseudo/vxportal@0:0



# ls -lad /devices/pseudo/fdd*



drwxr-xr-x   2 root     sys          512 Oct 23 13:05 devices/pseudo/fdd@0

crw-------   1 root     sys      301,  0 Oct 24 16:03 devices/pseudo/fdd@0:0



3. 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/20600



4. 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



 



1 comment:

  1. v-3-122168 for RHEL6&7 issue solution
    modprobe -r vxfen and rerun veritas upgrade

    ReplyDelete