Exporting the same file system/directory as a different CIFS share
In ctdb clustering mode, you can export the same file system or directory as a different CIFS share with different available CIFS options. This features allows you more granular control over CIFS shares for different sets of users.
If the same file system is exported as different shares in ctdb clustering mode, then after switching to normal clustering mode only one share out of these is available.
Note:
If the same file system or directory is exported as different shares, then the fs_mode value is the same for all of these shares; that is, the last modified fs_mode value is applicable for all of those shares. This applies to fs_mode, owner, and group.
Note:
This feature is only supported in the ctdb clustering mode.
To export a directory with read access to everyone, but write access to the limited set of users who need to be authenticated
- To export a directory with read access to everyone, but write access to the limited set of users who need to be authenticated, enter the following:
CIFS> share add "fs1/Veritas isa" share1 rw,noguest CIFS> share add "fs1/Veritas isa" share2 ro,guest CIFS> share show
The above example illustrates that the same directory is exported as a different CIFS share for guest and noquest users with different sets of permissions.