1826677 Members
2628 Online
109696 Solutions
New Discussion

version of vxfs

 
SOLVED
Go to solution
Unix Administrator_5
Frequent Advisor

version of vxfs

I am trying to find out what version of the vxfs file system (3.1, 3.3 etc). How do I determine this.

I am running HPUX 11.0
4 REPLIES 4
Kellogg Unix Team
Trusted Contributor

Re: version of vxfs

Hi,

Choose your favourite vxfs filesystem (say /dev/vg00/lvol3) and issue the following command -

fstyp -v /dev/vg00/lvol3

HTH
...Manjeet
work is fun ! (my manager is standing behind me!!)
Helen French
Honored Contributor

Re: version of vxfs

# man fstyp
# fstyp -v lvol_name
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: version of vxfs

Take say ../dev/vg00/lvol3 ..
# 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.
Keith Clark
Valued Contributor
Solution

Re: version of vxfs

By default on 11.0 you have 3.1. You may have a combination of 3.1 and 3.3 if:

a) Installed the JFS3.3 software.

b) Ran vxupgrade against individual filesystems.

Check for the installation of JFS 3.3 by executing "swlist -l fileset JFS"

If you have JFS 3.3, you should see something like:

JFS 3.3 JFS 3.3 base filesystem
JFS.JFS-BASE-KRN 3.3 JFS 3.3 filesystem commands
JFS.JFS-BASE2-KRN 3.3 JFS 3.3 filesystem kernel libraries - 32 bit
JFS.JFS-ENG-A-MAN 3.3 JFS 3.3 filesystem man pages


If it is installed then run the fstyp -v command on each filesystem. As stated in the previous posts, version 4 is 3.3.

Be careful if you decide to upgrade. You should not vxupgrade any root filesystems (/, /usr, /var, /opt, etc...) and be sure to read all of the release notes:

http://docs.hp.com/hpux/onlinedocs/B3929-90007/B3929-90007.html

And remember, by default all new filesystem created are version 3 by default, so you must use the version option to mkfs to get the new v4 layout. Once at v4, there is no going back, unless you want to backup and restore.

Good luck,

Keith