3.10. Manage or unmanage volumes and their snapshots


You can add volumes to or remove volumes from the Block Storage volume service (cinder-volume) by using the cinder manage and cinder unmanage commands. Use these commands to move volumes between deployments during upgrades or to import existing storage volumes into the Block Storage service.

The Block Storage volume service typically manages volumes that it creates, tracking them so it can list, attach, and delete them. However, you can control this management relationship:

Usage scenarios
  • Parallel upgrades: Move volumes between deployments during an upgrade by unmanaging volumes and snapshots from the old deployment and managing them in the new deployment. This allows you to migrate volumes while keeping both versions running.
  • Importing existing storage: Import volumes from bare-metal storage arrays into the cloud by using cinder manage to add them to the Block Storage service.
Limitations
  • You cannot manage or unmanage encrypted volumes.
Managing volumes and snapshots
Use cinder manage to add an existing volume to Block Storage service management. After managing a volume, you can add its snapshots using cinder snapshot-manage.
Unmanaging volumes and snapshots
Use cinder unmanage to remove a volume from Block Storage service management. The volume remains on the storage back end but is no longer tracked by the service. Before unmanaging a volume, you must first unmanage all of its snapshots using cinder snapshot-unmanage.
Listing manageable resources
Use cinder manageable-list to identify volumes on storage arrays that are not currently managed by the Block Storage service. These are typically volumes that have been unmanaged or created manually on the storage array. Use cinder snapshot-manageable-list to list unmanaged snapshots.
Command syntax considerations
The cinder manage and cinder snapshot-manage commands use back-end-specific syntax because volume identification properties vary by back end. Most back ends support source-name, source-id, or both. Some back ends require additional properties. Some back ends can list which volumes are manageable and what parameters need to be passed. For back ends that do not provide this information, refer to your storage vendor documentation for specific requirements. The cinder unmanage and cinder snapshot-unmanage commands are not back-end-specific and require only the volume name or ID.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部