Unmount Cloud Disk Server
Overview
You can detach a previously mounted disk.
Notes
When unmounting the data disk, you should note the following:
-
Windows system operation
For Windows OS, it's recommended to suspend all file system read-write operations on this disk to ensure data integrity. Specific steps: sign in to the Windows system, navigate to Management Tool > Computer Management, and take the target disk offline.

-
Linux system operation
For the Linux OS, you need to sign in to the instance and perform the
umount /mntcommand line operation on the disk. After the command is successfully executed, enter the console to unmount the disk.
Operation steps
Disks can be detached either via the Baidu Cloud Compute (BCC) console or by navigating to the Cloud Disk Server (CDS) in the console, accessing the disk list, and initiating detachment.
Note:
- If you need to unmount a prepay disk, first perform Shift Charge to convert it to a postpaid disk before unmounting;
- After mounting/unmounting operations, CDS cloud disks often experience drive letter drift. You can query the disk’s drive letter using the command:
grep . /sys/block/vd*/serial. The drive letter obtained via this command is not affected by disk mounting/unmounting operations and remains permanent.
1. Sign in to the Baidu AI Cloud official website
Sign in to Baidu AI Cloud official website.
- If you have not registered an account, you must first [register an account](UserGuide/Register an account.md#Register a Baidu Account).
- If you have registered an account, you can directly sign in.
2. Enter the Disk List page
In the left navigation bar of the console page, select Baidu Cloud Compute > Baidu Cloud Compute (BCC) to enter the BCC console, then click Disks on the left to enter the disk list page; or directly select cloud disk server (CDS) from the left side of the console to enter the disk list page.

3. Select disk for unmounting
In the disk list, click the Unmount button in the action bar for the target disk.

Alternatively, click the disk name to access its details page, then select the Unmount button at the top of the page.

After clicking Unmount, please note the content in pop-up window. In Windows system, first take the disk to be unmounted offline; in Linux system, first perform the umount operation on the disk. For details, please refer to [Format Disk](CDS/Disk Operation Guide/Basic Operations/Format cloud disks/Overview.md).

4. Unmounting operation completed
Once you've completed these steps, the detachment process is finished.
