iSCSI boot ... root?

Edward Tomasz Napierała trasz at FreeBSD.org
Mon Sep 16 10:35:36 UTC 2013


Wiadomość napisana przez Zaphod Beeblebrox <zbeeble at gmail.com> w dniu 16 wrz 2013, o godz. 07:35:
> Is it now possible to boot from iSCSI?  I'm not talking about an iSCSI
> controller, but with
> 
> pxe -> dhcp -> tftp (loads loader) -> (something) -> boot (mounts root from
> iSCSI)

Not yet.  The iSCSI initiator requires iscsid(8) in order to work, and you can't
run it before mounting root.

I think the proper way to do this would be by doing something similar to Linux'
initrd; i.e. booting from mdroot loaded by loader(8), run iscsid(8) from there,
setup iSCSI session, then mount the real root and pivot to it.  I'm not sure if it's
possible right now.


More information about the freebsd-current mailing list