Re: Cannot remove rbd locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try the following:

# rbd lock remove vm-114-disk-1 "auto 140454012457856" client.71260575

-- 

Jason Dillaman 


----- Original Message -----
> From: "Christoph Adomeit" <Christoph.Adomeit@xxxxxxxxxxx>
> To: ceph-users@xxxxxxxx
> Sent: Friday, March 18, 2016 11:14:00 AM
> Subject:  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@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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux