Re: Cannot remove rbd locks

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

 



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.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
> > 

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

Christoph.Adomeit@xxxxxxxxxxx     Internetloesungen vom Feinsten
Fon. +49 2166 9149-32                      Fax. +49 2166 9149-10
_______________________________________________
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