Skip to main content
Topic: How to automunt CIFS in fstab (Read 855 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to automunt CIFS in fstab

Hello,

I tried to bootmount my NAS storage with CIFS by fstab

My fstab:

Code: [Select]
//my.personal.ip.adress/Lab /home/username/Lab cifs username=admin,password=admin 0 0  

but it not mounting while booting

Code: [Select]
sudo mount -a 
works fine

Can someone help?

Re: How to automunt CIFS in fstab

Reply #1
Quote
but it not mounting while booting

because disk mount in boot process very early/first - before starting network. You need start networks and after mount CIFS. Maybe can help our service called samba-openrc/-runit/-s6 ;-)