zvol and zfs send no file on the receiving side.

johan Hendriks joh.hendriks at gmail.com
Sat Nov 26 11:22:54 UTC 2011


Op 26-11-11 11:56, Andriy Gapon schreef:
> on 26/11/2011 09:26 Johan Hendriks said the following:
>> If i go to the directory /storage and do a ls -al
>> i see my zvol file.
> I wonder why you decided that that file is your zvol.
> Please read up on what zvol really is.
>
>
>
Please enlighten me, i am struggling way to long with this.
How do i set my iscsi target then.
On the master i set it to.

   #LUN0 Storage /storage/iscsitest 10GB

Wait now i type this, i think i am not using the zvol at all, but just 
creates a file on my zpool, that get shared as a target.
I need to set it to something like this.

   LUN0 Storage /dev/zvol/tank/istgttest 10GB

Am i right here?

Thanks by the way, sometimes a little pointer is all you need.
When struggling with something you overlook some vital things.
I will try things tonight.

regards
Johan Hendriks










More information about the freebsd-fs mailing list