Operating System - HP-UX
1833796 Members
4520 Online
110063 Solutions
New Discussion

Re: Identifying OnLineJFS

 
andi_1
Frequent Advisor

Identifying OnLineJFS

Hi,

Yesterday I had a question how to determine if my current system has online JFS (swlist helped). Actually, I will need to determine if OnLineJFS installed on some other system given the following information about the system:

1. output from bdf command
2. copy of the system file
3. vg information and corresponding lv info
4. fstab information

Is there anyway to find out if the system has onLineJFS given the input mentioned above?

(I saw the following parameter vxadv in the system file of the system which has onLineJFS installed, but I am not sure if this is the right parameter)

Thank you.
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: Identifying OnLineJFS

I think your best bet is to use /stand/system. For 11.0, the base vxfs will show up as vxbase in /stand/system. Online/JFS should show up as the vxadv in /stand/system.

So if the system has vxadv, then chances are good that OnlineJFS is installed.

Why do you not want to use swlist though? That is the truest measure to see if you have it installed.

If you have it it will show up as "B3929BA B.11.00 HP OnLineJFS (Advanced VxFS) when you do a 'swlist | grpe -i jfs'.
S.K. Chan
Honored Contributor

Re: Identifying OnLineJFS

The vxadv is the kernel driver needed for OnlineJFS to work and if the kernel has it, I would imagine the answer is yes. It is still safer to check the installed bundle to confirm it.
andi_1
Frequent Advisor

Re: Identifying OnLineJFS

Thank you, so I was on the right path!

I cannot use swlist information since I receieve tar file from other system and the tar file unfortunatelly doesn't contain swlist information.
Sanjay_6
Honored Contributor

Re: Identifying OnLineJFS

Hi Leon,

No none of the options mentioned above will give you the info whether onlinJFS is installed or not.

To check if online jfs is installed and configured on your system you can try this,

Check that OnLineJFS features were enabled:
/sbin/fs/vxfs3.3/vxenablef

vxenablef displays the licensed features enabled in the kernel. If OnLineJFS features are enabled, it will print the following:

System is licensed for features

Full_VxFS HP_DMAPI

This will check the online jfs for version 3.3. Other than this, swlist if the only way.

Hope this helps.

Regds
Helen French
Honored Contributor

Re: Identifying OnLineJFS

Hi,

The best option is to get an output of the swlist command. However, OnlineJFS needs the kernel driver vxadv for functioning. So I would assume the /stand/system files which included 'vxadv' has OnlineJFS installed !

HTH,
Shiju
Life is a promise, fulfill it!
andi_1
Frequent Advisor

Re: Identifying OnLineJFS

One last question.

I am given customer fstab file, looking at the fstab file is it possible to identify which filesystems are mounted using OnLine JFS? Will the entry specify additional parameters?



/tmp,/dev/vg00/lvol7,/dev/vg00/lvol7 /tmp vxfs delaylog 0 2

Can this be an FS mounted with OnLine JFS parameters?

/psoft/hrs,/dev/vgapp01/lvol2,/dev/vgapp01/lvol2 /psoft/hrs vxfs rw,suid,delaylog,datainlog 0 2
Jeff Schussele
Honored Contributor

Re: Identifying OnLineJFS

Leon,

Nope...it only tells you that it's a Veritas (vxfs) FS.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Patrick Wallek
Honored Contributor

Re: Identifying OnLineJFS

Additional mount parameters are POSSIBLE when you buy OnlineJFS, but they are not REQUIRED to be used.

If you see a filesystem mounted with the options 'convosync=direct' and / or 'mincache=direct' then they have OnlineJFS because those options are not supported with the base JFS.

But if you have a filesystem mounted without those options, there is no way to tell if they OnlineJFS or not.

An LV does not have to be mounted in a special way to utilize some functions of OnlineJFS.

One of the things OnlineJFS enables you to do is to resize a LV on the fly without unmounting it. No special mount options are required to do this. The only requirement is that the LV is vxfs.