# 解绑磁盘

当您不再需要某个实例的额外存储时，可以解绑该磁盘，然后在需要时将其绑定到其他实例。解绑磁盘不会影响该磁盘上的数据。

{% hint style="info" %} <mark style="color:blue;">**注意**</mark>

<mark style="color:blue;">系统盘无法解绑。</mark>
{% endhint %}

## 前提条件

* 为防止数据丢失，请停止磁盘上所有文件系统的读写操作。
* 在解绑磁盘之前，请确保已卸载（Linux）或将其设置为离线状态（Windows）。否则，您可能无法将其重新绑定到其他实例。\
  **Linux**

  使用 `umount` 命令在 Linux 中卸载磁盘：

  ```bash
  sudo umount /dev/disk/by-id/xxxxxx
  ```

  **Windows**\
  \&#xNAN;**-** 按 **Win + X** 并选择 **磁盘管理**。\
  \- 找到您要解绑的磁盘，右键点击该磁盘，然后选择 **离线**。

## 操作步骤

1. 通过以下方式之一进入 **解绑磁盘**：
   * **实例详情** > **信息** > **存储** > **解绑**
   * **磁盘** > **操作** > **解绑**
2. 确保磁盘已卸载（Linux）或处于离线状态（Windows），如前几步所述，然后点击 **解绑**。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/cn/elastic-compute/get-started/manage-storage/detach-a-disk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
