Date: Mon, 31 Jul 2017 15:05:11 +0500 From: "Eugene M. Zheganin" <emz@norma.perm.ru> To: freebsd-fs@freebsd.org Subject: Re: ZFS and ISCSI question Message-ID: <27221f18-07d7-64c6-289a-81e839b10d67@norma.perm.ru> In-Reply-To: <0f4905d2-6567-a83c-45f8-435c7c987d5b@gmail.com> References: <fd4b620a-e1dc-157e-a914-a8d0192c1199@gmail.com> <CADyrUxMoqjyMj=uxweJJTm8gNuARxKm2qLtZWhP1cAGMCZ=cfA@mail.gmail.com> <0f4905d2-6567-a83c-45f8-435c7c987d5b@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27221f18-07d7-64c6-289a-81e839b10d67>