I had a line in my fstab file that until this morning allowed me to read and write to a windows share (dummy IP address is shown below)
//111.111.1.111/ecc /mnt/nas2 cifs user,uid=500,gid=500,username=*****,password=*****,file_mode=0666,dir_mode=0777 0 0
This morning, for some unexplained reason, it does not work (no reboot) and the filesystem on the share does not mount. I can ping the share OK. I can mount the share using mount.cifs from the command line but I always have trouble getting write permissions with this approach. If I try to source the fstab I get this:
-bash: /boot: is a directory -bash: /dev/mapper/VolGroup-lv_home: Permission denied -bash: /dev/mapper/VolGroup-lv_swap: Permission denied -bash: tmpfs: command not found -bash: devpts: command not found -bash: sysfs: command not found -bash: proc: command not found -bash: //111.111.1.111/ecc: No such file or directory
I have not edited fstab but it seems to be failing to do most things. How do I get fstab working again?