1836096 Members
3962 Online
110089 Solutions
New Discussion

JFS Version ?

 
Paul W Gronbach Jr
Occasional Advisor

JFS Version ?

How do I find out what version of JFS I am running. I have a K380 with HPUX 11.0
"if you are going to be somewhere, be there" auth. unknown
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: JFS Version ?

Paul:

To find the vxfs version you have, on a filesystem basis, do:

# fstyp -v /dev/vgXX/lvolX

From the mkfs_vxfs(1M) man page:

'mkfs' builds a file system with a root directory and a lost+found directory (see fsck_vxfs(1M)). The file system can have disk layout Version 2, disk layout Version 3, or disk layout Version 4. Version 2 supports dynamic inode allocation. Version 3 adds support forlarge files and large UIDs. Version 4 adds support for Access Control Lists. On HP-UX 11.1x systems, the default is Version 4. On HP-UX 11.0 systems, the default is Version 3.

Document #S3100004807 notes:

Both vxupgrade and fstyp report the layout version. The JFS version (3.1 vs. 3.3) and the layout version (3 vs. 4) need to be clearly separated. Disk layout 3 can be used by either JFS version, while layout version 4 can only be used by JFS version 3.3. The filesystem is not stamped with anything to indicate if it was created with JFS version 3.1 or 3.3, it is just created with a layout version that can be understood by the version of JFS used to create it.

To ascertain whether you have JFS 3.1 or 3.3, do:

# swlist -l fileset B5118BA #...for 3.1
# swlist -l fileset B3929CA #...for 3.3

...JRF...
Paul W Gronbach Jr
Occasional Advisor

Re: JFS Version ?

James,
Thank you. I now know that I have vxfs version 3. But the both of the swlist commands returned a not found message. Is there another, perhaps older(heaven forbid) version of JFS on my system. When looking at the swlist -i the only item preceded with a B is B3919EA. TIA once again.
"if you are going to be somewhere, be there" auth. unknown
James R. Ferguson
Acclaimed Contributor

Re: JFS Version ?

Hi Paul:

# swlist -l bundle|grep -i jfs

...JRF...
Paul W Gronbach Jr
Occasional Advisor

Re: JFS Version ?

Thanks again.
This swlist did not give me any response. I am getting concerned and confused. What other file system could I have? The reason for the questions is I want to upgrade to JFS 3.3 so I can take advantage of OnlineJFS and I like to know where I am coming from before I upgrade software and I am relatively new to HPUX(and Unix). Plus, I am in a two person dept. and wear so many different hats that I don't have the time to become expert in any of those areas; I have just enough time to keep the wheels on.
"if you are going to be somewhere, be there" auth. unknown
Patrick Wallek
Honored Contributor

Re: JFS Version ?

The 'swlist -l bundle | grep -i jfs' will only return something if you already have Online JFS installed. Online JFS is a separate product from the base JFS that comes bundled with HP-UX. The Online JFS product is one that you have to purchase separately from HP. The cost of the product is based on the type of machine that you have. The bigger the machine, the more expensive it is.

Here is a document from the TKB that gives a few more details on upgrading to JFS 3.3.

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=105fdeeb033a4371fd/screen=ckiDisplayDocument?docId=200000049076516

Just upgrading to the Base JFS 3.3 will NOT get you the functionality of Online JFS 3.3, it still has to be purchased separately.
James R. Ferguson
Acclaimed Contributor

Re: JFS Version ?

Hi Paul:

Patrick provided the information I would have too with regard to Online JFS. The cost is well worth it in my opinion.

As to your question of "what other file system" you could have, you would have either 'hfs' or 'vxfs' (JFS) ones. The 'fstyp' command in my original post returns the type of filesystem in its first line of output. You can also view the /etc/fstab file -- the third field (if present (usually)) will be the filesystem type. Take a look at the man pages for 'fstab': man fstab.

An excellent guide to LVM and common LVM tasks for both HFS, JFS and Online-JFS filesystems is the HP-UX System Administration Tasks manual. You can find it in either HTML or PDF format here:

http://docs.hp.com/hpux/os/10.x/index.html

...JRF...
Steven Sim Kok Leong
Honored Contributor

Re: JFS Version ?

Hi,

One thing I like about JFS 3.3 is that unlike previous versions of JFS, JFS 3.3 supports ACLs. With this in mind, that means the OS can now be strictly C2-compliant with JFS. C2-compliance requires the filesystems to support ACLs.

Hope this helps. Regards.

Steven Sim
Brainbench MVP for Unix Admin
http://www.brainbench.com