On 04-08-15 16:39, Daniel Marks wrote: > Hi all, > > I accidentally deleted a ceph pool while there was still a rados block device mapped on a client. If I try to unmap the device with “rbd unmap" the command simply hangs. I can´t get rid of the device... > > We are on: > Ubuntu 14.04 > Client ceph software version is 0.80.9 > Ceph cluster software version is 0.94.1 > > Trying to list locks yields the following error message: > $ rbd lock list codecentric_rbd_bench/benchmark_image > rbd: error opening pool codecentric_rbd_bench: (2) No such file or directory > > Any idea how I can get rid of the mapped device? > I think you'll end up with a reboot of the machine. The client is trying to access objects in a pool which no longer exists. Umounting the filesystem (if any) will even be hard since all I/O will block. Wido > Br, > Daniel Marks > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com