• Bare Metal Server

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

Detaching a Disk

A disk attached to a BMS can be detached.

  • Disks mounted to /dev/sda function as system disks. You can only detach system disks offline. Before detaching a system disk from a BMS, you must stop the BMS.
  • The disk attached at non-/dev/sda functions as a data disk, which can be detached both offline and online. Specifically, you can detach a data disk from a running BMS.

Restrictions and Limitations

  • Before detaching a 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 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. On the Bare Metal Server page, click the name of the BMS from which the disk is to be detached. The page showing details about the BMS is displayed.
  2. Click the Disks tab. Locate the row containing the disk to be detached and click Detach.