Operating System - HP-UX
1756710 Members
2567 Online
108852 Solutions
New Discussion юеВ

Re: Remount option in Service guard

 
SOLVED
Go to solution
Mike_305
Super Advisor

Re: Remount option in Service guard

JRF,

Your little hint was good for my peanut brain. LOL

You *must* specify all of the mount options you want on the commandline when you issue the 'mount'.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
Mike_305
Super Advisor

Re: Remount option in Service guard

Agreed JRF but when I did not had the entry in FSTAB it was giving me this error.

Command RAN: mount -o remount,nosuid /ora/lvol1

ERROR I got - mount: /ora/lvol1 was either ignored or not found in /etc/fstab

Not sure wht, I had to put the entry in FSTAB. Without that won't work.

Thanks for all your help. Enjoy the points.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
James R. Ferguson
Acclaimed Contributor

Re: Remount option in Service guard

HI (again) MJ:

> Agreed JRF but when I did not had the entry in FSTAB it was giving me this error.

Had you specified the 'special' or 'directory' argument in the commandline mount() the *absence* of an entry in 'fstab' should not have been a problem:

Given the syntax:

mount [-F vxfs] [-eQrV] [-o specific_options] { special | directory }

...the manpages note that "If you omit either special or directory, mount attempts to determine the missing value from an entry in /etc/fstab".

Regards!

...JRF...
Mike_305
Super Advisor

Re: Remount option in Service guard

JRF,

No I was only putting following.

mount -o renount,nosuid /ora/lvol1.

May be that's why.

Cool, it's always plsure to learn form the guru's.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
Mike_305
Super Advisor

Re: Remount option in Service guard

Dog on it, I am bad when I am rushing myself. I wish they make spell check button on the ITRC FORUMS.

LOL,

Appreciate everyone's help and thanks JRF.

Regards,

MJ

If there is problem then don't think as problem, think as opportunity.
Steven E. Protter
Exalted Contributor

Re: Remount option in Service guard

Shalom MJ,

I think your plan will work as well.

The remount will probably work, but do expect some interesting results on volume groups activated in shared mode.

It would clarify things for me if you explained why you need to check a mount and then change options.

Would it not be better to simply mount the file system in the chosen mode?

There is a risk of the package going down or failing over if you make a mistake. I'd be in contact with my user community before making changes in this regards.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Remount option in Service guard

HI MJ:

I meant to write:

# mount[-Fvxfs] [-eQrV] [-ospecific_options] special directory

....that is without the curly braces and the alternation of 'special' and 'directory' in the case we are discussing.

/* No points for this correction */

Regards!

...JRF...

Mike_305
Super Advisor

Re: Remount option in Service guard

Hello,

We are dong this on TEST systems.

Thanks for everyone's help.

Enjoy the points.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.