월간 인기 게시물

게시물 718건
   
rbd: snapshot 'snapshot-xxxxxxxxxxxxxxxxx' is protected from removal.
글쓴이 : 최고관리자 날짜 : 2019-04-16 (화) 16:07 조회 : 2924
                                
cinder delete <volume_id> 
 --> 삭제가 안됨 

# rbd list queens_volumes |grep 307d2271-a6ba-4e9a-8546-9af4a2da1361
volume-307d2271-a6ba-4e9a-8546-9af4a2da1361


# qemu-img info rbd:queens_volumes/volume-307d2271-a6ba-4e9a-8546-9af4a2da1361
image: json:{"driver": "raw", "file": {"pool": "queens_volumes", "image": "volume-307d2271-a6ba-4e9a-8546-9af4a2da1361", "driver": "rbd"}}
file format: raw
virtual size: 25G (26843545600 bytes)
disk size: unavailable
cluster_size: 4194304
Snapshot list:
ID        TAG                 VM SIZE                DATE       VM CLOCK
snapshot-321cae32-85e8-40a8-9845-3234c2c31654snapshot-321cae32-85e8-40a8-9845-3234c2c31654    25G 1970-01-01 09:00:00   00:00:00.000


# rbd remove queens_volumes/volume-307d2271-a6ba-4e9a-8546-9af4a2da1361
2019-04-16 15:57:16.930801 7f377cff9700 -1 librbd::image::RemoveRequest: 0x55d46408be70 check_image_snaps: image has snapshots - not removing
Removing image: 0% complete...failed.
rbd: image has snapshots - these must be deleted with 'rbd snap purge' before the image can be removed.


# rbd snap purge queens_volumes/volume-307d2271-a6ba-4e9a-8546-9af4a2da1361
Removing all snapshots: 0% complete...failed.
rbd: snapshot 'snapshot-321cae32-85e8-40a8-9845-3234c2c31654' is protected from removal.


# rbd -p queens_volumes snap ls volume-307d2271-a6ba-4e9a-8546-9af4a2da1361
SNAPID NAME                                           SIZE TIMESTAMP                
    67 snapshot-321cae32-85e8-40a8-9845-3234c2c31654 25GiB Thu Apr 11 14:07:46 2019 


# rbd snap rm queens_volumes/volume-307d2271-a6ba-4e9a-8546-9af4a2da1361@snapshot-321cae32-85e8-40a8-9845-3234c2c31654
Removing snap: 2019-04-16 16:02:20.705307 7f8c537fe700 -1 librbd::Operations: snapshot is protected0% complete...failed.
rbd: snapshot 'snapshot-321cae32-85e8-40a8-9845-3234c2c31654' is protected from removal.


# rbd snap unprotect  queens_volumes/volume-307d2271-a6ba-4e9a-8546-9af4a2da1361@snapshot-321cae32-85e8-40a8-9845-3234c2c31654


# rbd snap rm queens_volumes/volume-307d2271-a6ba-4e9a-8546-9af4a2da1361@snapshot-321cae32-85e8-40a8-9845-3234c2c31654
Removing snap: 100% complete...done.


# cinder delete 307d2271-a6ba-4e9a-8546-9af4a2da1361
Request to delete volume 307d2271-a6ba-4e9a-8546-9af4a2da1361 has been accepted.

정상 삭제됨 

이름 패스워드
스타일
굴림
10pt
<html> <body>
 
 
 
 
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.