Operating System - HP-UX
1820318 Members
2713 Online
109623 Solutions
New Discussion юеВ

largfiles in hpux 11.0, 11.11, 11.23

 
SOLVED
Go to solution
Lucy2009_1
Frequent Advisor

largfiles in hpux 11.0, 11.11, 11.23

Hello,
I have HP-UX 11.0, 11.11.and 11.23 machines and SAN storages.Some of the file systems are not set to largefiles. There used to be an option in /etc/fstab to turn on largefiles but starting 11.11, it seems not needed. What is the best way to change file systems to largefiles? If using fsadm, does the fs need to be unmounted? Can /etc/fstab largefiles option be used instead of fsadm? Since I have many machines and many file systems to deal with,
I'd like to find a simple way to do this... Any input is appreciated.

Thanks,

Lynn
5 REPLIES 5
Sandy Chen
Honored Contributor
Solution

Re: largfiles in hpux 11.0, 11.11, 11.23

Hi Lynn,

Please check if you have OnlineJFS. If you have it then the filesystem do not need to be unmounted.

You have to change it using fsadm. You can't just change the /etc/fstab with largefiles option.

Regards,
Sandy
I never think of the future. It comes soon enough.
Yogeeraj_1
Honored Contributor

Re: largfiles in hpux 11.0, 11.11, 11.23

hi Lynn,

As mentioned by Sandy, modifying the /etc/fstab will have no immediate effect on the file system.

You will have to run the fsadm command (if Online JFS is installed) or alternatively newfs command for new file systems.

The steps here would be:
#fsadm -F vxfs -o largefiles /mount-point

edit /etc/fstab and update nolargefiles to largefiles.

See also:
http://docs.hp.com/en/B2355-90950/ch06s02.html#bajbbeef


hope this helps!

kind regards
yogeeraj



No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Sandy Chen
Honored Contributor

Re: largfiles in hpux 11.0, 11.11, 11.23

Hi,

Check this links too, it should answer your questions

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=866569
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=83699

Regards,
Sandy
I never think of the future. It comes soon enough.
whiteknight
Honored Contributor

Re: largfiles in hpux 11.0, 11.11, 11.23

Lynn,

Here is the tips
For changing the largefiles bit on a JFS filesystem:
To convert an Advanced JFS filesystem:
fsadm -F vxfs -o largefiles /(mountpoint)

To convert a base JFS filesystem (filesystem MUST be unmounted):
fsadm -F vxfs -o largefiles /dev/vg0#/rlvol#

To mount the new largefiles capable file system :
mount -F vxfs -o largefiles /dev/vg#/lvol# /(mountpoint)

To set the correct /etc/fstab syntax :
/dev/vg0#/lvol# /ignite_depot vxfs delaylog,largefiles 0 2

WK
don't forget to assign points
Problem never ends, you must know how to fix it
Lucy2009_1
Frequent Advisor

Re: largfiles in hpux 11.0, 11.11, 11.23

Thanks everyone for the input.