You are not logged in.

#1 2024-04-16 21:56:52

bodrah
Member
Registered: 2024-03-28
Posts: 15

fstab issue with external drive

Hi,

I have a question regarding the normal expected behavior for when a non-boot drive fails that is listed in fstab.  I have a mdadm raid device that I added to fstab and I don't know if its my mother board or the usb enclosure or what but sometimes during boot it hangs trying to boot with the raid device.  Again this isn't a boot device, a couple times it has even failed to boot at all because it goes into emergency mode.  The question is can I have it in fstab and not fail into emergency mode if it fails to load?  All it is is my steam library of games I'm not playing right now.  I can live without it booting but its a hassle using a live usb mounting the ssd, editing the fstab just to boot.  What are my options?  Am I better just mounting it after boot with a .desktop script?

Offline

#2 2024-04-16 22:29:57

kermit63
Member
Registered: 2018-07-04
Posts: 174

Re: fstab issue with external drive

I have no experience with mdadm raid so take my advice with a grain of salt.

Try passing the 'noauto' option in /etc/fstab. It's supposed to prevent mounting non-boot devices during mount -a (e.g. during boot).

Online

#3 2024-04-17 06:35:08

just4arch
Member
Registered: 2023-01-07
Posts: 84

Re: fstab issue with external drive

https://www.freedesktop.org/software/sy … mount.html
You can try turning it into an automount:

noauto,nofail,x-systemd.automount,x-systemd.device-timeout=10

Offline

#4 2024-04-17 15:21:02

bodrah
Member
Registered: 2024-03-28
Posts: 15

Re: fstab issue with external drive

thanks I'll take a look at these suggestions.

Offline

Board footer

Powered by FluxBB