Re: delay local file system mounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



27.05.2021 21:20, Linux for blind general discussion пишет:
I have a raid array that I use for storage, and it takes a while for it to be mounted. This causes a delay, sometimes quite significant, before the login prompt appears.
Is there a way to cause a
/etc/fstab
entry to be delayed? I know I could always mount the array manually after login, but I'd rather not if I can avoid it.


it's not hard to do if your distribution uses systemd as init.

you need to add the x-systemd.automount option to the mountpoint entry in your fstab.
then the disk will be automatically mounted when some process writes to it.
you can also set the time to unmount with the x-systemd.idle-timeout = by default the disk will not be unmounted.

--
Sincerely, Alexander.

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]