Operating System - HP-UX
1834650 Members
1967 Online
110069 Solutions
New Discussion

Re: What version of JFS is a given fiel system?

 
SOLVED
Go to solution
Jaris Detroye
Frequent Advisor

What version of JFS is a given fiel system?

How can I tell what version of JFS a given filesystem was created as?

I am running 11.0 and a 'swlist JFS' shows that nothing is loaded. I take this to mean that I do not have JFS 3.1 or 3.3. But then what version are my VxFS file systems? And what trauma will I go through upgrading to JFS 3.3?
7 REPLIES 7
S.K. Chan
Honored Contributor
Solution

Re: What version of JFS is a given fiel system?

# fstyp -v /dev/vg00/lvol3
for example will tell you the JFS version on the FS.
# swlist -l product|grep fs
should capture all and show you if "what" JFS is loaded.

The fstyp will show like .."version4" or "version3" (at least on 11.x).If fstyp shows version4 then you got JFS3.3 installed because version4 FS is created by JFS3.3
On the other hand if the fstyp output is version3 than those are not JFS3.3 filesystem. And installaing JFS3.3 is easy, so does converting your existing vxfs to version4.
James Murtagh
Honored Contributor

Re: What version of JFS is a given fiel system?


Hi,

Use

fstyp -v /dev/vg00/rlvol3 |grep -i version

Regards,

James.
S.K. Chan
Honored Contributor

Re: What version of JFS is a given fiel system?

An example of installing JFS3.3 on 11.0 doc ..
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/8-con.html&toc=/hpux/onlinedocs/B3929-90007/00/00/8-toc.html&searchterms=JFS&queryid=20021003-095607
You would use "vxupgrade" to upgrade your existing vxfs FS. Do "man vxupgrade" for details. Just remember if you eventually got around to perform "vxupgrade" make sure the FS has some free space available. Can't really tell how much exactly you need but as long as your FS utilization does not exceed 80% I think it'll be fine.
Jaris Detroye
Frequent Advisor

Re: What version of JFS is a given fiel system?

Thanks the fstyp command did the trick.
But... the swlist w/grep for 'fs' only returned a list of patches no products other than that. So.... I have neither JFS 3.1 or 3.3 loaded. That means I am using JFS 3.0???
Helen French
Honored Contributor

Re: What version of JFS is a given fiel system?

This command will tell you the version:
# fstyp -v lvol_name
To find out the version installed on the system:
# swlist -lfileset | grep JFS
This document will explain you the steps to upgrade to JFS3.3(TKB #KBRC00004126):
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063201676
To read more about JFS3.3:
http://www.docs.hp.com/hpux/onlinedocs/B3929-90007/B3929-90007.html
Life is a promise, fulfill it!
Jaris Detroye
Frequent Advisor

Re: What version of JFS is a given fiel system?

My understanding is that I only need to perform the 'vxupgrade' command on file systems I wish to change from version 3 to version 4. Also, it seem that the only major benifit to doing this is to enable VxFS ACL's. My primary motivation for installing JFS 3.3 is to use the OnlineJFS 3.3 which we purchased, and to get the performance enhancements to the overall JFS product. ACL's are not important so I probably will not upgrade to layout version 4 at this time.
S.K. Chan
Honored Contributor

Re: What version of JFS is a given fiel system?

What about ..
# swlist -l fileset|grep -i jfs
or
# swlist -l fileset|grep -i vxfs

With JFS3.3(version4 FS) you not only get ACL but a few enhancement in areas of ..
-performance
-robustness (especially in shrinking FS)
-vxtunefs ( for tuning your vxfs, very slick!)
-onlinejfs of course