Operating System - HP-UX
1832953 Members
2768 Online
110048 Solutions
New Discussion

Re: Online JFS after extend no license error appear

 
Fauziah Mahdan
Super Advisor

Online JFS after extend no license error appear

Hi all,
I have online JFS but,
error appear at 2nd step to extend it.
Pls advice

swlist | grep -i ONLINE
OnlineDiag B.11.31.03.06 HPUX 11.31 Support Tools Bundle, March 2008

lvextend -L 20480 /dev/vg00/lvol7
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# fsadm -F vxfs -b 20480 /u02
vxfs fsadm: V-3-25255: fsadm: You don't have a license to run this program
21 REPLIES 21
Michal Kapalka (mikap)
Honored Contributor

Re: Online JFS after extend no license error appear

hi,

1, swlist |grep -i jfs

2, you don't have a license

umount the fs and make extendfs

mikap
butti
Frequent Advisor

Re: Online JFS after extend no license error appear

Hi,

show the output from "# vxlicrep"

Sunny123_1
Esteemed Contributor

Re: Online JFS after extend no license error appear

Hi

You dont have onlineJFS.

Use extendfs after unmounting the file system.

regards
Sunny
Ganesan R
Honored Contributor

Re: Online JFS after extend no license error appear

Hi,

Check if you online JFS product installed and licensed.

#swlist -l product |grep -i online

#vxlicense -p
or
#vxlicrep

If you don't have online JFS or the license is expired, then you cannot extend it online.
You need to unmount it and extend using extendfs command. For that you need to reboot it to single user mode.
Best wishes,

Ganesh.
Sharma Sanjeev
Respected Contributor

Re: Online JFS after extend no license error appear

Hi Ganesan R

"You need to unmount it and extend using extendfs command. For that you need to reboot it to single user mode "

Why it is required to boot in to single user mode, if Online JFS is not installed once can un mount the filesystem & than extend with extendfs.

Hi Fauziah,

Check with vxlicrep -v for license for ONLINE JFS

if not installed than
unmount the FS /u07
than lvextend
& extendfs

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
TTr
Honored Contributor

Re: Online JFS after extend no license error appear

OnlineDiag is NOT online JFS. You do not have online JFS.

Since you already lvextended the volume, you need to have the volume unmounted and run "extendfs -F vxfs /dev/vg00/rlvol7".

This is a vg00 volume, which one is it? You might not be able to unmount it without doing to single user mode.
Ganesan R
Honored Contributor

Re: Online JFS after extend no license error appear

Hi,

Sharma Sanjeev wrote,

>>Why it is required to boot in to single user mode, if Online JFS is not installed once can un mount the filesystem & than extend with extendfs.<<<

You cannot unmount /dev/vg00/lvol7 which /usr in multiuser mode.
Best wishes,

Ganesh.
Sharma Sanjeev
Respected Contributor

Re: Online JFS after extend no license error appear

Hi Ganesan R

As per FAUZIAH

# fsadm -F vxfs -b 20480 /u02
vxfs fsadm: V-3-25255: fsadm: You don't have a license to run this program

Its /u02


Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Ganesan R
Honored Contributor

Re: Online JFS after extend no license error appear

Hi Again,

>>>lvextend -L 20480 /dev/vg00/lvol7
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# fsadm -F vxfs -b 20480 /u02
vxfs fsadm: V-3-25255: fsadm: You don't have a license to run this program<<<

Look at the above. He is extending LV /dev/vg00/lvol7 and trying to extend the filesystem /u02. Not sure he has mentioned the wrong mount point because lvol7 is normally /usr. He should confirm this.
Best wishes,

Ganesh.
Roopesh Francis_1
Trusted Contributor

Re: Online JFS after extend no license error appear

if you do have online jfs and licence is expired.
Do below steps:

Steps removed as a breach of copyright!
Fauziah Mahdan
Super Advisor

Re: Online JFS after extend no license error appear

HI all,
Thanks for the reply.
Below is the result of every command I run.
If confirm I don't have online JFS than I will procees to go to single user mdoe and perform extendfs instead of fsadm.
pls advice.

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 314168 728696 30% /
/dev/vg00/lvol1 1835008 348272 1475184 19% /stand
/dev/vg00/lvol12 8912896 630192 8221584 7% /var
/dev/vg00/lvol11 4620288 2976000 1631496 65% /usr
/dev/vg01/lvol1 50331648 38099746 11468220 77% /u05
/dev/vg00/lvol9 15728640 4134517 10881325 28% /u04
/dev/vg00/lvol8 15728640 15382107 325969 98% /u03
/dev/vg00/lvol7 15728640 15165945 527533 97% /u02
/dev/vg00/lvol6 20971520 16342365 4340768 79% /u01
/dev/vg00/lvol5 1048576 247592 795240 24% /tmp
/dev/vg00/lvol10 7405568 4681712 2702640 63% /opt
/dev/vg00/lvol4 1048576 56000 985232 5% /home
DevFS 14 14 0 100% /dev/deviceFileSystem
#
# umount /u02
umount: cannot unmount /dev/vg00/lvol7 : Device busy
umount: return error 1.
# fsadm -F vxfs -b 20480 /u02
vxfs fsadm: V-3-25255: fsadm: You don't have a license to run this program
# vxlicrep -v
3.02.19.0
# swlist |grep -i jfs
# swlist -l product |grep -i online
PHKL_36142 1.0 Cell Online Addition and Deletion (OL*) patch
# vxlicense -p
sh: vxlicense: not found.
# vxlicrep

