Operating System - HP-UX
1833053 Members
2668 Online
110049 Solutions
New Discussion

forcedirectio on a mounted Filesystem

 
SOLVED
Go to solution
GSK_2
Advisor

forcedirectio on a mounted Filesystem

Hi Guys,

Can you please help with my query.
Can we enable forcedirectio on the fly? how ro check if it has been enabled?
Thanks in advance,
Satish
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: forcedirectio on a mounted Filesystem

I assume that you are referring to vxfs filesystems. THe mount command with no options will display all the options that are currently in effect for a given filesystem. Now, if you want to assert mount options such as "convosync=direct", "convosync=unbuffered", "mincache=direct", or "mincache=unbuffered" to an entire filesystem then those are mount options and only can be applied when the filesystem is mounted (ie, at the time of mounting). However, it is possible to change the caching advisory of an open file within a process by issueing an ioctl() call. Man 7 vxfsio for those details.
If it ain't broke, I can fix that.