I am switching over to using fstab and I cannot get it to work running win10.
I read through most of the posts and tried a bunch of thing but still cannot get it to work.
I also tried with Ip address in fstab and same issue
Here is my fstab file:
osmc@osmc:/etc$ cat fstab
/dev/mmcblk0p1 /boot vfat defaults,noatime,noauto,x-systemd.automount 0 0
# rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot)
#/dev/mmcblk0p2 / ext4 defaults,noatime 0 0
//Tony1/Movies /mnt/my_movies cifs defaults,vers=3.0,username=osmc,password=osmc,x-systemd.automount,noauto 0 0
//Tony1/Movies /mnt/Ozarks cifs defaults,vers=3.0,username=osmc,password=osmc,x-systemd.automount,noauto 0 0
I can go to /mnt and see the directories, but cannot cd to those.
osmc@osmc:/etc$ cd my_movies
-bash: cd: my_movies: No such file or directory
Iām assuming the issue is on the win10 pc side.
osmc@osmc:/etc$ smbclient -L 192.168.1.100 -U osmc
WARNING: The "syslog" option is deprecated
Enter osmc's password:
Domain=[TONY1] OS=[] Server=[]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
E$ Disk Default share
F$ Disk Default share
I Disk
I$ Disk Default share
IPC$ IPC Remote IPC
Movies1 Disk
Movies33 Disk
Movies5 Disk
my_movies Disk
O$ Disk Default share
Ozarks Disk
print$ Disk Printer Drivers
Save Disk
Users Disk
Connection to 192.168.1.100 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
osmc@osmc:/etc$
I do have NetBIOS over TCP enabled. I doubled checked it.
Logs available at https://paste.osmc.tv/otezupilud
Problem solved. The two lines in my fstab file were wrong, should have been"
//192.168.1.100/my_movies /mnt/my_movies cifs defaults,vers=3.0,username=osmc,password=osmc,x-systemd.automount,noauto 0 0
//192.168.1.100/Ozarks /mnt/Ozarks cifs defaults,vers=3.0,username=osmc,password=osmc,x-systemd.automount,noauto 0 0