rbd unmap fails with error: rbd: sysfs write failed rbd: unmap failed: (16) Device or resource busy

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

 



Hi,
I have noticed an error when writing to a mapped RBD.
Therefore I unmounted the block device.
Then I tried to unmap it w/o success:
ld2110:~ # rbd unmap /dev/rbd0
rbd: sysfs write failed
rbd: unmap failed: (16) Device or resource busy

The same block device is mapped on another client and there are no issues:
root@ld4257:~# rbd info hdb-backup/ld2110
rbd image 'ld2110':
        size 7.81TiB in 2048000 objects
        order 22 (4MiB objects)
        block_name_prefix: rbd_data.3cda0d6b8b4567
        format: 2
        features: layering
        flags:
        create_timestamp: Fri Feb 15 10:53:50 2019
root@ld4257:~# rados -p hdb-backup  listwatchers rbd_data.3cda0d6b8b4567
error listing watchers hdb-backup/rbd_data.3cda0d6b8b4567: (2) No such
file or directory
root@ld4257:~# rados -p hdb-backup  listwatchers rbd_header.3cda0d6b8b4567
watcher=10.76.177.185:0/1144812735 client.21865052 cookie=1
watcher=10.97.206.97:0/4023931980 client.18484780
cookie=18446462598732841027


Question:
How can I force to unmap the RBD on client ld2110 (= 10.76.177.185)?

THX
_______________________________________________
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