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

Re: mount an external usb hdd and share it through samba



On Mi, 06 mai 20, 01:35:02, Michael Morgan wrote:
> 
> Since automount works, and samba will work well if I restart it, my guess is
> that on boot, samba (smbd service) starts before /usb-hdd is mounted. To
> make it working, 
> I need make sure the fstab mounting happens before samba starts. Can anyone
> tell me how to do it? Or, any better solution for auto mount and share a usb
> HDD?

According to systemd.mount(5) there are fstab options to force ordering 
before a specific unit.

It does seem strange that this is needed though. Could you please attach 
the smbd.service unit? Please also specify which Debian release you are 
using.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: