1847212 Members
2722 Online
110263 Solutions
New Discussion

(Online) JFS ?

 
SOLVED
Go to solution
David_246
Trusted Contributor

(Online) JFS ?

 
@yourservice
24 REPLIES 24
Steven E. Protter
Exalted Contributor

Re: (Online) JFS ?

Yes. I think its a good idea.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Massimo Bianchi
Honored Contributor

Re: (Online) JFS ?

Me too.

take care of the LITS patch, and the man page for fsadm_vxfs in case.

Massimo
Ken Hubnik_2
Honored Contributor

Re: (Online) JFS ?

Journal File System
David_246
Trusted Contributor

Re: (Online) JFS ?

Sorry, I don't know what went wrong, but I'll just explain my question in a reply.

I have JFS 3.3 installed :

# swlist | grep -i jfs
B3929CA B.03.03 JFS 3.3 Filesystem For 11.00
B3929CA-fndation B.11.00 Foundation Patch Bundle for JFS 3.3
PHKL_18452 1.0 Invalid I/O sizes from JFS causes hangs

I have a Online JFS license key :

# vxlicense -p

vrts:vxlicense: INFO: Feature name: VXFS [80]
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: 263698561


but when performing the command :

# fsadm -F vxfs -b 2504m /var/audit/
fsadm: You don't have a license to run this program

What is it ? Did I miss something ? I do not seem to be able to unmount the FS (other than booting into single user mode of course) and I'd realy like to increase my FS.

I already ran the command :
lvextend -L 2500 /dev/vg00/lvol10

And that ran ok. Any hints and tips ??


Regs David
@yourservice
Elena Leontieva
Esteemed Contributor

Re: (Online) JFS ?

It allows you to extend FS online, that comes in very handy.

Elena.
James R. Ferguson
Acclaimed Contributor

Re: (Online) JFS ?

Hi David:

Make sure your kernel includes the 'vxadv' driver. You can grep for this in '/stand/system'. If not, add it and regenerate a kernel.

Regards!

...JRF...
Elena Leontieva
Esteemed Contributor

Re: (Online) JFS ?

This is what I have on the system where Online JFS is working:

cocn01(root):/> swlist |grep -i jfs
B5118BA B.11.00 HP OnLineJFS (Advanced VxFS)
PHCO_20030 1.0 Enhance ln(1) to work with JFS ACLs.
PHCO_20031 1.0 Enhance ls(1) to work with JFS ACLs.
PHCO_20032 1.0 Enhance mv(1) to work with JFS ACLs.
PHCO_20033 1.0 Enhance rm(1) to work with JFS ACLs.
PHCO_20034 1.0 Enhance shar(1) to work with JFS ACLs.
PHCO_20039 1.0 Enhance unpack(1) to work with JFS ACLs
PHKL_18452 1.0 Invalid I/O sizes from JFS causes hangs
PHKL_18800 1.0 Cumulative JFS patch - panic:dirty inval
PHKL_19991 1.0 Fixes mmap & I/O coherency, enables JFS ACLs
PHKL_20017 1.0 Fix boot, JFS hangs; I/O performance
PHKL_20675 1.0 Fix JFS 3.1 hang, data corruption
PHKL_21354 1.0 boot,JFS,IOperf,PA8600,3Gdata,NFS,bcache,IDS
PHKL_21491 1.0 fix VxFS(JFS 3.1) fsadm hang
PHKL_22393 1.0 VxFS 31 OnlineJFS cumulative patch
PHKL_24011 1.0 JFS 3.3 fix panic due to FS corruption
PHKL_24014 1.0 JFS 3.1 cummulative corruption and panic fix
PHKL_24745 1.0 VxFS 31 OnlineJFS cumulative patch
David_246
Trusted Contributor

Re: (Online) JFS ?

Hi James,

# grep vx /stand/system
vxfs
vxportal33

So adding, how ?? How do I regenerate a kernel :( I am afraid there is much to learn for me here.
Any advise ?

very funny, the rest. making a mistake ones and everyone jumps on it ! And you guys hoping to earn the 10 points right :)


Regs David
@yourservice
Brian Bergstrand
Honored Contributor

Re: (Online) JFS ?

Online JFS is licensed per CPU. Did you add a CPU after your JFS license and then not pay for an extra license?

HTH.
Steven E. Protter
Exalted Contributor

Re: (Online) JFS ?


# cp /stand/system /stand/system.$DATE
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s /stand/build/system
# kmtune -s = -S /stand/build/system

# /usr/sbin/mk_kernel -s ./system"
# mv /stand/system /stand/system.prev"
# mv /stand/vmunix /stand/vmunix.prev"
# mv /stand/dlkm /stand/dlkm.vmunix.prev"
# mv /stand/build/system /stand/system"


A guide.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim D Fulford
Honored Contributor

Re: (Online) JFS ?

From my notes you have missed out the raw device
# fsadm -F vxfs -b -r /dev//r

I believe the size is optional & will default to the raw LVs size.

The other thing is is your software properly installed, do you get anything if you run
# swlist -l fileset -a state | egrep -v "^#|configured"

If so you may need to run
# swconfig \*
Regards

Tim
-
Tom Maloy
Respected Contributor

Re: (Online) JFS ?

If you are using Veritas software instead of LVM, your licenses may not be enabled. Try running /usr/sbin/vxlicrep to check Veritas licenses.

Then try

/sbin/fs/vxfs/vxenablef -a

