Continue boot with offline fstab disk (linux/systemd) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!how 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
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
How widely used is the term Treppenwitz? Is it something that most Germans know?
How do I keep my slimes from escaping their pens?
How can players work together to take actions that are otherwise impossible?
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
Why did the IBM 650 use bi-quinary?
Single word antonym of "flightless"
Is there a concise way to say "all of the X, one of each"?
Models of set theory where not every set can be linearly ordered
Java 8 stream max() function argument type Comparator vs Comparable
Is there a documented rationale why the House Ways and Means chairman can demand tax info?
Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Is the Standard Deduction better than Itemized when both are the same amount?
What causes the vertical darker bands in my photo?
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
Letter Boxed validator
macOS-like app switching in Plasma 5
If 'B is more likely given A', then 'A is more likely given B'
The logistics of corpse disposal
Why does Python start at index 1 when iterating an array backwards?
Does surprise arrest existing movement?
IndentationError when pasting code in Python 3 interpreter mode
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
Continue boot with offline fstab disk (linux/systemd)
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!how 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
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Apr 10 at 13:49
sebt
New contributor
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Apr 10 at 13:38
sebtsebt
1113
1113
New contributor
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
sebt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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 Apr 10 at 14:00
HBruijnHBruijn
56.5k1190150
56.5k1190150
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