ZFS and ISCSI question

Eugene M. Zheganin emz at norma.perm.ru
Mon Jul 31 10:05:19 UTC 2017


Hi.

On 30.07.2017 17:19, Kaya Saman wrote:
>
>
> I understand that iscsi works at the "block device" level but how 
> would one go about using ZFS on the initiator?
>
> The standard ZFS commands can be run:
>
> zpool followed by zfs FS-set on the Initiator machine
>
> however, it doesn't seem right to first create a ZFS pool on the 
> Target system then create another one on the same pool on the Initiator.
>
>
>
> Would zpool import/export work or does something else need to be done 
> to get the Initiator to create a ZFS data set? 
Zvol is a block device indeed, but, even it is an entity from a parent 
zfs pool, it doesn't contain any filesystem, including zfs. Thus the 
kernel won't see anything. So you have to create a zpool first with 
'zpool create'.

Eugene.


More information about the freebsd-fs mailing list