Disks

The disks is the storage file for the server.

Disks is a storage file for a server. Disks can be classified into local disks and cloud disks based on their location, where the local disk is required to be in the same host as the server. Local disks do not support new, mount and unmount in the disklist. The cloud disk is required to be in the same zone as the server, and the cloud disk supports new, mount, unmount, expand, and delete operations.

Entry: In the cloud management platform click on the top left corner navigation menu, and click “Compute/Storage/Disk” menu item in the left menu bar that pops up to enter the disk page.

Create disk

This function is used to create a disk. The newly created disk needs to be mounted on the server to be used properly.

Create On-premise disks

Please configure Ceph, NFS, GPFS, and other shared storage before creating a new disk in your On-premise.

  1. On the disks page, click the “All” or “On-premise” tab at the top, and click the “Create” button at the top of the list to enter the Create disks page.
  2. Configure the following parameters.
    • Specify Project: Specify the project to which the diskbelongs when creating a new disk.
    • Region: Select the region and zones.
    • Name: Set the name of the disk.
    • Disks: Select the disk type and set the capacity size of the disk.
  3. Click the “OK” button to complete the operation.

Create private cloud platform disks

Before creating a new private cloud platform disk, please make sure you have a cloud account for the corresponding platform.

  1. On the disks page, click the “Private Cloud” tab at the top, and click the “Create” button at the top of the list to bring up the Create disks dialog.
  2. Configure the following parameters.
    • Specify Project: Specify the project to which the diskbelongs when creating a new disk.
    • Region: Select the region and zone. You can use the region to determine the platform to which the private cloud belongs and the private cloud cloud account to use for creating the disk.
    • Name: Set the name of the disk.
    • Disks: Select the disk type and set the capacity size of the disk.
  3. Click the “OK” button to complete the operation.

Create public cloud platform disk

Before creating a new public cloud platform disk, please make sure you have a cloud account for the corresponding platform.

  1. On the disks page, click the “Public Cloud” tab at the top, click the “Create” button at the top of the list to bring up the Create disks dialog.
  2. Configure the following parameters.
    • Specify Project: Specify the project to which the diskbelongs when creating a new disk.
    • Region: You can determine the platform and zone to which the diskbelongs by locale, platform, region, and zone.
    • Name: Set the name of the disk.
    • Disks: Select the disk type and set the capacity size of the disk.
    • Specify cloud subscription: Specify the cloud subscription for creating the disk.
  3. Click the “OK” button to complete the operation.

Disks expansion

This function is used to expand the size of the system or data disk to meet the data growth requirements. The following table lists the conditions for disk expansion for different platforms. Disks expansion does not support reducing the capacity of a disk.

  1. On the disks page, click the “Expand Capacity” button in the right-hand column of the disks to bring up the Expand Capacity dialog box.
  2. Adjust the disk capacity and click the “OK” button.
Platform Capacity Expansion Limit
OneCloud No requirement
VMware System disks are only supported for shutdown expansion, data disks are not required, If the drive already has a server snapshot, expansion is not allowed
ZStack The server mounted on the disk is running or shutdown;
OpenStack Only data disks are supported;
Alibaba Cloud Only data disks are supported; disk-mounted servers are running or shutdown
AWS No requirement
Azure Virtual machines mounted on disks are not in a running state
Tencent Cloud Only supports data disk expansion
Huawei Cloud Virtual machines mounted on disks are running or shut down
UCloud The server mounted on the disk is in shutdown state

Mounted

This function is used to mount a disk in the pending mount state to a server for use by the server.

  1. On the disks page, click the “More” button on the right column of the disks and select the drop-down menu “Mount” menu item to bring up the Mount dialog box.
  2. After selecting the server, click “OK” button.
  3. After the disk is successfully mounted, you need to log in to the server to format the partition and mount the new partition.

Unmount

This function is to disassociate the data disk mounted to the server from the server, and the unmounted disk can be mounted to other servers. Only unmounted data disks are supported. If the server is a Linux system, please wait for the umount command to execute successfully before unmounting the disk in the server.

  1. On the disk page, click the “More” button on the right action bar of the disk, select the drop-down menu “Uninstall” menu item to bring up the uninstall confirmation dialog. Click the “OK” button to complete the operation.

Create Create Snapshot

This function is used to back up data for a disk, and a disk created with a snapshot can be restored to its pre-snapshot state when it fails.

  1. On the disks page, click the “More” button on the right-hand column of the disks, and select the “Create Snapshot” menu item to bring up the Create Snapshot dialog box.
  2. Set the snapshot name and click the “OK” button to create a snapshot.

Set Auto Snapshot

This function is used to set Snapshot Policies for the disk. After setting, the diskwill periodically create an automatic snapshot at the time point specified in the Snapshot Policies.

  1. On the disks page, click the “More” button on the right action bar of the disks and select the drop-down menu “Set Auto Snapshot” menu item to bring up the Set Auto Snapshot dialog box.
  2. To turn on automatic snapshot. If there is no Snapshot Policies that meets your needs, click the “Create Custom Snapshot Policy” hyperlink on the right, configure the relevant parameters in the new policy pop-up, and click the “OK” button to create Snapshot Policies. Click the “OK” button when the Snapshot Policies is selected.
  3. Close the automatic snapshot: Check the box to close the automatic snapshot and click the “OK” button.

