Enable SMB continuous availability

You can enable SMB 3.0 continuous availability and configure settings when you create a share.

About this task

You can also update continuous availability timeout, lockout, and write integrity settings when you modify a share.

Procedure

  1. Go to Protocols > Windows Sharing (SMB) > SMB Shares.
  2. Click Create an SMB share.
    The Create an SMB Share window opens.
  3. Select Enable continuous availability on the share.
  4. Optional: Click Show Advanced Settings.
  5. 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.
  6. 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.
  7. Click Create Share.
  8. To configure write integrity settings:
    1. Open a secure shell (SSH) connection for the OneFS command line interface (CLI).
    2. 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.