gpfs:sharemodes
Read about share modes and how they impact SMB export.
The SMB protocol allows an application simultaneous access to a file by defining share modes when
it is first opened. The share modes can be in any of the following combinations.
- SHARE_READ
- SHARE_WRITE
- SHARE_DELETE
The sharemodes
option is enabled by default when an SMB export is created. When enabled,
the share modes that are specified by SMB clients are respected by other NAS protocols. When
disabled, it specifies that the share modes are applicable only to access by SMB clients. Clients
that use all other NAS protocols are granted or denied access to a file without regard to any share
mode defined by an SMB client.
If the export is not being accessed by clients that use other network file protocols (such as
NFS), then it is highly recommended that
--option gpfs:sharemodes=no
option
is specified on the mmsmb export add or mmsmb export change
commands.For more information, see Upgrading SMB packages.
Note: If your environment requires data sharing over multiple –protocols and these options cannot be
disabled, you might not be able to achieve the maximum active SMB connections per node. In that
case, consider adding more protocol nodes and increased storage bandwidth.