• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. User Guide
  4. Disk
  5. Detaching a Disk

Detaching a Disk

Scenarios

A disk attached to a BMS can be detached.

  • A disk mounted to /dev/sda functions as the system disk. You can only detach the system disk from a stopped BMS.
  • Disks mounted to a mount point other than /dev/sda function as data disks and can be detached from a running or stopped BMS.

Restrictions and Limitations

  • Detaching the system disk is a mission-critical operation. A BMS without the system disk cannot start. Exercise caution when performing this operation.
  • Before detaching a data disk from a running Windows BMS, ensure that no program is reading data from or writing data to the disk. Otherwise, data will be lost.
  • Before detaching a data disk from a running Linux BMS, you must log in to the BMS and run the umount command to cancel the association between the disk and the file system. In addition, ensure that no program is reading data from or writing data to the disk. Otherwise, detaching the disk will fail.

Procedure

  1. Log in to the management console.
  2. Under Computing, click Bare Metal Server.
  3. Click the name of the BMS from which the disk is to be detached. The page showing details of the BMS is displayed.
  4. Click the Disks tab. Locate the row containing the disk to be detached and click Detach.