Operating System - HP-UX
1753903 Members
9998 Online
108810 Solutions
New Discussion юеВ

Extend a mounted logical volume

 
SOLVED
Go to solution
Jonathan Caplette_1
Super Advisor

Re: Extend a mounted logical volume

Guys,

I've look on my system, and I've got the OnlineJFS product "swlist | grep -i online". And I've installed it with a HP CodeWord.

But when I run "fsadm" command I got this error:

fsadm: You don't have a license to run this program

I register it with a Codeword....
Any idea?
Todd McDaniel_1
Honored Contributor

Re: Extend a mounted logical volume

There is a series of commands that start with vx*...

# vxlicense -p ## Shows the current licenses...

vrts:vxlicense: INFO: Feature name: HP_OnlineJFS [50]
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: Sun Jun 24 03:00:00 2007 (1342.5 days fro
m now)
vrts:vxlicense: INFO: Release Level: 22
vrts:vxlicense: INFO: Machine Class: All
vrts:vxlicense: INFO: Site ID: 0



This should help you...

/sbin/fs/vxfs/vxenablef -a ## to activate a JFS license
Unix, the other white meat.
Jonathan Caplette_1
Super Advisor

Re: Extend a mounted logical volume

When I run "vxlicense -p" I got this:

vrts:vxlicense: INFO: No valid license installed

Where can I get a license??
Todd McDaniel_1
Honored Contributor

Re: Extend a mounted logical volume

/sbin/fs/vxfs/vxenablef -a

## to activate a JFS license. this should work.
Unix, the other white meat.
Jonathan Caplette_1
Super Advisor

Re: Extend a mounted logical volume

Todd hi,

It still gives me the same message... :S
Uday_S_Ankolekar
Honored Contributor

Re: Extend a mounted logical volume

You should get license for this product from HP. Add license vxenablef -a command ( this executable file should be in /sbin/fs/vxfs3.3)

and then exenablef -a to enable license.
look this website http://licensing.hp.com to get more information

-USA..
Good Luck..
Todd McDaniel_1
Honored Contributor

Re: Extend a mounted logical volume

Which command are you running? vxlicense or vxenablef?

vxenablef should work quoting the manpage:

"If you have valid licenses" for these features, vxenablef makes them available without rebuilding a new kernel and rebooting the system.


It sounds like you need to load the license for the advanced features...I think you said you lost your codeword? Im not sure it can be recovered...

May have to reload to reset it, but im not totally sure on that.

IF you have HPUX OS 11.11 loaded, it can be reloaded with NOREBOOT... However, if you have 11.0, it requires a reboot.

Unix, the other white meat.
system administrator_15
Frequent Advisor

Re: Extend a mounted logical volume

Jonathan you need to aquire the license from hp licensing, untill you do it will not work.
try this
/sbin/fs/vxfs3.3/vxenablef
=> should say that it's not licensed

/sbin/fs/vxfs3.3/vxlicense -c
=> and then enter the license ( if not already done )

/sbin/fs/vxfs3.3/vxenablef -a
=> to enable the license

/sbin/fs/vxfs3.3/vxenablef
=> Now, it should be enabled.
obviosly you need to get the license before doing stage two, but stage one will tell you if its been licensed and if so you probably only need to activate (stage 3)
if not licenses get licenses from
http://licensing.hp.com
hope this helps
Jonathan Caplette_1
Super Advisor

Re: Extend a mounted logical volume

Guys,

I finally solved my problem, I ordered a license from HP licensing, I installed it with

vxlicense -c

then I've activated it with

vxenablef -a

then I extended my logical volume:

lvextend -L xxxxM /dev/vg00/lvname

and finally I've been able to use fsadm:

fsadm -F vxfs -b xxxxM /fsname

It worked perfectly...
Thanks you all!!
ciao!
Jonathan