Zhanks Jaseon,

this worked ...

On Fri, Mar 18, 2016 at 02:31:44PM -0400, Jason Dillaman wrote:
> Try the following:
> 
> # rbd lock remove vm-114-disk-1 "auto 140454012457856" client.71260575
> 
> -- 
> 
> Jason Dillaman 
> 
> 
> ----- Original Message -----
> > From: "Christoph Adomeit" <christoph.adom...@gatworks.de>
> > To: ceph-us...@ceph.com
> > Sent: Friday, March 18, 2016 11:14:00 AM
> > Subject: [ceph-users] Cannot remove rbd locks
> > 
> > Hi,
> > 
> > some of my rbds show they have an exclusive lock.
> > 
> > I think the lock can be stale or weeks old.
> > 
> > We have also once added feature exclusive lock and later removed that 
> > feature
> > 
> > I can see the lock:
> > 
> > root@machine:~# rbd lock list vm-114-disk-1
> > There is 1 exclusive lock on this image.
> > Locker          ID                   Address
> > client.71260575 auto 140454012457856 10.67.1.14:0/1131494432
> > 
> > iBut I cannot remove the lock:
> > 
> > root@machine:~# rbd lock remove vm-114-disk-1 auto client.71260575
> > rbd: releasing lock failed: (2) No such file or directory
> > 
> > How can I remove the locks ?
> > 
> > Thanks
> >   Christoph
> > 
> > 
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> > 

-- 
Christoph Adomeit
GATWORKS GmbH
Reststrauch 191
41199 Moenchengladbach
Sitz: Moenchengladbach
Amtsgericht Moenchengladbach, HRB 6303
Geschaeftsfuehrer:
Christoph Adomeit, Hans Wilhelm Terstappen

christoph.adom...@gatworks.de     Internetloesungen vom Feinsten
Fon. +49 2166 9149-32                      Fax. +49 2166 9149-10
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to