Sunday, May 19, 2013

Error fsadm: You don't have a license to run this program -Online JFS , Vxfs filesystem

How to resolve the error "fsadm: You don't have a license to run this program"  while extending the Veritas filesystem(vxfs)?

While you are extending your file-system, you have got the below error.
# fsadm -F vxfs -b 138500M /u01 
ERROR: fsadm: You don't have a license to run this program


1. Check weather the ONLINEJFS software has been installed on  HP-UX.

#swlist -l bundle |grep -i jfs   
 B3929CA               B.11.11        HP OnLineJFS    
 B3929DA               3.5-ga15-03    HP OnLineJFS 3.5  
2. Check the license type of OnlineJFS/VxFS installed on the server.
# vxlicrep
VERITAS License Manager vxlicrep utility version 3.00.007  
Copyright (C) VERITAS Software Corp 2002. All Rights reserved.  
Creating a report on all VERITAS products installed on this system   
-----------------***********************-----------------      
License Key                         = 012345678901234567890123 
Product Name                        = VERITAS File System     License Type                                = PERMANENT 
Site License                        = YES     
Features :=     
HP_OnlineJFS                        = Enabled 

3. Check the available VxFS and VxVM licenses and features on the system.
# vxlicense -p    
 vrts:vxlicense: INFO: Feature name: HP_OnlineJFS [50] 
 vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)  vrts:vxlicense:   INFO: Expiration date: No expiration date 
 vrts:vxlicense: INFO: Release Level: 22  
vrts:vxlicense: INFO: Machine Class: All  
vrts:vxlicense: INFO: Site ID: 0   
4. Check if the OnLineJFS features were enabled and if you the following output.

 # vxenablef
  The system is not licensed.
Resolution:
Enabled the full functionality of OnlineJFS/VxFS in the kernel using the following command
# vxenablef –a 
After performing the above command, try to extend the file system through “fsadm” and it will work fine.


No comments: