About this task
You can also update continuous availability timeout, lockout, and write integrity settings when you modify a share.
Procedure
- Go to
.
- Click
Create an SMB share.
The
Create an SMB Share window opens.
- Select
Enable continuous availability on the share.
- Optional: Click
Show Advanced Settings.
- Optional: In the
Continuous Availability Timeout field, specify the amount of time you want a persistent handle to be retained after a client is disconnected or a server fails. The default is 2 minutes.
- Optional: Set
Strict Continuous Availability Lockout to
Yes to prevent a client from opening a file if another client has an open but disconnected persistent handle for that file. If set to
no, OneFS issues persistent handles, but discards them if any client other than the original opener tries to access the file. The default is
Yes.
- Click
Create Share.
- To configure write integrity settings:
- Open a secure shell (SSH) connection for the OneFS command line interface (CLI).
- Set the
--ca-write-integrity parameter to one of the following:
- none
- Continuously available writes are not handled differently than other writes to the cluster. If you specify
none and a node fails, you may experience data loss without notification. This setting is not recommended.
- write-read-coherent
- Writes to the share are moved to persistent storage before a success message is returned to the SMB client that sent the data. This is the default setting.
- full
- Writes to the share are moved to persistent storage before a success message is returned to the SMB client that sent the data, and prevents OneFS from granting SMB clients write-caching and handle-caching leases.