Migrating ZVOL from ISCSI to NVME-oF

Hello,

Is it possible to migrate a ZVOL from ISCSI to NVME-oF?
I have an extent with device zvol/tank-nvme/iscsi/win-11-pro.
I want to disable the iscsi extent and attach the zvol in NVME-oF.

The iscsi disk is used as disk z: in win11 and there are data on it, so I would like not to lose my data.

Best Regards,

Antonio

I haven’t tested this, but I can’t see any reason why this wouldn’t work.

You may need to delete the extent mapping, just ensure you do not delete the actual zvol.

It works: thank you!

Now I have to understand how to make disk Z: persistent after reboot: I’m using the schtasks command in windows as suggested by Chelsio but it doesn’t seems to work.