Date: Fri, 25 Sep 2015 08:46:53 +0900 From: "Daisuke Aoyama" <aoyama@peach.ne.jp> To: =?UTF-8?Q?Edward_TomaszNapiera=C5=82a?= <trasz@freebsd.org>, "John Nielsen" <lists@jnielsen.net> Cc: "freebsd-current Current" <freebsd-current@freebsd.org>, "Yonas Yanfa" <yonas@fizk.net> Subject: Re: Add isboot iSCSI boot driver to FreeBSD Message-ID: <AC02306634C147EF8D5DB6619425BD3C@ad.peach.ne.jp> In-Reply-To: <20150923212520.GA7390@brick> References: <56025EEE.50404@fizk.net> <5B296016-F14D-48A9-8DC6-0D8EA28AE891@jnielsen.net> <20150923212520.GA7390@brick>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, First of all, thank you for using isboot. > The basic problem with isboot is that it only works with the old iSCSI > initiator, which is now marked obsolete. AFAIK there is no ready solution It's started in FreeBSD 7.1. I plan to use initiator functions at 2010. However, I didn't know how to access it. For more, first post on blog(Japanese): http://shell.peach.ne.jp/aoyama/archives/1179 Now isboot has own limited builtin initiator to handle login sequence. isboot will continue to use it instead of switching to iSCSI initiator. So I think current problem is header file (structure in it) only. You don't need load iscsi_initiator.ko even if you use FreeBSD 10. I have removed these header files in 0.2.11 release. It is not so difficult compared to that to rewrite the code. Of course, I should replace the code later... http://www.peach.ne.jp/archives/isboot/isboot-0.2.11.tar.gz http://www.peach.ne.jp/archives/isboot/demo/FreeBSD-10.2-RELEASE-amd64-memstick-isboot-0.2.11.img You can boot/install with the demo and empty disk. (see attached N4F/istgt config image) build test(not jail host): 8.4, 9.3, 10.2, 11-current. boot/install test: NAS4Free 10.2.0.2(istgt) + FreeBSD 10.2 memstick + VBox + iPXE(iso). -- Daisuke Aoyama -------------------------------------------------- From: "Edward TomaszNapierała" <trasz@freebsd.org> Sent: Thursday, September 24, 2015 6:25 AM To: "John Nielsen" <lists@jnielsen.net> Cc: "freebsd-current Current" <freebsd-current@freebsd.org>; <aoyama@peach.ne.jp>; "Yonas Yanfa" <yonas@fizk.net> Subject: Re: Add isboot iSCSI boot driver to FreeBSD > On 0923T0916, John Nielsen wrote: >> On Sep 23, 2015, at 2:12 AM, Yonas Yanfa <yonas@fizk.net> wrote: >> >> > isboot is a iSCSI boot driver written by Daisuke Aoyama that allows you to boot your root >> > partition using iSCSI. >> [,,,] >> > This was first announced way back in June, 2010: >> > >> > https://lists.freebsd.org/pipermail/freebsd-scsi/2010-June/004425.html >> > >> > I've tested the current version (v0.2.10) and it works with FreeBSD 10.2 booting a ZFS on >> > root installation: >> > >> > http://www.peach.ne.jp/archives/isboot/isboot-0.2.10.tar.gz >> > >> > I've used iSCSI boot with Ubuntu Server for a while and it's been very useful. I'm looking >> > forward to FreeBSD having the same capability built-in. >> >> +1. I have used this module in the past and it is extremely useful. Thanks for the pointer, I >> wasn’t aware it had been updated for FreeBSD 10.x so recently. I’ve also wondered why this >> is not part of FreeBSD by default. >> >> Aoyama-san, do you have any objection to this code being included in FreeBSD? If not, can you >> formally assign it a BSD or other friendly license? Thank you again for the work! >> >> Trasz (or anyone), is there other work to support iSCSI booting and/or IBFT on FreeBSD? >> Anything else isboot might conflict with? Any problems with integrating the code or with the >> code itself? > > The basic problem with isboot is that it only works with the old iSCSI > initiator, which is now marked obsolete. AFAIK there is no ready solution > that works with the new one - however, it should be possible to use upcoming > reroot support to achieve this: boot with a temporary rootfs, mounted from > a ramdisk preloaded by loader(8), setup an iSCSI session, and then replace > the temporary rootfs with the real one, mounted over iSCSI.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC02306634C147EF8D5DB6619425BD3C>