Root on iscsi is not supported
Bug #237460 reported by
Soren Hansen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-detect (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
open-iscsi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
partman-iscsi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: open-iscsi
We currently do not support root-on-iscsi.
a) hw-detect will bail out if it doesn't find any disks in the system, so it never reaches the code to activate the iscsi things in the installer.
b) open-iscsi is lacking the initramfs hooks to pull this off.
To post a comment you must log in.
Just to fill in a bit more info:
1. The hw-detect problem should be straightforward enough, so I won't go into much depth about that.
2. The problems involing open-iscsi are many-fold:
2.a. Networking is not configured in initramfs (yet the network is clearly up since we have loaded the initramfs somehow).
2.a.I Debian "fixes" this by leeching off of nfsroot's networking code. This is rather crappy, and doesn't have installer support (but needs it).
2.a.II The open-iscsi package has code (but doesn't ship the binary, IIRC) to extract the networking info from the PXE firmware (or whereever it resides. I'm not entirely sure). IIRC, the open-iscsi web page explains how to use this.
2.b. Then the network is up, we should be able to mount the root filesystem by doing the usual iscsi stuff to get access to the block devices. This might require some udev support in the initramfs, but I actually don't think so (UUID based mounting ftw!))
2.c. When the root filesystem is mounted, and hence the network is up, we should be careful as to not nuke it, when we actually finish booting, but we should still let ifupdown configure the network properly (to get bonding running and such).
There's probably more, but that should be enough to get started working on it.