and check the licenses (vxlicrep) again. If they are enabled, then to make it permanent, add this to /etc/inittab:

vxen::bootwait:/sbin/fs/vxfs/vxenablef -a

Carpe diem!
S.K. Chan
Honored Contributor

Re: (Online) JFS ?

It seems odd that I do not see any ..
"HP OnlineJFS (Advanced VxFS)"
.. in your swlist output. What about ..
# swlist -l bundle |grep -i jfs
Elena Leontieva
Esteemed Contributor

Re: (Online) JFS ?

The steps are as follows:

cd /stand/build
/usr/lbin/sysadm/system_prep -s system

vi system and add vxadv line
mk_kernel -s system
kmupdate /stand/build/vmunix_test

Reboot at your shceduled time.

Elena.
Pete Randall
Outstanding Contributor

Re: (Online) JFS ?

It appears from your swlist output that you have only the base JFS product installed. You may have applied a license key for the online product, but you don't have the software installed.


Pete


Pete
David_246
Trusted Contributor

Re: (Online) JFS ?

Hi All,

It seems that I have no real Online JFS installed, but I am not sure if you would find it using swlist (when looking at the documentation).
Thanks for showing me how to rebuild a kernel ! I will not do this to our production server yet as I'dd like to test this first, before I start building kernels :)

About Online JFS (It's the LVM one not the Veritas one, as a previous question), I thought it should enable Online JFS by itself or not ? It shouldn't be this hard to set it up, right ? Anyone has a good doc, about how to get Online JFS to work in all steps ?

Regs David

P.S. : Still not able to increase my /var/audit :(
@yourservice
S.K. Chan
Honored Contributor
Solution

Re: (Online) JFS ?

The doc is here ..
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3929-90007/B3929-90007_top.html&con=/hpux/onlinedocs/B3929-90007/00/00/9-con.html&toc=/hpux/onlinedocs/B3929-90007/00/00/9-toc.html&searchterms=onlinejfs&queryid=20030723-100953
I still think you do not have it install. Check also /var/adm/sw/products .. if you have onlinejfs it should have a directory called ..
AdvJournalFS
together with the base JFS (ie JournalFS).
David_246
Trusted Contributor

Re: (Online) JFS ?

Very great doc !!!

Do you know if you need a reboot ?? It says not to use the option, but for install of JFS online ??
Previous was told to me to rebuild the kernel and that requires a reboot :) vxfs drivers should be loaded ones, right ?


Regs David
@yourservice
S.K. Chan
Honored Contributor

Re: (Online) JFS ?

As the doc had mentioned you don't need a reboot. Please confirm your findings on these ..
# swlist -l bundle|grep -i jfs
# cd /var/adm/sw/products
# ls|grep -i fs
I'm just curious if OnlineJFS is indeed installed already or not. Another thing you should check is the driver "vxadv", you can use SAM->Kernel Config->Drivers. Do you see "vxadv" in the list ??
David_246
Trusted Contributor

Re: (Online) JFS ?

# swlist -l bundle | grep -i jfs
B3929CA B.03.03 JFS 3.3 Filesystem For 11.00
B3929CA-fndation B.11.00 Foundation Patch Bundle for JFS 3.3

/var/adm/sw/products 1# ls -l | grep -i jfs
drwxr-xr-x 6 root sys 96 Jan 3 2003 JFS

I do not see any vxadv driver in there, the only ones are :

vxbase out out
vxfs In In
vxfs33_q4_syms In In
vxportal33 In In

I know the doc says to not reboot, but as the vxadv driver is not loaded yet, you do need to reboot to get it loaded, or is it hot pluggable or something ??

Many thanks for your help in this.

Regs David
@yourservice
S.K. Chan
Honored Contributor

Re: (Online) JFS ?

OK .. that confirms you do not have OnlineJFS install on your system yet. This is what you should do ..
1) Install OnlineJFS (per the documentation).
2) After that goto SAM and check if the "vxadv" driver is in the list or not. If it is it has to say ..
vxadv in in
If it's not, use SAM to include this driver in your kernel and at that point your kernel will be rebuilt and system rebooted.
Massimo Bianchi
Honored Contributor

Re: (Online) JFS ?

Hi,
i was not joking talking about the LITS patch.

PHKL_18543, talk to SEP ,
he really love this patch :)


It's needed for proper working of JFS, but it can cause very serious problem. There are a lot of thread with this question, check them also.

Also, after the install of Online JFS, you will loose the man page of fsadm_vxfs. I will attach it for you.

Massimo

Massimo Bianchi
Honored Contributor

Re: (Online) JFS ?

Hi,
i was not joking talking about the LITS patch.

PHKL_18543, talk to SEP ,
he really love this patch :)


It's needed for proper working of JFS, but it can cause very serious problem. There are a lot of thread with this question, check them also.

Also, after the install of Online JFS, you will loose the man page of fsadm_vxfs. I will attach it for you.

Massimo

IT Response
Esteemed Contributor

Re: (Online) JFS ?

Hi David

You have OnlineJFS 3.3, that why vxadv is not in the kernel, this is normal

For JFS 3.3, the driver should be vxportal33, so don't enable vxadv because if vxadv in system file, then you can get duplicate symbol when generating the new kernel.

One thing that you should check:

# /sbin/fs/vxfs3.3/vxenablef

it should return:

System is licensed for features
Full_VxFS HP_DMAPI

if it did not return anything, try to enable it if you have done the license installation:

# /sbin/fs/vxfs3.3/vxenablef -a

and try again with fsadm command

HN