Exporting NVMe-oF devices read-only enforced on export from the NVMe-oF target.

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Tue Sep 29 20:28:48 EDT 2020


On 9/29/20 04:35, Mark Ruijter wrote:
> Unless I am mistaken the NVMe-oF target driver does currently not support to export a device read-only from the target system.
> For exporting readonly snapshot devices I am currently using the attached patch.

It does, have you tried using nvme cli with NVME_NS_WRITE_PROTECT feature ?

we have both host and core patched for read-only mode, if you find any bug

please let me know.




More information about the Linux-nvme mailing list