Date: Sun, 13 Oct 2013 12:53:39 +0200 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@freebsd.org> To: Outback Dingo <outbackdingo@gmail.com> Cc: freebsd-scsi@freebsd.org, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>, Alfred Perlstein <bright@mu.org>, "freebsd-current@FreeBSD.org" <freebsd-current@freebsd.org> Subject: Re: New iSCSI stack. Message-ID: <6A782312-6655-489D-927D-C8907C1D9883@freebsd.org> In-Reply-To: <CAKYr3zwXwiZWBxwzB2UNVNtoe_N93ogvYdLNihpwgA4HG7GDoQ@mail.gmail.com> References: <A758F12B-2798-4A90-8C67-88F78B82434D@FreeBSD.org> <522A1C73.9030402@mu.org> <A08A0702-86FF-4F05-B007-CF84F80FF8D5@FreeBSD.org> <CAKYr3zxdt3x8dqUN3_QTmjTaVEvZ%2B8KS4rVkiUPUcJQGiseGPQ@mail.gmail.com> <CAKYr3zzLUtdpp1V3LH19d26P1ieH_zc88nhTZJuPePCaO_pg1g@mail.gmail.com> <CAKYr3zzXsZi-VP44J9bHEsohc0a%2BPw5k_nFAsC423BuC-aYWPA@mail.gmail.com> <CAKYr3zxEQRJ%2B2SD-jMgd7EN7n%2BadxPgKDnyFOy0dmgmCFGfP4Q@mail.gmail.com> <A15BF9C8-1F92-4BC1-8251-2509B242CD7C@freebsd.org> <CAKYr3zwXwiZWBxwzB2UNVNtoe_N93ogvYdLNihpwgA4HG7GDoQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Wiadomość napisana przez Outback Dingo <outbackdingo@gmail.com> w dniu 11 paź 2013, o godz. 14:37:
> Quick question, is there a specific reason why ctld doesnt create the file / device for iscsi, or fc ?
> the previous iscsi would read the config file and create the file / device ... it now appears to be a
> manual process.
You mean, the backing files ("path /dev/zvol/whatever", for example), right?
I thought about it. Problem is, while it makes it somewhat easier in very simple
situations, it's not very useful in real life - ctld (or CTL) has no information what
the permissions should be, should the file be fully or thin provisioned (in other
words, whether it supposed to be filled with zeroes, truncated to a correct length,
or perhaps it's a ZVOL with reservation set), etc. And you don't want it to create
files when you make a typo in path name.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6A782312-6655-489D-927D-C8907C1D9883>
