Create and manage shares

Create and manage shares

Shares are file storage that you provide access to instances. You can allow access to a share to a running instance or deny access to a share and allow access to it to another instance at any time. You can also delete a share. You can create snapshot from a share if the driver supports it. Only administrative users can create share types.

Create a share

  1. Log in to the dashboard, choose a project, and click Shares.

  2. Click Create Share.

    In the dialog box that opens, enter or select the following values.

    Share Name: Specify a name for the share.

    Description: Optionally, provide a brief description for the share.

    Share Type: Choose a share type.

    Size (GB): The size of the share in gibibytes (GiB).

    Share Protocol: Select NFS, CIFS, GlusterFS, or HDFS.

    Share Network: Choose a share network.

    Metadata: Enter metadata for the share creation if needed.

  3. Click Create Share.

The dashboard shows the share on the Shares tab.

Delete a share

  1. Log in to the dashboard, choose a project, and click Shares.

  2. Select the check boxes for the shares that you want to delete.

  3. Click Delete Shares and confirm your choice.

    A message indicates whether the action was successful.

Allow access

  1. Log in to the dashboard, choose a project, and click Shares.

  2. Go to the share that you want to allow access and choose Manage Rules from Actions.

  3. Click Add rule.

    Access Type: Choose ip, user, or cert.

    Access Level: Choose read-write or read-only.

    Access To: Fill in Access To field.

  4. Click Add Rule.

    A message indicates whether the action was successful.

Deny access

  1. Log in to the dashboard, choose a project, and click Shares.

  2. Go to the share that you want to deny access and choose Manage Rules from Actions.

  3. Choose the rule you want to delete.

  4. Click Delete rule and confirm your choice.

    A message indicates whether the action was successful.

Edit share metadata

  1. Log in to the dashboard, choose a project, and click Shares.

  2. Go to the share that you want to edit and choose Edit Share Metadata from Actions.

  3. Metadata: To add share metadata, use key=value. To unset metadata, use key.

  4. Click Edit Share Metadata.

    A message indicates whether the action was successful.

Edit share

  1. Log in to the dashboard, choose a project, and click Shares.

  2. Go to the share that you want to edit and choose Edit Share from Actions.

  3. Share Name: Enter a new share name.

  4. Description: Enter a new description.

  5. Click Edit Share.

    A message indicates whether the action was successful.

Extend share

  1. Log in to the dashboard, choose a project, and click Shares.

  2. Go to the share that you want to edit and choose Extend Share from Actions.

  3. New Size (GB): Enter new size.

  4. Click Extend Share.

    A message indicates whether the action was successful.

Create share network

  1. Log in to the dashboard, choose a project, click Shares, and click Share Networks.

  2. Click Create Share Network.

    In the dialog box that opens, enter or select the following values.

    Name: Specify a name for the share network.

    Description: Optionally, provide a brief description for the share network.

    Neutron Net: Choose a neutron network.

    Neutron Subnet: Choose a neutron subnet.

  3. Click Create Share Network.

The dashboard shows the share network on the Share Networks tab.

Delete a share network

  1. Log in to the dashboard, choose a project, click Shares, and click Share Networks.

  2. Select the check boxes for the share networks that you want to delete.

  3. Click Delete Share Networks and confirm your choice.

    A message indicates whether the action was successful.

Edit share network

  1. Log in to the dashboard, choose a project, click Shares, and click Share Networks.

  2. Go to the share network that you want to edit and choose Edit Share Network from Actions.

  3. Name: Enter a new share network name.

  4. Description: Enter a new description.

  5. Click Edit Share Network.

    A message indicates whether the action was successful.

Create security service

  1. Log in to the dashboard, choose a project, click Shares, and click Security Services.

  2. Click Create Security Service.

    In the dialog box that opens, enter or select the following values.

    Name: Specify a name for the security service.

    DNS IP: Enter the DNS IP address.

    Server: Enter the server name.

    Domain: Enter the domain name.

    User: Enter the user name.

    Password: Enter the password.

    Confirm Password: Enter the password again to confirm.

    Type: Choose the type from Active Directory, LDAP, or Kerberos.

    Description: Optionally, provide a brief description for the security service.

  3. Click Create Security Service.

The dashboard shows the security service on the Security Services tab.

Delete a security service

  1. Log in to the dashboard, choose a project, click Shares, and click Security Services.

  2. Select the check boxes for the security services that you want to delete.

  3. Click Delete Security Services and confirm your choice.

    A message indicates whether the action was successful.

Edit security service

  1. Log in to the dashboard, choose a project, click Shares, and click Security Services.

  2. Go to the security service that you want to edit and choose Edit Security Service from Actions.

  3. Name: Enter a new security service name.

  4. Description: Enter a new description.

  5. Click Edit Security Service.

    A message indicates whether the action was successful.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.