-
Notifications
You must be signed in to change notification settings - Fork 140
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
Install to disk by ID #30
Comments
The kernel does not guarantee the order in which devices are detected. Hence even if you manage to get this working the way you want it, the next kernel upgrade or even after a reboot, the order might change again.
This will create a 1M bios_grub partition on each drive and installs grub in the MBR and the partition |
I'm aware that the kernel adds devices in a nondeterministic order; that's why I'm asking for a way to use WWNs. Installing a bootloader on every disk won't help when installimage gives us a system fstab that refers to devices by their non-deterministic names, e.g. |
I added a pull request: #56 which should provide support for either |
For me the experience was that everything worked out fine, BUT the software raid. @ableischwitz PRs seemed to have the fix in the place that was broken for me.
I think it might be the software raid sync blocking the formatting, which is kinda weird. I copied the whole installimage into my home folder in the rescue system to apply the patch from @ableischwitz . Maybe that confuses the script somehow 🤷 |
Found the error. The script could not replace the #92 should hit all the right points.
About this. It does not. Just be sure to call |
We are trying to install servers with 1 OS drive and several data drives. Installing with ex.
-d sda
is unreliable, both because the disk which installimage sees as sda is random and because it then installs a system where fstab refers to partitions as/dev/sda[123]
. In what appears to be a similar case, #14 (comment) says that "installimage will always use UUIDs for that reason. If UUIDs are also used to reference the second disk, the order should not be an issue", but attempting to actually use ex.-d wwn-0x500a075419ae8a61
results in an error, and when using-d sdX
installimage is not converting to UUIDs or anything else stable when writing fstab, which results in sometimes-broken systems. What is the correct way to handle this, short of manually correcting the installed fstab from rescue system?The text was updated successfully, but these errors were encountered: