Re: Is there a way to mount a JFS with Direct I/O on system reboot?

"Gregory Young" <usenet@xxxxxxxxxx> wrote in message news:g6dlhq$e30$1@xxxxxxxxxxxxxxxxxxxxxx
steven_nospam at Yahoo! Canada <steven_nospam@xxxxxxxx> wrote:
oslevel -s

When using Enhanced JFS, is there a way to allow AIX to automatically
mount the file system with the Direct I/O option?

To do this now, I use the following command:

# mount -odio /samplefs

However, I would like to set up the file system so that it is
automatically mounted using that option. In the "smitty chjfs2"
screen, there is the following field:

Mount OPTIONS []

You should be able to just type dio into that field and commit. Check
/etc/filesystems after you've done that and it ought to be listed on the
options line in the right fs stanza.

Gregory Young

Easier way is to use the chfs command :

chfs -a options=dio <mountpoint>