Operating System - HP-UX
1834747 Members
2503 Online
110070 Solutions
New Discussion

Re: Problem extending vxfs FS using online JFS fsadm: You don't have a license to run this program

 
DanR
Occasional Visitor

Problem extending vxfs FS using online JFS fsadm: You don't have a license to run this program

Hello

look like thingshave change at the itrc...

 

My problem is I'm trying to extend some vxfs file system on an HP-UX 11i server that is part of a Service Guard Cluster

 

# fsadm -F vxfs -b 6303744 /oracle/PR2/sapdata7
fsadm: You don't have a license to run this program

I've run the various commands recommended to determine ifOnline JFS is installed:

/usr/sbin/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

# swlist -l product |grep -i online
  OnlineJFS             B.11.11.03.03  Online features of the VxFS File System
  PHCO_25831            1.0            SCSI Ultra160 driver Online Addition script


# /usr/lbin/sysadm/system_prep -s /tmp/system.out;grep ^vx /tmp/system.out                       <
vxdmp
vxfs
vxportal
vxvm
vx_ninode       4000

 

I'm wondering if the issue is related to the Service Guard cluster

 

The logical volume group Status is

--- Volume groups ---
VG Name                     /dev/vg10
VG Write Access             read/write
VG Status                   available, exclusive

 

The lvol status is

LV Name                     /dev/vg10/lvol7
   LV Status                   available/syncd
   LV Size (Mbytes)            12312
   Current LE                  3078
   Allocated PE                3078
   Used PV                     2

 

The FS to be extended is

/dev/vg10/lvol7    12582912    3686 12186134    0% /oracle/PR2/sapdata7

 

The fstyp is

fstyp -v /dev/vg10/lvol7
vxfs
version: 4
f_bsize: 8192
f_frsize: 2048
f_blocks: 6291456
f_bfree: 6289613
f_bavail: 6093063
f_files: 1572432
f_ffree: 1572400
f_favail: 1572400
f_fsid: 1074790407
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 7
f_size: 6291456

 

Thank you for you assistance

3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: Problem extending vxfs FS using online JFS fsadm: You don't have a license to run this program

What is the output of "swlist |grep -i JFS"??  If that command does not come back and say something about "Online features of the VxFS File System", then your error message is exactly right:  you don't have a license.  You will need to talk to HP about purchasing said license in order to use the Online features.

 

 

Sorry - I missed the part where you had already run the swlist.  Disregard!


Pete
Robert_Jewell
Honored Contributor

Re: Problem extending vxfs FS using online JFS fsadm: You don't have a license to run this program

A couple of things to try:

 

Perhaps, try expanding a filesystem not related to the cluster (/tmp or whatever) and see if you get the same error?

 

Run # vxlicrep   and see if OnlineJFS is enabled.

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Matti_Kurkela
Honored Contributor

Re: Problem extending vxfs FS using online JFS fsadm: You don't have a license to run this program

On HP-UX 11.11, HP made a mistake with OnlineJFS licenses: on older versions of OnlineJFS, HP accidentally supplied a time-limited license instead of a permanent one. By your swlist output, your OnlineJFS appears to be a version that has this issue fixed, but perhaps your system has not been rebooted after updating to fixed version of OnlineJFS?

 

Normally, the OnlineJFS license is recognized at boot time, when /etc/inittab tells init to run this command:

/sbin/fs/vxfs/vxenablef -a

This command reads the OnlineJFS license file, and enables the system functions that are required by "fsadm -F vxfs -b".

 

Try running the vxenablef -a command manually: it should cause no harm. If your system has not been rebooted after installing OnlineJFS B.11.11.03.03, this command should make the kernel recognize the updated license with no requirement to reboot.

 

Source: Viktor Balogh's HP-UX blog

MK