Hi there.
On a Debian node I have an SSD attached via Sata with a relevant entry in fstab. This all works fine.
But, if the drive//cable is removed the machine halts during the boot process. It kind find the drive, therefore it stops.
Is there a way to bypass this behaviour? If the drive isn't found bugger it and carry booting? I don't understand why the default would be to basically crash.
Many thanks.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
fstab entry locking machine.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: fstab entry locking machine.
Add nofail to the options for the drive.
Or use x-systemd.automount instead, see systemd.{auto,}mount(5) for more on this.
EDIT:
Or use x-systemd.automount instead, see systemd.{auto,}mount(5) for more on this.
EDIT:
Because mounts specified in /etc/fstab are considered critical and there is a option for the behaviour you want.Munty Scruntfundle wrote: I don't understand why the default would be to basically crash.
deadbang
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: fstab entry locking machine.
Yes, that's right but I think it will also stop the boot process from failing if the drive is not connected.
I mentioned the man pages so the OP can check if the extra features offered by the option are of any use.
I mentioned the man pages so the OP can check if the extra features offered by the option are of any use.
deadbang