Operating System - HP-UX
1838193 Members
3969 Online
110125 Solutions
New Discussion

Re: How to identify the HP-UX file system type ?

 
SOLVED
Go to solution
Kenn Chen
Advisor

How to identify the HP-UX file system type ?

Whether online or non-online JFS ?
Cyber Zen
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: How to identify the HP-UX file system type ?

Hi:

There is no such thing as an OnlineJFS (or VxFS) filesystem type. If your have the OnlineJFS extensions you simply have more features available. Simply do a swlist and
look for OnlineJFS (or Advanced JFS). If it's there, you have it and can use all the features and mount options. If not ...

Clay
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor
Solution

Re: How to identify the HP-UX file system type ?

Hi:

Do this:

To see if you have Online JFS installed, do:

# swlist -l bundle|grep -i JFS

If the output of this command does *not* show a component with the word "Online" then you do not have Online JFS. The Online version is a separate add-on to the base product.

...JRF...
Frank Li
Trusted Contributor

Re: How to identify the HP-UX file system type ?

You can use "fstye " command to identify the file system type .
eg: fstyp /dev/vg00/lvol1

OnlineJFS is added furture of JFS/VxFS if you install Online JFS product . It's also the JFS/VxFS filesystem.
Hi Friend
James R. Ferguson
Acclaimed Contributor

Re: How to identify the HP-UX file system type ?

Hi (again):

If you are interested in the *version* of JFS a filesytem exists in, then 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...