Adding file-based extent to running experimental iscsi target (ctld) fails
When adding a new file based extent to ctld, the file should be explicitly created by the management system:
I got the following messages:
Aug 23 15:55:28 freenas-teszt ctld6774: error returned from LUN creation request: ctl_be_block_open: error opening /mnt/vol0/iscsi/x1
Aug 23 15:55:28 freenas-teszt ctld6774: failed to add lun 1, target iqn.2011-03.org.example.istgt:target1
Aug 23 15:55:28 freenas-teszt ctld6774: failed to reload configuration
I dont know if this is the intended behaviour, but istgt implicitly created the file if it was missing, and I suspect that the management code relied on it.