From owner-freebsd-current@freebsd.org Wed Sep 23 21:25:26 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BBE8A08D3B for ; Wed, 23 Sep 2015 21:25:26 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B419E127C for ; Wed, 23 Sep 2015 21:25:25 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by lahg1 with SMTP id g1so66460566lah.1 for ; Wed, 23 Sep 2015 14:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=PqtvFk6P/1nrFqXRYzPJhzovJJEnulSHckFn9sk9irY=; b=TH/SWtnCnQq0HDRBWBDx5oKYQCJzyKdGuO33gqSgIC6/GnKsEKhIJ1ZoXsn7qu7g3m 4TF9hiGlWX+7QMM2S8adf2ij60nlQtG93XIL4PUHCt11U0VFMShZeBCdNi1kMmNYJdT7 nEh13X0hXXqrpOabV3MkVvSK2oBA6icJG2m7CS+/biVOxWaMbjGqqdzMSrSSYA99nIsJ W5BSccHPtCwwEIdIIkt1FR/xUT+Gr+OYGjJCddggNzeK8nq+q5fboV/LjoPfEj53Y6w5 RBJyrErm1dPNmB6cVE2tcD7+DgMQj+idpqlT/8Ek+JndWZC16+Gxufgh1TY1loQDkrOf ffDg== X-Received: by 10.152.18.167 with SMTP id x7mr1818498lad.29.1443043523469; Wed, 23 Sep 2015 14:25:23 -0700 (PDT) Received: from brick ([46.229.149.194]) by smtp.gmail.com with ESMTPSA id o195sm843168lfe.17.2015.09.23.14.25.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2015 14:25:22 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Wed, 23 Sep 2015 23:25:20 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: John Nielsen Cc: freebsd-current Current , aoyama@peach.ne.jp, Yonas Yanfa Subject: Re: Add isboot iSCSI boot driver to FreeBSD Message-ID: <20150923212520.GA7390@brick> Mail-Followup-To: John Nielsen , freebsd-current Current , aoyama@peach.ne.jp, Yonas Yanfa References: <56025EEE.50404@fizk.net> <5B296016-F14D-48A9-8DC6-0D8EA28AE891@jnielsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5B296016-F14D-48A9-8DC6-0D8EA28AE891@jnielsen.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 21:25:26 -0000 On 0923T0916, John Nielsen wrote: > On Sep 23, 2015, at 2:12 AM, Yonas Yanfa 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.