On Centos 7.5, I have an external raid/backup box attached via USB. I do NOT want it to automatically mount at system boot (it is set up to automount when accessed, so the backup script just starts accessing it and voila!)
How do I configure the system so that particular drive doesn't automatically mount at boot? It is not listed in /etc/fstab (well, it is, but the entry is commented out).
thanks in advance!
Fred
how to NOT mount usb drive at boot
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: how to NOT mount usb drive at boot
You can add the noauto option in fstab and then your backup script should mount it explicitly.Autofs has a timeout feature, which will umount it if being idle.The same feature is available for systemd automount.