D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Auto mount Hard Drives

 

On 24/08/2019 11:57, Grant Phillips-Sewell wrote:
On Sat, 24 Aug 2019, 11:52 Rich, <rich@xxxxxxxxxxx> wrote:
Hi

I hope all is well with everybody? How do I auto mount hard drives at start-up please? They are being used to mount a NextCloud instance and without auto mount NextCloud is failing. I am using Ubuntu 19.04.

Many thanks
---
See you
Rich
07546 804439
https://gucu.org.uk/
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq

It's it a removable drive? If not, I'd recommend adding it to the fstab, and use the UUID.


Grant. :)

It also depends on the FS. For a long time systemd has refused to mount NFS filesystems via the fstab. I wasted months trying different methods in the fstab. Eventually I've had to use a workaround involving .mount and .automount files for every NFS mount. Then desktop shortcuts so I can access them easily.

Julian

-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq