server installation with intentionally incomplete raid1
I'm upgrading a current 16.04 server to 18.04. The / and /boot partitions are mirrored (simple mdadm). To avoid the risk of a failed installation, I broke (--fail then --remove) the mirror and am trying to install 18.04.1 onto the partitions I removed from the mirror.
Related: Ubuntu server install on existing partition, Ubuntu specifically disallows the ability to use pre-existing partitions (used to work years back), not sure why this feature was intentionally removed but it seems to make it harder to do upgrades.
To work around that problem, I removed the existing partitions for / and /boot, hoping to use the installer's "create software RAID (md)". However, the desired drive (it is the only drive with unpartitioned space available) is not listed on the "RAID" ascii pop-up, and a red label at the bottom states that it requires at least 2 active devices.
Perhaps I'm missing something, but it is perfectly legal to create a raid1 mirror array with a single partition and missing, suggesting a place-holder for a future device.
mdadm --create /dev/md/0 --level=1 --raid-devices=2 /dev/sdh1 missing
mdadm --create /dev/md/2 --level=1 --raid-devices=2 /dev/sdh3 missing
My intention is to bring up this newer 18.04 and, once I have successfully brought it up-to-speed and proved to myself that all will work, only then will I add the other drive's raid1-partitions and rebuild the mirrors (over-writing the 16.04 installation).
Perhaps the only way to get this to work here is to do a vanilla install (no mirroring whatsoever), then do partition-juggling where I move files around, set up one mirrored partition, update grub, move files around again, set up the second mirrored partition, and update grub again. Seems unnecessary.
partitioning system-installation raid mdadm
add a comment |
I'm upgrading a current 16.04 server to 18.04. The / and /boot partitions are mirrored (simple mdadm). To avoid the risk of a failed installation, I broke (--fail then --remove) the mirror and am trying to install 18.04.1 onto the partitions I removed from the mirror.
Related: Ubuntu server install on existing partition, Ubuntu specifically disallows the ability to use pre-existing partitions (used to work years back), not sure why this feature was intentionally removed but it seems to make it harder to do upgrades.
To work around that problem, I removed the existing partitions for / and /boot, hoping to use the installer's "create software RAID (md)". However, the desired drive (it is the only drive with unpartitioned space available) is not listed on the "RAID" ascii pop-up, and a red label at the bottom states that it requires at least 2 active devices.
Perhaps I'm missing something, but it is perfectly legal to create a raid1 mirror array with a single partition and missing, suggesting a place-holder for a future device.
mdadm --create /dev/md/0 --level=1 --raid-devices=2 /dev/sdh1 missing
mdadm --create /dev/md/2 --level=1 --raid-devices=2 /dev/sdh3 missing
My intention is to bring up this newer 18.04 and, once I have successfully brought it up-to-speed and proved to myself that all will work, only then will I add the other drive's raid1-partitions and rebuild the mirrors (over-writing the 16.04 installation).
Perhaps the only way to get this to work here is to do a vanilla install (no mirroring whatsoever), then do partition-juggling where I move files around, set up one mirrored partition, update grub, move files around again, set up the second mirrored partition, and update grub again. Seems unnecessary.
partitioning system-installation raid mdadm
add a comment |
I'm upgrading a current 16.04 server to 18.04. The / and /boot partitions are mirrored (simple mdadm). To avoid the risk of a failed installation, I broke (--fail then --remove) the mirror and am trying to install 18.04.1 onto the partitions I removed from the mirror.
Related: Ubuntu server install on existing partition, Ubuntu specifically disallows the ability to use pre-existing partitions (used to work years back), not sure why this feature was intentionally removed but it seems to make it harder to do upgrades.
To work around that problem, I removed the existing partitions for / and /boot, hoping to use the installer's "create software RAID (md)". However, the desired drive (it is the only drive with unpartitioned space available) is not listed on the "RAID" ascii pop-up, and a red label at the bottom states that it requires at least 2 active devices.
Perhaps I'm missing something, but it is perfectly legal to create a raid1 mirror array with a single partition and missing, suggesting a place-holder for a future device.
mdadm --create /dev/md/0 --level=1 --raid-devices=2 /dev/sdh1 missing
mdadm --create /dev/md/2 --level=1 --raid-devices=2 /dev/sdh3 missing
My intention is to bring up this newer 18.04 and, once I have successfully brought it up-to-speed and proved to myself that all will work, only then will I add the other drive's raid1-partitions and rebuild the mirrors (over-writing the 16.04 installation).
Perhaps the only way to get this to work here is to do a vanilla install (no mirroring whatsoever), then do partition-juggling where I move files around, set up one mirrored partition, update grub, move files around again, set up the second mirrored partition, and update grub again. Seems unnecessary.
partitioning system-installation raid mdadm
I'm upgrading a current 16.04 server to 18.04. The / and /boot partitions are mirrored (simple mdadm). To avoid the risk of a failed installation, I broke (--fail then --remove) the mirror and am trying to install 18.04.1 onto the partitions I removed from the mirror.
Related: Ubuntu server install on existing partition, Ubuntu specifically disallows the ability to use pre-existing partitions (used to work years back), not sure why this feature was intentionally removed but it seems to make it harder to do upgrades.
To work around that problem, I removed the existing partitions for / and /boot, hoping to use the installer's "create software RAID (md)". However, the desired drive (it is the only drive with unpartitioned space available) is not listed on the "RAID" ascii pop-up, and a red label at the bottom states that it requires at least 2 active devices.
Perhaps I'm missing something, but it is perfectly legal to create a raid1 mirror array with a single partition and missing, suggesting a place-holder for a future device.
mdadm --create /dev/md/0 --level=1 --raid-devices=2 /dev/sdh1 missing
mdadm --create /dev/md/2 --level=1 --raid-devices=2 /dev/sdh3 missing
My intention is to bring up this newer 18.04 and, once I have successfully brought it up-to-speed and proved to myself that all will work, only then will I add the other drive's raid1-partitions and rebuild the mirrors (over-writing the 16.04 installation).
Perhaps the only way to get this to work here is to do a vanilla install (no mirroring whatsoever), then do partition-juggling where I move files around, set up one mirrored partition, update grub, move files around again, set up the second mirrored partition, and update grub again. Seems unnecessary.
partitioning system-installation raid mdadm
partitioning system-installation raid mdadm
asked Dec 27 '18 at 1:39
r2evans
1416
1416
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Ok, research provides some more context and options.
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Server states (emphasis mine):
N.B., If you require multipath, full-disk encryption, or the ability to re-using existing partitions, you will want to continue to use the alternate installer which can be downloaded from http://cdimage.ubuntu.com/releases/18.04/release/ As of 18.04.1, the Subiquity server installer now supports LVM, RAID, vlans, and bonds.
The linked related-question mentioned bug 1751656 is allegedly a duplicate of subiquity bug 1680245. That second bug page references using the alternate debian-installer to be able to use existing partitions (untested).
Another option to my first plan (to do a new install on the second drive) is of course to attempt an in-place upgrade using
sudo do-release-upgrade. Had I not nuked the mirrored partitions during my troubleshooting/first-go, this would be a lot easier for me to attempt ... not a bad time to "practice" healing/rebuilding these two partitions.The last option I'll note is what I commented above and likely what I will end up doing if the upgrade hiccups at all: un-partition the whole drive that contains the mirrors for
/and/boot, create a minimal partition, reboot into the older 16.04, then shuffle creating new raid1 partitions to get 18.04 installed on the desired partition schema. (This could also be done with yet another drive that is otherwise unused/available.)
My previous complaint about "this feature was intentionally removed" was premature, of course: it has not been removed from the alternate installer, it just has not been implemented in the new installer, "subiquity". I still argue (and many on the bug pages do as well) that this is a significant problem in that one might infer that wiping data is the only way to go forward, but it is not as much a show-stopper as I originally believed.
Thanks for your time.
Great! Share your experience! Q + A upvoted! ;-)
– Fabby
Dec 27 '18 at 22:35
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104779%2fserver-installation-with-intentionally-incomplete-raid1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ok, research provides some more context and options.
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Server states (emphasis mine):
N.B., If you require multipath, full-disk encryption, or the ability to re-using existing partitions, you will want to continue to use the alternate installer which can be downloaded from http://cdimage.ubuntu.com/releases/18.04/release/ As of 18.04.1, the Subiquity server installer now supports LVM, RAID, vlans, and bonds.
The linked related-question mentioned bug 1751656 is allegedly a duplicate of subiquity bug 1680245. That second bug page references using the alternate debian-installer to be able to use existing partitions (untested).
Another option to my first plan (to do a new install on the second drive) is of course to attempt an in-place upgrade using
sudo do-release-upgrade. Had I not nuked the mirrored partitions during my troubleshooting/first-go, this would be a lot easier for me to attempt ... not a bad time to "practice" healing/rebuilding these two partitions.The last option I'll note is what I commented above and likely what I will end up doing if the upgrade hiccups at all: un-partition the whole drive that contains the mirrors for
/and/boot, create a minimal partition, reboot into the older 16.04, then shuffle creating new raid1 partitions to get 18.04 installed on the desired partition schema. (This could also be done with yet another drive that is otherwise unused/available.)
My previous complaint about "this feature was intentionally removed" was premature, of course: it has not been removed from the alternate installer, it just has not been implemented in the new installer, "subiquity". I still argue (and many on the bug pages do as well) that this is a significant problem in that one might infer that wiping data is the only way to go forward, but it is not as much a show-stopper as I originally believed.
Thanks for your time.
Great! Share your experience! Q + A upvoted! ;-)
– Fabby
Dec 27 '18 at 22:35
add a comment |
Ok, research provides some more context and options.
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Server states (emphasis mine):
N.B., If you require multipath, full-disk encryption, or the ability to re-using existing partitions, you will want to continue to use the alternate installer which can be downloaded from http://cdimage.ubuntu.com/releases/18.04/release/ As of 18.04.1, the Subiquity server installer now supports LVM, RAID, vlans, and bonds.
The linked related-question mentioned bug 1751656 is allegedly a duplicate of subiquity bug 1680245. That second bug page references using the alternate debian-installer to be able to use existing partitions (untested).
Another option to my first plan (to do a new install on the second drive) is of course to attempt an in-place upgrade using
sudo do-release-upgrade. Had I not nuked the mirrored partitions during my troubleshooting/first-go, this would be a lot easier for me to attempt ... not a bad time to "practice" healing/rebuilding these two partitions.The last option I'll note is what I commented above and likely what I will end up doing if the upgrade hiccups at all: un-partition the whole drive that contains the mirrors for
/and/boot, create a minimal partition, reboot into the older 16.04, then shuffle creating new raid1 partitions to get 18.04 installed on the desired partition schema. (This could also be done with yet another drive that is otherwise unused/available.)
My previous complaint about "this feature was intentionally removed" was premature, of course: it has not been removed from the alternate installer, it just has not been implemented in the new installer, "subiquity". I still argue (and many on the bug pages do as well) that this is a significant problem in that one might infer that wiping data is the only way to go forward, but it is not as much a show-stopper as I originally believed.
Thanks for your time.
Great! Share your experience! Q + A upvoted! ;-)
– Fabby
Dec 27 '18 at 22:35
add a comment |
Ok, research provides some more context and options.
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Server states (emphasis mine):
N.B., If you require multipath, full-disk encryption, or the ability to re-using existing partitions, you will want to continue to use the alternate installer which can be downloaded from http://cdimage.ubuntu.com/releases/18.04/release/ As of 18.04.1, the Subiquity server installer now supports LVM, RAID, vlans, and bonds.
The linked related-question mentioned bug 1751656 is allegedly a duplicate of subiquity bug 1680245. That second bug page references using the alternate debian-installer to be able to use existing partitions (untested).
Another option to my first plan (to do a new install on the second drive) is of course to attempt an in-place upgrade using
sudo do-release-upgrade. Had I not nuked the mirrored partitions during my troubleshooting/first-go, this would be a lot easier for me to attempt ... not a bad time to "practice" healing/rebuilding these two partitions.The last option I'll note is what I commented above and likely what I will end up doing if the upgrade hiccups at all: un-partition the whole drive that contains the mirrors for
/and/boot, create a minimal partition, reboot into the older 16.04, then shuffle creating new raid1 partitions to get 18.04 installed on the desired partition schema. (This could also be done with yet another drive that is otherwise unused/available.)
My previous complaint about "this feature was intentionally removed" was premature, of course: it has not been removed from the alternate installer, it just has not been implemented in the new installer, "subiquity". I still argue (and many on the bug pages do as well) that this is a significant problem in that one might infer that wiping data is the only way to go forward, but it is not as much a show-stopper as I originally believed.
Thanks for your time.
Ok, research provides some more context and options.
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Server states (emphasis mine):
N.B., If you require multipath, full-disk encryption, or the ability to re-using existing partitions, you will want to continue to use the alternate installer which can be downloaded from http://cdimage.ubuntu.com/releases/18.04/release/ As of 18.04.1, the Subiquity server installer now supports LVM, RAID, vlans, and bonds.
The linked related-question mentioned bug 1751656 is allegedly a duplicate of subiquity bug 1680245. That second bug page references using the alternate debian-installer to be able to use existing partitions (untested).
Another option to my first plan (to do a new install on the second drive) is of course to attempt an in-place upgrade using
sudo do-release-upgrade. Had I not nuked the mirrored partitions during my troubleshooting/first-go, this would be a lot easier for me to attempt ... not a bad time to "practice" healing/rebuilding these two partitions.The last option I'll note is what I commented above and likely what I will end up doing if the upgrade hiccups at all: un-partition the whole drive that contains the mirrors for
/and/boot, create a minimal partition, reboot into the older 16.04, then shuffle creating new raid1 partitions to get 18.04 installed on the desired partition schema. (This could also be done with yet another drive that is otherwise unused/available.)
My previous complaint about "this feature was intentionally removed" was premature, of course: it has not been removed from the alternate installer, it just has not been implemented in the new installer, "subiquity". I still argue (and many on the bug pages do as well) that this is a significant problem in that one might infer that wiping data is the only way to go forward, but it is not as much a show-stopper as I originally believed.
Thanks for your time.
answered Dec 27 '18 at 6:26
r2evans
1416
1416
Great! Share your experience! Q + A upvoted! ;-)
– Fabby
Dec 27 '18 at 22:35
add a comment |
Great! Share your experience! Q + A upvoted! ;-)
– Fabby
Dec 27 '18 at 22:35
Great! Share your experience! Q + A upvoted! ;-)
– Fabby
Dec 27 '18 at 22:35
Great! Share your experience! Q + A upvoted! ;-)
– Fabby
Dec 27 '18 at 22:35
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104779%2fserver-installation-with-intentionally-incomplete-raid1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown