Project

General

Profile

Actions

Feature #14201

closed

cope with a pool being removed from under a mapped image

Added by shun song over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
libceph
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

1. [root@c8 /]# uname -r
4.1.1

2. [root@ceph0 ~]# ceph -v
ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43)

3. create image xx
[root@ceph-ci ~]# rbd create xx/xx --image-format 2 --size 1024
[root@ceph-ci ~]# rbd ls xx
xx

4. map image
[root@c8 /]# rbd map xx/xx
/dev/rbd0
[root@c8 /]# rbd showmapped
id pool image snap device
0 xx xx - /dev/rbd0

5. delete pool
[root@ceph-ci ~]# ceph osd pool delete xx xx --yes-i-really-really-mean-it
pool 'xx' removed

6. [root@c8 /]# rbd showmapped -----at this moment, image xx has already deleted,but map info still exist
id pool image snap device
0 xx xx - /dev/rbd0


Related issues 1 (0 open1 closed)

Related to Linux kernel client - Feature #9779: libceph: sync up with objecterResolvedIlya Dryomov10/14/2014

Actions
Actions

Also available in: Atom PDF