Changing the sysplex-awareness of a mounted zFS read/write file system

In a shared file system environment, after a zFS read/write file system is mounted it is either sysplex-aware or non-sysplex aware. You can determine the sysplex-awareness of a mounted zFS read/write file system by using the zfsadm aggrinfo -long command. If it displays sysplex-aware, then it is sysplex-aware. If it is blank, then it is non-sysplex aware.

Alternatively, you can also issue the f zfs,query,file console command. As Figure 1 shows, an "S" indicates that the zFS read/write file system is mounted sysplex aware. Because you do not have to be running in the shell, this command can be useful if a file system is under recovery or having other problems.

To change the sysplex-awareness of a mounted zFS read/write file system, you need to perform the following steps:
  • Unmount the file system
  • Specify the MOUNT PARM (RWSHARE to make it sysplex-aware; NORWSHARE to make it non-sysplex aware)
  • Mount the file system again.
If you want to change the sysplex-awareness and you have not specified either the RWSHARE or NORWSHARE MOUNT PARM, you can change the sysplex-awareness with remount. To do so:
  • Remount the file system to read-only
  • Move z/OS® UNIX ownership of the file system (if necessary) to a system that has sysplex_filesys_sharemode specified to the sharemode that you want (rwshare or norwshare)
  • Remount the file system back to read/write.