-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving behaviour with pre-existing software-RAID devices #16
Comments
In general, I think what you're suggesting is fine. But wouldn't it make sense to put the RAID stuff in the |
I also think along with the IPv6 PR that this would ideally have a way of enabling/disabling the UI bits at build time so that we don't necessarily expose it to customers if we don't generally support it. |
Currently it looks like "set up advanced storage classes" is just "setup FCoE", and F10 just sends a popup telling there are "no DCB capable interfaces" to most of us. How do you envision things ? Causing F10 to show a menu with different available technologies ? |
There could be a simple menu like this which leaves scope for other advanced disk configuration in the future.
In particular, iSCSI boot is this weird thing where you have to pass an additional command-line argument. It would make more sense to include it here too. |
Makes sense.
I guess the way to go would be to have one feature-flag for each, so NS can trigger their RAID assembly, though XS may not want to activate it by default.
That could look better than having a separate RAID menu, which would in many cases only have a single entry. |
On second thought, the "assemble existing RAID" is only ever to be presented if we detected a RAID superblock on at least one disk. Which means that for this machine, it is not really "advanced storage" not rather "nominal". Having this choice hidden behind "advanced storage" can make the user think there is no existing install on this machine, and launch a clean install by mistake. So I think we should only use the F10 menu for configuration of a new RAID, which seems to match your original proposal, and it should rather be a good thing to have the "assemble existing RAID" on the primary-disk screen, because it only appears when there is a RAID to assemble. |
Currently, udev rules in
/lib/udev/rules.d/65-md-incremental.rules
cause any pre-existing software-RAID devices to be auto-assembled, and the user cannot opt-out. As a consequence:To solve this situations, our current plans for XCP-ng are:
ANACONDA
udev envvar to be set), solving all the above problemsThe basic idea for now is to probe the available disks for RAID superblocks (
mdadm --examine
), and when one is found, add an option besides the existing install/upgrade/restore/reinstall ones, to assemble any RAID volumes (mdadm --assemble --scan
). An option for this would be provided to activate this behavior from answerfile.This will notably require moving the "Checking for existing products" logic later, so it can be rerun. Its current location, before ensuring there are any disks in the system, already feels awkward; is there anything to be aware of around that area ?
The text was updated successfully, but these errors were encountered: