Manage a Primary Storage

On the main menu of ZStack Cloud, choose Resource Center > Hardware > Storage Facility > Primary Storage. Then, the Primary Storage page is displayed.

The following table lists the actions that you can perform on a primary storage.
Action Description
Add Primary Storage Add a primary storage to the Cloud.
Edit Primary Storage Edit the name and description of the primary storage.
Enable Primary Storage Enable the primary storage when it is disabled.
Disable Primary Storage Disable the primary storage. After the primary storage is disabled, you cannot use it to create VM instances, volumes, or snapshots. However, existing resources are not affected.
Reconnect Primary Storage Reconnect the primary storage. This action will update the storage information about the primary storage.
Note: If any host can connect properly to the primary storage, the status of the primary storage will be Connected.
Enter Maintenance Mode Place the primary storage in maintenance mode.
Note:
  • Placing a primary storage in maintenance mode stops resources such as VM instances on the primary storage.
  • After a primary storage enters into maintenance mode, volumes on the primary storage cannot be used.
Create Volume Create a volume on the primary storage. Then, this volume will be an instantiated volume.
Note: Shared volumes now support only Ceph and SharedBlock primary storages.
Attach Cluster Attach the primary storage to a cluster. Note that one cluster can have multiple primary storages attached.
The following are primary storages of the same type that a cluster can have:
  • A cluster can have one or more LocalStorage primary storages attached.
  • A cluster can have one or more NFS primary storages attached.
  • A cluster can have one or more SharedBlock primary storages attached.
  • A cluster can have one SharedMountPoint (SMP) primary storages attached.
  • A cluster can have only one Ceph primary storage attached.
  • A cluster can have only one AliyunNAS primary storage attached.
  • A cluster can have only one AliyunEBS primary storage attached.
The following are combinations of primary storages that a cluster can have:
  • A cluster can have both a LocalStorage and an NFS primary storage attached.
  • A cluster can have both a LocalStorage and an SMP primary storage attached.
  • A cluster can have both a LocalStorage and a SharedBlock primary storage attached.
  • A cluster can have both a Ceph and a SharedBlock primary storage attached.
  • A cluster can have both a Ceph and more than one SharedBlock primary storage attached.
Detach Cluster Detach the primary storage from a cluster.
Note:
If you detach a primary storage from a cluster, note the following:
  • This operation might shut down VM instances on the primary storage and associated with the selected cluster, thus affecting the service running. Please exercise caution.
  • This operation might delete VPC vRouters on the primary storage and associated with the selected cluster, thus affecting the corresponding network service. Please exercise caution.
  • This operation might cause the volumes on the primary storage and associated with the selected cluster to fail to work properly. Please exercise caution.
If you detach a primary storage from an elastic baremetal cluster, note the following:
  • This operation might shut down VM instances on the primary storage and associated with the selected elastic baremetal cluster, thus affecting the service running. Please exercise caution.
  • This operation might cause the volumes on the primary storage and associated with the selected elastic baremetal cluster to fail to work properly. Please exercise caution.
Delete Primary Storage Delete the primary storage.
Note: When you delete a primary storage, note the following:
  • Before you can delete the primary storage, detach it from all clusters.
  • Deleting a primary storage also deletes all the resources on the primary storage, such as VM instances, elastic baremetal instances, volumes, and snapshots. Even if you add this primary storage again, the original files cannot be automatically detected.
Clean up Data Clean up original data reserved during the migrations across Ceph primary storages, the migrations across NFS primary storages, and the migrations across SharedBlock primary storages. To perform this action, go to the Data Cleanup tab of the primary storage details page, and click Cleanup. These data cannot be recovered after cleanup. Please exercise caution.