Operating System - HP-UX
1837199 Members
2477 Online
110115 Solutions
New Discussion

modifying mount options in SG

 
SOLVED
Go to solution
Terrence
Regular Advisor

modifying mount options in SG

I need to add the largefiles option to my mount options in the package control script. Does anyone know exactly how this needs to be entered? I think it's:
FS_MOUNT_OPT[0]="-o delaylog,largefiles"
Is this correct? I've searched every book I own and this site and I can't find an example of a second option being added.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: modifying mount options in SG

That's it but you must first run
fsadm -F vxfs -o largefiles /dev/vgnn/lvolnn

to enable the largefiles.

Other mount options can be added separated by comma's.
If it ain't broke, I can fix that.
Jeff Schussele
Honored Contributor

Re: modifying mount options in SG

Hi Terry,

Yes, that is the correct way to do it.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Terrence
Regular Advisor

Re: modifying mount options in SG

A. Clay do I need to run
fsadm -F vxfs -o largefiles /dev/vgnn/lvolnn
if I'm going to bring the cluster down, and then bring it back up from scratch. If the cluster is down can I run the fsadm even though the file system is unmounted, or do I need to mount it manually (and temporarily since SG will also mount when I start it up again)run fsadm and then umount it before starting my cluster?
Just thinking of all the things that can go wrong.
Jeff Schussele
Honored Contributor

Re: modifying mount options in SG

Hi (again) Terry,

No that's a one-time shot to enable largefiles on that FS in case the FS wasn't created w/largefiles enabled in the 1st place.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
A. Clay Stephenson
Acclaimed Contributor

Re: modifying mount options in SG

No, just run the fsadm one time and then you are set. You don't even to need to run it on each node; all you are doing is setting a compatibilty bit with the filesystem itself.
If it ain't broke, I can fix that.