Re: [ceph-users] How to force "rbd unmap"

2017-07-17 Thread Ilya Dryomov
On Thu, Jul 6, 2017 at 2:43 PM, Ilya Dryomov wrote: > On Thu, Jul 6, 2017 at 2:23 PM, Stanislav Kopp wrote: >> 2017-07-06 14:16 GMT+02:00 Ilya Dryomov : >>> On Thu, Jul 6, 2017 at 1:28 PM, Stanislav Kopp wrote:

Re: [ceph-users] How to force "rbd unmap"

2017-07-06 Thread Ilya Dryomov
On Thu, Jul 6, 2017 at 2:23 PM, Stanislav Kopp wrote: > 2017-07-06 14:16 GMT+02:00 Ilya Dryomov : >> On Thu, Jul 6, 2017 at 1:28 PM, Stanislav Kopp wrote: >>> Hi, >>> >>> 2017-07-05 20:31 GMT+02:00 Ilya Dryomov :

Re: [ceph-users] How to force "rbd unmap"

2017-07-06 Thread Ilya Dryomov
On Thu, Jul 6, 2017 at 1:28 PM, Stanislav Kopp wrote: > Hi, > > 2017-07-05 20:31 GMT+02:00 Ilya Dryomov : >> On Wed, Jul 5, 2017 at 7:55 PM, Stanislav Kopp wrote: >>> Hello, >>> >>> I have problem that sometimes I can't unmap rbd

Re: [ceph-users] How to force "rbd unmap"

2017-07-05 Thread Maged Mokhtar
On 2017-07-05 20:42, Ilya Dryomov wrote: > On Wed, Jul 5, 2017 at 8:32 PM, David Turner wrote: > >> I had this problem occasionally in a cluster where we were regularly mapping >> RBDs with KRBD. Something else we saw was that after this happened for >> un-mapping RBDs,

Re: [ceph-users] How to force "rbd unmap"

2017-07-05 Thread Ilya Dryomov
On Wed, Jul 5, 2017 at 8:32 PM, David Turner wrote: > I had this problem occasionally in a cluster where we were regularly mapping > RBDs with KRBD. Something else we saw was that after this happened for > un-mapping RBDs, was that it would start preventing mapping some

Re: [ceph-users] How to force "rbd unmap"

2017-07-05 Thread David Turner
I had this problem occasionally in a cluster where we were regularly mapping RBDs with KRBD. Something else we saw was that after this happened for un-mapping RBDs, was that it would start preventing mapping some RBDs as well. We were able to use strace and kill the sub-thread that was stuck to

Re: [ceph-users] How to force "rbd unmap"

2017-07-05 Thread Ilya Dryomov
On Wed, Jul 5, 2017 at 7:55 PM, Stanislav Kopp wrote: > Hello, > > I have problem that sometimes I can't unmap rbd device, I get "sysfs > write failed rbd: unmap failed: (16) Device or resource busy", there > is no open files and "holders" directory is empty. I saw on the >

[ceph-users] How to force "rbd unmap"

2017-07-05 Thread Stanislav Kopp
Hello, I have problem that sometimes I can't unmap rbd device, I get "sysfs write failed rbd: unmap failed: (16) Device or resource busy", there is no open files and "holders" directory is empty. I saw on the mailling list that you can "force" unmapping the device, but I cant find how does it