Attaching an Existing Shared Disk
Scenarios
This topic describes how to attach an existing shared disk to a server and use it as data disk.
- Disk Sharing: Enabled
- Function: Data disk
- Status: In-use or Available
Bootable disks are the system disks detached from servers. A bootable disk can be re-attached to a server and be used as system disk or data disk depending on the device name selected.
A shared disk can be attached to a maximum of 16 servers. If the target shared disk is in the In-use state, ensure that the maximum number of servers that the disk can be attached to has not been reached.
Procedure
- Log in to the management console.
- Choose Dedicated Distributed Storage Service > Disks.
The disk list page is displayed.
- Locate the target disk in the list and click Attach in the Operation column.
- Shared disks support batch attachment so that you can attach a shared disk to multiple servers at a time. The left area in the Attach Disk dialog box shows the server list. After you select the target servers, the selected servers will be displayed in the right area.
- A shared disk can be attached only when the disk status is Available or In-use.
- Select the server you want to attach the disk and choose a device name from the drop-down list. Ensure that the selected server and the target disk are in the same AZ.
One device name can be attached with one disk only. If a device name has been used, it will no longer be displayed in the drop-down list and cannot be selected.
Return to the disk list page. The disk status is Attaching, indicating that the disk is being attached to servers. If the disk status changes to In-use, the disk is successfully attached.
If you simply attach a shared disk to multiple servers, files cannot be shared between the servers. To share files between servers, build a shared file system or deploy a cluster management system.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot