1834047 Members
2406 Online
110063 Solutions
New Discussion

OnlineJFS

 
SOLVED
Go to solution
Aziz Zouagui
Frequent Advisor

OnlineJFS

Greetings,

well after checking the installation in our N class boxes, I found out that the OnlineJFS is installed.

# swlist|grep -i jfs
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)

But it is not configured, I don't have all the commands that everyone is talking about vxenablef and the directory /sbin/fs/vxfs/jfs3.3

all that is displayed:
# lf /sbin/fs
autofs/ cdfs/ hfs/ lofs/ nfs/ vxfs/
# lf /sbin/fs/vxfs
bcheckrc* extendfs* fsck* fsdb* mkfs* mount* newfs* umount@

The question I have is this.
Why is it displaying in the swlist if it is not installed.

The other question:
How hard is it to install OnlineJFS in our current environment ?

Does it mean that we have to re-crecreate all the volumes and have everyone outside the system while this is going ?

Any feedback would be greatly appreciated
Thank you
------------------
# cat /etc/fstab
/dev/vg00/lvol5 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol3 ... swap defaults 0 0
/dev/vg00/lvol4 ... swap defaults 0 0
/dev/vg00/lvol6 /home vxfs delaylog 0 2
/dev/vg00/lvol7 /opt vxfs delaylog 0 2
/dev/vg00/lvol8 /tmp vxfs delaylog 0 2
/dev/vg00/lvol9 /usr vxfs delaylog 0 2
/dev/vg00/lvol10 /var vxfs delaylog 0 2
/dev/vg01/lvol1 /p01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg01/lvol2 /p02 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg02/lvol1 /p03 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg02/lvol2 /p04 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg03/lvol1 /p05 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg03/lvol2 /p06 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg04/lvol1 /p07 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg04/lvol2 /p08 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg05/lvol1 /p09 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg05/lvol2 /p10 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg07/lvol1 /u01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg07/lvol2 /u02 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg08/lvol1 /u03 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg08/lvol2 /u04 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg09/lvol1 /u05 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg09/lvol2 /u06 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg10/lvol1 /u07 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg10/lvol2 /u08 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg11/lvol1 /u09 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg11/lvol2 /u10 vxfs rw,suid,largefiles,delaylog,datainlog 0 2

10 REPLIES 10
A. Clay Stephenson
Acclaimed Contributor

Re: OnlineJFS

It appears that you have OnlineJFS 3.1 rather than the newer 3.3. You still have OnlineJFS and can extend filesystems 'on the fly' but you can take advantage of newer features like ACL's. On 11.0, twoo versions of OnlineJFS were availabale and you appear to have the older one. You should be able to upgrade but you will need a license to enable the features.
If it ain't broke, I can fix that.
Aziz Zouagui
Frequent Advisor

Re: OnlineJFS

Thank you for the quick response.

If we upgrade to the latest(3.3 I guess) from what we have now, is there a performance increase ?

What are ACLs ?

Vincente Fernandes
Valued Contributor

Re: OnlineJFS

Another way to verify what version of JFS you currently have is use fstyp command. For ex. in your case type "/usr/sbin/fstyp -v /dev/vg00/lvol10". It will give all the details about the logical volume along with version#. JFS 3.3 and 4 are the same. You can use vxupgrade to upgrade from JFS 3 to 4 version without recreationg the volume group and filesystems online. For more details check the man page for vxupgrade.
steven Burgess_2
Honored Contributor

Re: OnlineJFS

Hi

An ACL is an access control list. Here is a doc that describes restricting access to SDUX using ACL's

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683945

And some further information for online JFS

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683849

HTH

Steve
take your time and think things through
Vincente Fernandes
Valued Contributor

Re: OnlineJFS

Also the man page suggest to upgrade to HP-UX 11.11 before upgrading to JFS 4 as per below.

"Additionally, we do not advise upgrading the /var or /opt file systems to version 4 on an 11.0 system. These core file systems are crucial for system recovery. The HP-UX 11.0 kernel and emergency recovery media were built with an older version of JFS that does not recognize the Version 4 disk layout. If these file systems were upgraded to Version 4, your system would fail to boot with the 11.0 kernel as delivered or the emergency recovery media. You can, however, upgrade these core file systems to Version 4 on an HP-UX 11.1x system."
Eric Hess
Advisor
Solution

Re: OnlineJFS

No Online JFS 3.3 does not give you performance increase. You just have more options with 3.3. ACLs are access control lists. Do a man on acl to see what this gives you. Online JFS is a optional product and you will need a password to unlock the license key from one of the application CD's. If you upgrade to 3.3 make sure you remove the vxadv & vxbase out of your kernel drivers and make sure to add vxfs, vxfs33_q4_syms & vxportal33 to the driver list. Good Luck
I didn't do it. He did!
Keith Clark
Valued Contributor

Re: OnlineJFS

VxFS 3.3's major advantage is that you can consistently shrink filesystems. With 3.1, there was a problem where if there was a partial allocation unit, or if there was data placed in the last allocation unit, you could not shrink the filesystem. This was fixed in 3.3, plus:

- Access Control Lists (ACLs) Security Model

- New disk layout, version 4

- A new command, vxtunefs, for tuning a JFS file system

- Performance enhancements

- New run-time licensing procedure for the HP OnlineJFS product

Check out the release notes for details:

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

There are a few things that are not talked about in HP's release notes. 3.3 also added storage checkpoints, which are the enablers for things like Block-Level Incremental backups and storage rollbacks. Also cached quick i/o. Check out the 3.3 release notes from Veritas:

http://ftp.support.veritas.com/pub/support/products/FileSystem_UNIX/fs333_release_notes_236572.pdf
Aziz Zouagui
Frequent Advisor

Re: OnlineJFS


From all of your messages, I gathered the following:

There is not a whole lot of IO peformance gain when upgrading from JFS3.1, which is what I seem to have installed initially, and JFS3.3

2 more questions, if you please:

can you use JFS and Asynchrosnus IO ?

I read somewhere that JFS when installed, it does not use the kernel's asynch_io, the reason for this, is that some Application DBAs and Developers are asking us to implement asynchronus io to gain io performance.

Thank you again.

James R. Ferguson
Acclaimed Contributor

Re: OnlineJFS

Hi:

OnlineJFS offers the ability to use additional mount options that can improve performance, on a filesystem-by-filesystem basis. See Technical Knowledge Base docuement #KBAN00000258 along with the man pages for 'mount_vxfs' for more information.

The kernel parameter 'fs_async' offers a similar performance enhancement unrelated to JFS. The use of 'fs_async' carries some strong caveats, though. A good tutorial discussing its tradeoffs can be found here:

http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.FSasync.html

Regards!

...JRF...

IT Response
Esteemed Contributor

Re: OnlineJFS

Hi

1) /dev/vg01/lvol1 /p01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2

--> these mount options are standard when creating the filesystem thru sam and these options does not need OnlineJFS

2) can you use JFS and Asynchronous IO ?

For JFS or VxFS, when you talk about Async, that means you can use different mount options to mount your filesystem such as Direct I/O, Quick I/O, etc. Some options such as Quick I/O, it 's starting from VxFS version 3.5 not 3.3 and 3.1

If you are using for Oracle --> FYI: http://eval.veritas.com/downloads/pro/DEOPerf-2.pdf

For further details about JFS 3.3, please refer to: http://student.ing-steen.se/unix/hp-ux/B3929-90011.pdf

Good Luck

HN