Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Commands for deferred deletion of Ceph volumes

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "the command of delaying deletion of Ceph volume". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor to take you to learn the "Ceph Volume delay deletion order"!

View the volumes in the specified pool:

Rbd ls-p {pool_name} for example: # rbd ls-p imageslun

Throw the volume to the Recycle Bin:

Rbd trash move/mv {images_name}-p {pool_name} for example: # rbd trash move lun-p images

View the volumes stored in the Recycle Bin:

Rbd trash list/ls-p {pool_name} for example: # rbd trash list-p imagesb422e3f2dba31 lun

Restore the volume of the Recycle Bin (ID is the ID found by the above rbd trash list):

Rbd trash restore {ID}-p {pool_name} for example: # rbd trash restore b422e3f2dba31-p images or rename # rbd trash restore images/b422e3f2dba31-- image lun2 while restoring

Clear volumes from the Recycle Bin:

Rbd trash remove/rm {ID}-p {pool_name} for example: # rbd trash remove b422e3f2dba31-p imagesRemoving image: 100% complete...done so far, I believe you have a better understanding of the "command for delayed deletion of Ceph volumes", you might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report