How to manage Shares using the dashboard

Shares can be created in order to provide NFS or CIFS (SMB) storage to instances on an internal network

  1. Login to the dashboard.

  2. Select the appropriate project from the drop down menu at the top left.

  3. On the Project tab, open the Share Tag

Create a Share Network

  1. Select the Share Networks tab, click Add Share Network

  2. In the Add Share Network dialog box, enter the following values:

    • Name: A name for the Share Network
    • Description: A description for the Share Network
    • Neutron net: Select the internal network you want the share on
  3. Click Add.

    The dashboard shows the Share Network

Create a Share

  1. Select the Shares tab, click Add Share

  2. In the Add Share dialog box, enter the following values:

    • Name: A name for the Share
    • Description: A description for the Share
    • Share protocol: Select NFS or CIFS
    • Size (GB): Enter the required size
    • Share Type: Select the type of share to create
    • Availability Zone: Select the availability zone for the share
    • Share Group: Optionally select a share group
    • Metadata: Optionally add metadata for the share
  3. Click Add.

    The dashboard shows the Share

Grant access to the share

  1. Select the Shares tab, click ‘Manage Rules’ in the ‘Action’ dropdown next to the Share

  2. Click ‘+ Add Rule’

  3. In the Add Rule dialog box, enter the following values:

    • Access Type: The type of access restriction (IP, User, Cert)
    • Access Level: The access level to the share (read-write, read-only)
    • Access To: What to grant access to, ie an IP address
  4. Click Add.

    The dashboard shows the Share

Mount the share on an instance

Log into your compute instance and create a folder where the mount will be placed:

$ mkdir ~/test_folder

Mount the NFS share in the compute instance using the export location of the share:

$ mount -vt nfs 10.254.0.6:/shares/share-0bfd69a1-27f0-4ef5-af17-7cd50bce6550 ~/test_folder