hello
I’m following a guide from Wiki: File sharing with a NAS, media server, windows share or other device - General - OSMC
What I want to achieve is share data from OSMC Raspberry 3 to device inside my local network - which is Kodi on TV
First step is to setup server - OSMC as a server
so I edit /etc/fstab to include UUID:
UUID=6ab084a2-bfdd-4ad6-80ff-xxxxxxxxxxx /mnt/mySharedDrive ext4 defaults,noatime,nofail,x-systemd.mount-timeout=30 0 0
then mount: sudo mount -a
then edit /etc/exports to include the path:
/mnt/mySharedDrive 192.168.100.0/24(async,no_subtree_check)
then run: sudo exportfs -a
no errors, everything smooth so far
when I list content of /mnt/mySharedDrive I get everything from root directory / :
osmc@osmc:~$ ls /mnt/mySharedDrive
bin dev home lib64 media opt root sbin srv tmp var
boot etc lib lost+found mnt proc run selinux sys usr walkthrough_completed
so I assume setup is done
the data I want to access is inside my home directory, so: /mnt/mySharedDrive/home/osmc/Movies/
at this point I’m not sure if I should just export /home/osmc/Movies
instead of /mnt/myShared....
anyways then the client part
when adding a video source from GUI:
Videos → Files → Add videos → Browse → Network File System (NFS)
I put here: nfs://192.168.100.55/mnt/mySharedDrive/home/osmc/Movies/
and I’m presented with info that directory info cannot be retrievied
and later when I accept anyways and try to open that it cannot connect to server:
what do I do wrong here?
when I run the showmount command I can see something connected
osmc@osmc:~$ showmount -a
All mount points on osmc:
192.168.100.27:/mnt/mySharedDrive