S
S
Sergey Belyakov2018-02-02 16:57:16
Computer networks
Sergey Belyakov, 2018-02-02 16:57:16

Why won't my network drive mount on boot in ubuntu?

There is a system xubuntu 16.04.03, just installed.
I want to mount a network drive. In principle, everything is clear. I installed cifs-utils and write the command:
//10.26.1.254/samson /mnt/samson smbfs /mnt/samson -o user=asus,password=1qaz2wsx 0 0
And everything is OK, it works! BUT!
When I want to do the same when the system boots, nothing comes out of me.
I edit the /etc/fstab file.
Then, on the last line, I write:
//10.26.1.254/samson /mnt/samson cifs user=asus,password=1qaz2wsx,uid=1000,gid=1000 0 0
When rebooting, the disk is not mounted.
I check the correctness of the file with the mount -a command, I check the folder where I mount the disk - and it is already under mounted.
I don't understand anything. On a working system, the drive mounts fine, but after a reboot it doesn't.
Tell me what to do. Disk should mount at boot

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wexter, 2018-02-02
@Wexter

Write the _netdev option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question