Between auto and noauto in fstab

In Linux, /etc/fstab is a crucial file: if you set a partition to auto, the system attempts to mount it during boot. If the partition is unavailable, this may delay the boot process or, in some cases, prevent the system from starting properly.

However, you may still want the system to mount that partition whenever it is available, even if it is not essential for the system to run.

A possible solution is to set the nofail option for that partition in /etc/fstab: this way, the system attempts to mount it if possible, but continues booting even if the mount operation fails.

It is also a good idea to add the following option to avoid waiting too long for the device to become available:

x-systemd.device-timeout=2s

Lascia un commento

Il tuo indirizzo email non sarĂ  pubblicato. I campi obbligatori sono contrassegnati *