Skip to main content
Amazon FSx for NetApp ONTAP

Manage the SMB/CIFS share for a volume in Workload Factory

Contributors netapp-rlithman

Managing a volume's SMB/CIFS share in Workload Factory includes SMB/CIFS share creation, determining the users and groups to give access to and the level of permissions to give them, and SMB/CIFS share deletion.

Before you begin

Before you begin, do the following:

Create an SMB/CIFS share for a volume

Follow the steps to create an SMB/CIFS share for a volume.

Steps
  1. Log in using one of the console experiences.

  2. In the Storage tile, select Go to Storage.

  3. From the Storage menu, select FSx for ONTAP.

  4. From FSx for ONTAP, select the actions menu of the file system with the volume to update and then select Manage.

  5. From the file system overview, select the Volumes tab.

  6. From the Volumes tab, select the actions menu of the volume to change the SMB share for.

  7. Select Advanced actions, then Manage SMB/CIFS shares.

  8. On the Manage SMB/CIFS shares page, select Create SMB/CIFS share.

  9. In the Create SMB/CIFS share dialog, provide the following:

    1. Name: Enter the name of the SMB/CIFS share.

    2. Path: Either define the path using the default volume name or provide a share to an internal directory.

      Valid path inputs for volume name, for example "avocado", are as follows:

      • /avocado

      • /avocado/folder

      • /avocado/folder/subfolder

      • /avocado/file-name

        Valid path inputs for share name, for example "Server", are as follows:

      • \\Server

      • \\Server\Projects

      • \\Server\Projects\Shared resources

    3. Permissions: Select Full control, Read/Write, Read, or No access, and then enter the users or groups separated by a semicolon ( ; ). Users or groups are case sensitive and the user's domain must be included using the format "domain\username".

  10. Select Create.

Change an SMB/CIFS share for a volume

Follow the steps to change the SMB/CIFS share settings for a volume.

Steps
  1. Log in using one of the console experiences.

  2. In the Storage tile, select Go to Storage.

  3. In the FSx for ONTAP tab, select the actions menu of the file system with the volume to update and then select Manage.

  4. From the file system overview, select the Volumes tab.

  5. From the Volumes tab, select the actions menu of the volume to change the SMB share for.

  6. Select Advanced actions, then Manage SMB/CIFS shares.

  7. On the Manage SMB/CIFS shares page, select View and edit.

  8. Change the SMB/CIFS access permissions, or the users or groups to give permissions to.

    Changes might cause current users or groups to lose access to the SMB/CIFS share.

  9. Select Apply to save the changes.

Delete an SMB/CIFS share for a volume

Follow the steps to delete an SMB/CIFS share for a volume.

Steps
  1. Log in using one of the console experiences.

  2. In the Storage tile, select Go to Storage.

  3. In the FSx for ONTAP tab, select the actions menu of the file system with the volume to update and then select Manage.

  4. From the file system overview, select the Volumes tab.

  5. From the Volumes tab, select the actions menu of the volume to change the SMB share for.

  6. Select Advanced actions, then Manage SMB/CIFS shares.

  7. On the Manage SMB/CIFS shares page, select the actions menu of the SMB/CIFS share and then select Delete.

    Deleting the SMB/CIFS share makes it unavailable and inaccessible to any users who want to mount it.

  8. In the Delete SMB/CIFS share dialog, select Delete to confirm deletion.