Hello,

creating snapshots of RBD images that are mapped with -oexclusive seems not to be possible:

# rbd map -oexclusive rbd.blu1/andreasspielt-share11
/dev/rbd7
# rbd snap create rbd.blu1/andreasspielt-share11@ateuchert_test01
Creating snap: 0% complete...failed.
rbd: failed to create snapshot: (30) Read-only file system
# rbd unmap rbd.blu1/andreasspielt-share11
# rbd map rbd.blu1/andreasspielt-share11
/dev/rbd7
rbd snap create rbd.blu1/andreasspielt-share11@ateuchert_test01
Creating snap: 100% complete...done.

I was surprised by this behavior and the documentation seems not to mention this.

Is this on purpose or a bug?

Ceph version is 17.2.5, RBD client is Ubuntu 22.04 with kernel 5.15.0-52-generic.

Best regards,

Andreas



_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to