I have this in my /etc/fstab
//192.168.1.1/S_Drive /mnt/readyshare cifs sec=ntlmv2,username=XXXX,password=XXXXX,uid=1000,gid=1000,iocharset=utf8 0 0
everytime I reboot the pi2, it says
[FAILED] failed to mount /mnt/readyshare
Here is the log
systemctl status mnt-readyshare.mount
mnt-readyshare.mount - /mnt/readyshare
Loaded: loaded (/etc/fstab)
Active: active (mounted) (Result: exit-code) since Tue 2015-04-28 22:42:26 CDT; 5min ago
Where: /mnt/readyshare
What: //192.168.1.1/S_Drive
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Process: 221 ExecMount=/bin/mount -n //192.168.1.1/S_Drive /mnt/readyshare -t cifs -o sec=ntlmv2,username=XXXX,password=XXXXX,uid=1000,gid=1000,iocharset=utf8 (code=exited, status=32)
If i run this command manually, I can mount the drive but I want to auto mount it on startup
sudo mount -t cifs -o sec=ntlm,username=XXXXXX,password=XXXXXXX//192.168.1.1/S_Drive /mnt/readyshare
Any idea why?