Symantec License Manager vxlicrep utility version 3.02.19.0
Copyright (C) 1996-2006 Symantec Corporation. All rights reserved.

Creating a report on all VERITAS products installed on this system

vxlicrep ERROR V-21-3-1003 There are no valid VERITAS License keys installed in the system.
#
Fauziah Mahdan
Super Advisor

Re: Online JFS after extend no license error appear

Frans I try your step

# Steps removed as a breach of copyright

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 314208 728656 30% /
/dev/vg00/lvol1 1835008 348272 1475184 19% /stand
/dev/vg00/lvol12 8912896 630232 8221544 7% /var
/dev/vg00/lvol11 4620288 2976000 1631496 65% /usr
/dev/vg01/lvol1 50331648 38099746 11468220 77% /u05
/dev/vg00/lvol9 15728640 5875523 9248967 39% /u04
/dev/vg00/lvol8 15728640 15382107 325969 98% /u03
/dev/vg00/lvol7 15728640 15165945 527533 97% /u02
/dev/vg00/lvol6 20971520 16344983 4338282 79% /u01
/dev/vg00/lvol5 1048576 247592 795240 24% /tmp
/dev/vg00/lvol10 7405568 4681712 2702640 63% /opt
/dev/vg00/lvol4 1048576 56168 985064 5% /home
DevFS 14 14 0 100% /dev/deviceFileSystem
# fsadm -F vxfs -b 20480 /u02
vxfs fsadm: V-3-23544: sectors must be >= 15165946 as they are currently in use.

What does it means?
Fauziah Mahdan
Super Advisor

Re: Online JFS after extend no license error appear

ok got it add m for mbytes and it works

fsadm -F vxfs -b 20480m /u02
vxfs fsadm: V-3-23585: /dev/vg00/rlvol7 is currently 15728640 sectors - size will be increased
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 314208 728656 30% /
/dev/vg00/lvol1 1835008 348272 1475184 19% /stand
/dev/vg00/lvol12 8912896 630232 8221544 7% /var
/dev/vg00/lvol11 4620288 2976000 1631496 65% /usr
/dev/vg01/lvol1 50331648 38099746 11468220 77% /u05
/dev/vg00/lvol9 15728640 5875523 9248967 39% /u04
/dev/vg00/lvol8 15728640 15382107 325969 98% /u03
/dev/vg00/lvol7 20971520 15167230 5441528 74% /u02
/dev/vg00/lvol6 20971520 16344957 4338307 79% /u01
/dev/vg00/lvol5 1048576 247592 795240 24% /tmp
/dev/vg00/lvol10 7405568 4681712 2702640 63% /opt
/dev/vg00/lvol4 1048576 56168 985064 5% /home
DevFS 14 14 0 100% /dev/deviceFileSystem


TQ all.
Roopesh Francis_1
Trusted Contributor

Re: Online JFS after extend no license error appear

pls try fsadm -F vxfs -b 20480M /u02
Roopesh Francis_1
Trusted Contributor

Re: Online JFS after extend no license error appear

if you got the resolution pls assign appropriate points
Fauziah Mahdan
Super Advisor

Re: Online JFS after extend no license error appear

Frans,
Yes I forgot to add 20480M m for megabytes.
now my /u02 and /u03 successfully increase to another 5GB.
see my reply earlier.
TTr
Honored Contributor

Re: Online JFS after extend no license error appear

> @Frans2008: vxlicinst -k xxxxxxxxxxxxxxxxxxxxx
real codeword deleted as a breach of copyright

Have you read your veritas license agreement? Does it say that you are allowed to share your license key? Even more so on an open public forum?
Fauziah Mahdan
Super Advisor

Re: Online JFS after extend no license error appear

What does it means?Can elaborate pls. I am just running the step given and not sure what the details.
TTr
Honored Contributor

Re: Online JFS after extend no license error appear

You mean you don't know what a runtime license key is and what copyrighted software is? Do you know what software piracy is? OnlineJFS is a software that you BUY, it is NOT free. Somebody PAID good money to HP or to Veritas to get the OnlineJFS license key so that they can use the onlineJFS software on their server. Frans2008 shared with you that license for free. You should hope that HP or Veritas don't pay you a visit for copyright violations and software piracy.
Fauziah Mahdan
Super Advisor

Re: Online JFS after extend no license error appear

I know about that but I dunno what the impact after running the command.
I will check with my acct mgr.
Fauziah Mahdan
Super Advisor

Re: Online JFS after extend no license error appear

Ok I get what you meant.
Did not realise it. Normally I will clear some msg before post.
Will check with acc mgr what can be done