Continue boot with offline fstab disk (linux/systemd) The 2019 Stack Overflow Developer Survey Results Are Inhow can I boot linux from a software raid 1 arrayCan't boot my server after fstab optimizationsSystemd dependencies and boot orderHow to debug why systemd is idling and is not going on with the boot process?Faulty /etc/fstab preventing Proxmox bootUbuntu - Folder replaced by lost+found/ on raid1 disksLinux: “fstab” with additional mount options?fstab “x-systemd.requires” option with no effectIncrease disk detection timeout at boot with Linux/SystemdUbuntu won't mount through fstab after upgrade to Systemd
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
A poker game description that does not feel gimmicky
Can we generate random numbers using irrational numbers like π and e?
What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?
Landlord wants to switch my lease to a "Land contract" to "get back at the city"
Multiply Two Integer Polynomials
Lightning Grid - Columns and Rows?
Aging parents with no investments
Shouldn't "much" here be used instead of "more"?
Worn-tile Scrabble
Have you ever entered Singapore using a different passport or name?
Does the shape of a die affect the probability of a number being rolled?
Identify boardgame from Big movie
Is this app Icon Browser Safe/Legit?
Falsification in Math vs Science
Is "plugging out" electronic devices an American expression?
Are there incongruent pythagorean triangles with the same perimeter and same area?
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
How to type this arrow in math mode?
Output the Arecibo Message
Why do UK politicians seemingly ignore opinion polls on Brexit?
What did it mean to "align" a radio?
Continue boot with offline fstab disk (linux/systemd)
The 2019 Stack Overflow Developer Survey Results Are Inhow can I boot linux from a software raid 1 arrayCan't boot my server after fstab optimizationsSystemd dependencies and boot orderHow to debug why systemd is idling and is not going on with the boot process?Faulty /etc/fstab preventing Proxmox bootUbuntu - Folder replaced by lost+found/ on raid1 disksLinux: “fstab” with additional mount options?fstab “x-systemd.requires” option with no effectIncrease disk detection timeout at boot with Linux/SystemdUbuntu won't mount through fstab after upgrade to Systemd
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
During boot, with pre-systemd versions of Ubuntu server (eg. 14.04), if a non-critical fstab disk was offline, the system would wait to mount the disk (30s iirc), timeout and continue booting.
Since upgrading through 16.04 to Ubuntu 18.04, thanks to systemd's dependencies I presume, a missing fstab disk stops the boot process resulting in the "Emergency mode... Press Enter for Maintenance" prompt at boot time.
- Is there a way to change this behaviour by default? Ie. simply continue booting or an option to flag disks as non-critical?
- Failing that, is there a straightforward systemctl command to 'continue booting ignoring missing disk' from maintenance?
linux ubuntu boot systemd fstab
New contributor
add a comment |
During boot, with pre-systemd versions of Ubuntu server (eg. 14.04), if a non-critical fstab disk was offline, the system would wait to mount the disk (30s iirc), timeout and continue booting.
Since upgrading through 16.04 to Ubuntu 18.04, thanks to systemd's dependencies I presume, a missing fstab disk stops the boot process resulting in the "Emergency mode... Press Enter for Maintenance" prompt at boot time.
- Is there a way to change this behaviour by default? Ie. simply continue booting or an option to flag disks as non-critical?
- Failing that, is there a straightforward systemctl command to 'continue booting ignoring missing disk' from maintenance?
linux ubuntu boot systemd fstab
New contributor
add a comment |
During boot, with pre-systemd versions of Ubuntu server (eg. 14.04), if a non-critical fstab disk was offline, the system would wait to mount the disk (30s iirc), timeout and continue booting.
Since upgrading through 16.04 to Ubuntu 18.04, thanks to systemd's dependencies I presume, a missing fstab disk stops the boot process resulting in the "Emergency mode... Press Enter for Maintenance" prompt at boot time.
- Is there a way to change this behaviour by default? Ie. simply continue booting or an option to flag disks as non-critical?
- Failing that, is there a straightforward systemctl command to 'continue booting ignoring missing disk' from maintenance?
linux ubuntu boot systemd fstab
New contributor
During boot, with pre-systemd versions of Ubuntu server (eg. 14.04), if a non-critical fstab disk was offline, the system would wait to mount the disk (30s iirc), timeout and continue booting.
Since upgrading through 16.04 to Ubuntu 18.04, thanks to systemd's dependencies I presume, a missing fstab disk stops the boot process resulting in the "Emergency mode... Press Enter for Maintenance" prompt at boot time.
- Is there a way to change this behaviour by default? Ie. simply continue booting or an option to flag disks as non-critical?
- Failing that, is there a straightforward systemctl command to 'continue booting ignoring missing disk' from maintenance?
linux ubuntu boot systemd fstab
linux ubuntu boot systemd fstab
New contributor
New contributor
edited 13 hours ago
sebt
New contributor
asked 13 hours ago
sebtsebt
1113
1113
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In the /etc/fstab
entries for your mounts you can add systemd specific options, including the nofail
option will instruct systemd that the boot can continue without waiting for the mount unit and regardless whether the mount point can be mounted successfully.
You can add the options x-systemd.device-timeout
and or x-systemd.mount-timeout
to customize time-outs.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
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
);
);
sebt is a new contributor. Be nice, and check out our Code of Conduct.
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%2fserverfault.com%2fquestions%2f962432%2fcontinue-boot-with-offline-fstab-disk-linux-systemd%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
In the /etc/fstab
entries for your mounts you can add systemd specific options, including the nofail
option will instruct systemd that the boot can continue without waiting for the mount unit and regardless whether the mount point can be mounted successfully.
You can add the options x-systemd.device-timeout
and or x-systemd.mount-timeout
to customize time-outs.
add a comment |
In the /etc/fstab
entries for your mounts you can add systemd specific options, including the nofail
option will instruct systemd that the boot can continue without waiting for the mount unit and regardless whether the mount point can be mounted successfully.
You can add the options x-systemd.device-timeout
and or x-systemd.mount-timeout
to customize time-outs.
add a comment |
In the /etc/fstab
entries for your mounts you can add systemd specific options, including the nofail
option will instruct systemd that the boot can continue without waiting for the mount unit and regardless whether the mount point can be mounted successfully.
You can add the options x-systemd.device-timeout
and or x-systemd.mount-timeout
to customize time-outs.
In the /etc/fstab
entries for your mounts you can add systemd specific options, including the nofail
option will instruct systemd that the boot can continue without waiting for the mount unit and regardless whether the mount point can be mounted successfully.
You can add the options x-systemd.device-timeout
and or x-systemd.mount-timeout
to customize time-outs.
answered 12 hours ago
HBruijnHBruijn
56.4k1190150
56.4k1190150
add a comment |
add a comment |
sebt is a new contributor. Be nice, and check out our Code of Conduct.
sebt is a new contributor. Be nice, and check out our Code of Conduct.
sebt is a new contributor. Be nice, and check out our Code of Conduct.
sebt is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- 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%2fserverfault.com%2fquestions%2f962432%2fcontinue-boot-with-offline-fstab-disk-linux-systemd%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