Modify driver

This function is used to modify the disk drive, and it needs to restart the virtual machine to take effect after modification.

  1. On the disk page, click the “More” button on the right operation bar of the disk, select the drop-down menu “Modify Drive” menu item to bring up the Modify Disk Drive dialog box.
  2. Modify the following parameters.
    • Cache mode: Set the cache mode of the disk, including none, writethrough, writeback, etc.
      • none: i.e. direct access to the host disk.
      • writethrough: without using any cache, operate the disk write directly, and only the data is written to the disk will return success. Although data consistency is maintained, the write speed is slow in this mode because the disk is slow to write, but the read speed is high. There is no need to swipe the disk.
      • writeback: Writing data to the host page cache returns write success. The page cache then merges the data to write the disk. The virtual machine disk controller is also aware that back cache is used, so to keep the data consistent (new data on the virtual machine side, old data on the disk side), the virtual machine sends a writeback (forcing the data in the cache to persist to disk.) when needed. command.
    • Disk driver: Set the disk driver, including vitro, ide, scsi, pvscsi.
  3. Click the “OK” button to complete the operation.

Change Project

This function is used to change the entries of unmounted discs.

  1. On the disk page, click the “More” button on the right action bar of the disk and select the drop-down menu “Change project” menu item to bring up the Change project dialog.
  2. Select the domain and project, and click the “OK” button.

Sync Status

This function is used to get the current status of the disk.

Sync Status.

  1. On the disks page, click the “More” button on the right action bar of the disks and select the drop-down menu “Sync Status” menu item to synchronize the disks status.

Batch Sync Status

  1. Select one or more disks in the disklist, click the “Batch Action” button at the top of the list, and select the drop-down menu “Sync Status” menu item to synchronize the diskstatus.

Delete

Supports individual and batch deletion of disks, when the disk is not mounted.

delete

  1. On the disk page, click the “More” button in the action bar on the right side of the disk, select the drop-down menu “Delete” menu item to bring up the action confirmation dialog.
  2. Support to check Delete Snapshot, click “OK” button to finish the operation.

Batch delete

  1. Select one or more disks in the list of disks, click the “Delete” button at the top of the list to bring up the operation confirmation dialog.
  2. Support to check Delete Snapshot, click “OK” button to finish the operation.

View disk details

This function is used to view the details of the disk, the snapshot information created by the disk, and the log information.

  1. Click the diskname item to enter the diskdetails page.
  2. The menu item at the top of the details page supports managing disks.
  3. View the Cloud ID, ID, name, status, domain, project, platform, billing method, capacity, disk type, whether to mount, format, media type, server (name and status), storage, snapshot policy, region, zone, cloud account, created at, updated at, notes, etc. of the disk.

Snapshot Management

This feature is used to manage snapshot information on the disk, etc.

Rollback of disks

This feature is used to roll back a server’s disk to the state it was in when the snapshot was created. Before rolling back a disk, you need to make sure that the server associated with the disk is shut down.

  1. Click the diskname item to enter the diskdetails page.
  2. Click the Snapshot tab to go to the Snapshot page.
  3. Click the “Rollback Drive” button in the action bar on the right side of the snapshot to bring up the Rollback Diskdialog box.
  4. Click the “OK” button to roll back the diskto the snapshot moment.

Sync Status

This function is used to get the current status of the disksnapshot.

Sync Status.

  1. Click the diskname item to enter the diskdetails page.
  2. Click the Snapshot tab to enter the Snapshot page.
  3. Click the “Sync Status” button on the right column of the disksnapshot to synchronize the status of the disksnapshot.

Batch Sync Status

  1. Click the diskname item to enter the diskdetails page.
  2. Click the Snapshot tab to enter the Snapshot page.
  3. Select one or more disk snapshots in the Snapshot list and click the “Sync Status” button at the top of the list to synchronize the status in batch.

Delete

This function is used to delete a disk snapshot.

Delete

  1. Click the diskname item to enter the diskdetails page.
  2. Click the Snapshot tab to enter the Snapshot page.
  3. Click the “Delete” button in the action bar on the right side of the snapshot to bring up the action confirmation dialog.
  4. Click the “OK” button to complete the operation.

Batch Delete

  1. Click the diskname item to enter the diskdetails page.
  2. Click the Snapshot tab to enter the Snapshot page.
  3. Select one or more snapshots in the Snapshot list, and click the “Delete” button at the top of the list to bring up the operation confirmation dialog.
  4. Click the “OK” button to complete the operation.

View Operation Log

This function is used to view the operation log information related to the disk.

  1. On the disks details page, click the Operation Log tab to enter the Operation Log page.
    • Load More Logs: In the Operation Log page, the list shows 20 operation logs by default, if you want to view more operation logs, please click “Load More” button to get more log information.
    • View Log Details: Click the “View” button on the right column of the operation log to view the log details. Copy details are supported.
    • View logs of specified time period: If you want to view the operation logs of a certain time period, set the specific date in the start date and end date at the top right of the list to query the log information of the specified time period.
    • Export logs: Currently, only the logs displayed on this page are supported to be exported. Click the upper-right corner of icon, set the export data column in the pop-up export data dialog, and click the “OK” button to export the logs.