Managing SMB exports

You can modify the access control settings of SMB exports and delete exports when they are no longer needed.

Limitations

  • You cannot change the name or path of an export.

Prerequisites

To reconfigure an SMB export

Admin panel

  1. Go to the Storage services > File storage > Shares tab, and then click the name of the desired share. This will open the share screen.
  2. Select an export to open the pane with its parameters.
  3. In the export right pane, change the access control settings.

Command-line interface

Use the following command:

vinfra service file-storage export set [--writable | --read-only] [--public | --private] [--case-sensitive | --case-insensitive]
                                       [--mangled-names | --unmangled-names] [--browsable | --unbrowsable] <export>
--writable
Writable export (default)
--read-only
Read-only export
--public
Public export (default without Active Directory)
--private
Private export (default with Active Directory)
--case-sensitive
Export with case-sensitive file names
--case-insensitive
Export with case-insensitive file names (default)
--mangled-names
Export with file names mangling (default)
--unmangled-names
Export without file names mangling
--browsable
Browsable export (default)
--unbrowsable
Unbrowsable export
<export>
Export ID or name

For example, to change the access control settings of the export export1 to public and browseable, run:

# vinfra service file-storage export set export1 --public --browsable

To delete an SMB export

Admin panel

  1. Go to the Storage services > File storage > Shares tab, and then click the name of the desired share. This will open the share screen.
  2. Select an export, and then click Delete on the right pane.
  3. Click Delete in the confirmation window.

Command-line interface

Use the following command:

vinfra service file-storage export delete <export>
<export>
Export ID or name

For example, to delete the export export1, run:

# vinfra service file-storage export delete export1