auto mount multiple smb shares at boot

General support questions
Post Reply
bripakes
Posts: 1
Joined: 2018/10/17 18:41:16

auto mount multiple smb shares at boot

Post by bripakes » 2018/10/18 21:02:30

I have been trying to get either /etc/auto.master (using https://wiki.centos.org/TipsAndTricks/WindowsShares) or systemd (https://atkdinosaurus.wordpress.com/201 ... h-systemd/) working.

Following the auto.master example, I was able to mount 1 share. But I failed to modify it to get 2 shares from different servers mounted...

Following the systemd method, I never got it working...

What should I use to get shares to mount automatically for my server (tomcat application server).

Thank you,

Brian

hunter86_bg
Posts: 1423
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: auto mount multiple smb shares at boot

Post by hunter86_bg » 2018/10/19 13:33:36

Just define them in /etc/fstab and in the options add 'x-systemd.automount'.

gjaltemba
Posts: 48
Joined: 2016/11/29 15:23:25

Re: auto mount multiple smb shares at boot

Post by gjaltemba » 2018/10/19 17:50:35

There is a verification process at the end of the article in your link for systemd method. Care to share the output?

Post Reply