Operating System - HP-UX
1819875 Members
3046 Online
109607 Solutions
New Discussion юеВ

Need to remount file systems with different option without having to unmount and mount.

 
John Goetz
Advisor

Need to remount file systems with different option without having to unmount and mount.

I have done this before forget the syntax. I need the following mount options: rw,suid,largefiles,delaylog,nodatainlog,
mincache=direct,convosync=direct 0 2
6 REPLIES 6
Rita C Workman
Honored Contributor

Re: Need to remount file systems with different option without having to unmount and mount.

...only way I know to get the mount options to be their (and active) is to have them included at time of mount. You can set these options up, and the next time you umount and then mount, they'll be there for you.

But to get them to be 'active' on something already mounted....???....

Just a thought,
Rita
Simon Hargrave
Honored Contributor

Re: Need to remount file systems with different option without having to unmount and mount.

You can add the option -oremount to your mount command to remount an already mounted filesystem. Add the parameters you need to change the extra parameters you require.
Devender Khatana
Honored Contributor

Re: Need to remount file systems with different option without having to unmount and mount.

Hi John,

Yes it can be done online. Your file system should be Vxfs for this. Make proper entried in /etc/vx/tunefstab file and apply changes using vxtunefs command.

man vxtunefs & tunefstab for details.

HTH,
Devender
Impossible itself mentions "I m possible"
Tvs
Regular Advisor

Re: Need to remount file systems with different option without having to unmount and mount.



hey

i know it is possible in linux

mount -o remount rw,(all you r options) /mount point

pls try this option
Rita C Workman
Honored Contributor

Re: Need to remount file systems with different option without having to unmount and mount.

....remount...Love these Forums ! I've never tried that.

Rita
RAC_1
Honored Contributor

Re: Need to remount file systems with different option without having to unmount and mount.

mincache=direct,convosync=direct require OnlineJFS. Do you have it??

man mount_vxfs

Also there is -o remount, but for such things, you should be doing clean umount and then mount.
There is no substitute to HARDWORK