> [...]In ZFS you have inside Your zpool, a ZFS filesystem, however
> inside ZFS you are also able to create a ZFS volume with a specific size
> that acts as a block device.  That block device can be used as an
> iscsi target.
>
> ref: https://docs.oracle.com/cd/E19253-01/819-5461/gaypf/index.html
>
> It would be nice to have a s3ql variant as well, this would make it
> possible to use the s3ql 'volume' as an iscsi target [...]
>
AFAIK you cannot do that with FUSE (the basis behind S3QL). Or any other
file system besides ZFS. ZFS is not only a file system but also – amount
other things – a NFS, CIFS and iSCSI Server (on Solaris systems, that is).

If you really want to do this, you need to implement a NBD (
https://nbd.sourceforge.io/ ) server and use nbd-client to get a kernel
block device for it. This block device then can be used as an iSCSI target.
NBDKit helps with that:
https://github.com/libguestfs/nbdkit/blob/master/docs/nbdkit-loop.pod
You could fork S3QL and re-use some parts of S3QL (
https://github.com/libguestfs/nbdkit/blob/master/plugins/python/nbdkit-python-plugin.pod
) but I doubt that S3QL itself will ever have this functionality build in.

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/fa0dabb3-862b-dc5b-afc5-57b303919898%40jagszent.de.

Reply via email to