tencent cloud

Feedback

Detaching Cloud Disks

Last updated: 2022-05-13 16:43:39

    Overview

    You can detach a cloud disk used as a data disk from a Lighthouse instance and reattach it to another Lighthouse instance. This document describes how to detach a cloud disk in the Lighthouse console. Note that detaching a cloud disk will not clear the disk data.

    Considerations

    • Only cloud disks that are used as data disks can be detached, and the system disks cannot be detached.
    • It's recommended that you run the umount command (for Linux instances) or make the cloud disk offline (for Windows instances) before detaching the disk. Otherwise, the cloud disk may not be recognized when it's reattached to the Lighthouse instance.

    Directions

    Preparations

    You need to run the umount command (for Linux instances) or make the cloud disk offline (for Windows instances) before detaching the disk.

    • To prevent data loss, we recommend that you suspend read and write operations on all file systems of the disk. Otherwise, data that has not been read or written will be lost.
    • When detaching a cloud disk, you must first set the disk to offline status. Otherwise, you may not be able to reattach the cloud disk unless you restart the Lighthouse instance.

    Perform the following operations:

    1. Log in to the Lighthouse instance. For more information, see Logging In to a Windows Instance via VNC.
    2. Right-click on the lower left corner of the desktop, and select Disk management in the pop-up menu.
    3. In the Disk management window, right-click the Disk 1 area and select Offline from the menu list.

    Detaching the cloud disks in the console

    You can detach the cloud disks in the following ways:

    1. Log in to the Lighthouse console and click Cloud Disk on the left sidebar.
      . Select a region at the top of the Cloud disk page, find the target cloud disk, and click More > Detach.

      To detach multiple cloud disks at the same time, select the target cloud disks, and click Detach at the top of the page.
    2. In the pop-up Detach cloud disks window, confirm the information and click OK.
      Once detached, the cloud disks go to To be attached status.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support