News:

SMF - Just Installed!

Main Menu

network drives not automounting

Started by kalpana, Oct 19, 2023, 04:07 AM

Previous topic - Next topic

kalpana

I have two external hard drives connected to a miniPC (also running 20.04) that it is serving to the network using samba. These drives are accessed by a wide range of devices - windows, linux, android, media players...

I recently upgraded my shop system (one of the computers on the network) from 16.04 to 20.04. Under 16.04, sometimes these network drives would automount at boot up, sometimes they wouldn't and I would have to run 'sudo mount -a' to get them to mount. Since I have upgraded to 20.04, these drives NEVER automount. I have tried adding '@reboot /bin/mount -a' as a crontab entry, but that isn't mounting them, either.

I know that one of the drives spins down if not accessed and has to spin back up, which takes several seconds. I don't know if that has anything to do with the issue or not, but figured I'd throw that out there, just in case.

Could someone give me some advice on getting these to mount up reliably when the the system is started?

This is what I currently have in fstab

Code:
# UUID=fa9d3519-6125-4121-9810-b2822e398780 /mnt/shop.data ext3  defaults 0 0
# UUID=df479888-2010-485f-a620-0fab6516fab6 /mnt/multimedia  ext4  auto,nofail,users,rw,exec,sync 0