Hello
I am trying to connect my NAS WD My Cloud Mirror to Vero4K via FSTAB.
I can conect through osmc gui Network file system (NFS)
But have problems with FSTAB (full logs is below)
The best what has happend is like this:
osmc@osmc:~$ cd /mnt/HD/HD_a2/Public/Transmission
-bash: cd: /mnt/HD/HD_a2/Public/Transmission: No such device
osmc@osmc:~$ ls
Movies Music Pictures TV Shows
osmc@osmc:~$ sudo mount /mnt/HD/HD_a2/Public/Transmission
mount.nfs: an incorrect mount option was specified
osmc@osmc:~$ sudo mount /mnt/Public/Transmission
mount: canât find /mnt/Public/Transmission in /etc/fstab
The directory "Transmission " exist on my NAS WD My cloud Mirror. There is a lot of movies.
âwhich means that on your NAS you are sharing a directory called /nfs. Is this correct?â
I am tring to share directory called âTransmissionâ ,not â/nfsâ
I am really beginer so maybe there is mistake in my Fstab entry. I am not sure about it.
Thanks everybody very much for your support. It is really fast and and informative.
I tried to do according your advice. This is what I get: (full logs just in case: https://paste.osmc.tv/toxecehemi )
osmc@osmc:~$ showmount -e 192.168.1.5
Export list for 192.168.1.5:
/mnt/HD/HD_b2/Diskas2 *
/mnt/HD/HD_a2/Public *
/mnt/HD/HD_b2/Muzika *
osmc@osmc:~$ sudo nano /etc/fstab
osmc@osmc:~$ sudo mkdir /mnt/Transmission
mkdir: cannot create directory â/mnt/Transmissionâ: File exists
osmc@osmc:~$ sudo mount /mnt/Transmission
mount.nfs: an incorrect mount option was specified
osmc@osmc:~$ ls /mnt/Transmission
osmc@osmc:~$ sudo mount /mnt/Transmission
mount.nfs: an incorrect mount option was specified
osmc@osmc:~$ ls /mnt/Transmission
osmc@osmc:~$ showmount -e 192.168.1.5
Export list for 192.168.1.5:
/mnt/HD/HD_b2/Diskas2 *
/mnt/HD/HD_a2/Public *
/mnt/HD/HD_b2/Muzika *
osmc@osmc:~$ grab-logs -f -J
Logs successfully uploaded.
Logs available at https://paste.osmc.tv/toxecehemi
osmc@osmc:~$
I am not sure, but looks that I can not connect with FSTABâŚ
I tried and this is what i get:
osmc@osmc:~$ sudo nano /etc/fstab
osmc@osmc:~$ sudo mount /mnt/Transmission
mount: /etc/fstab: parse error at line 3 â ignored
mount: canât find /mnt/Transmission in /etc/fstab
osmc@osmc:~$ sudo mount -a
mount: /etc/fstab: parse error at line 3 â ignored
osmc@osmc:~$ grab-logs -f -J
Logs successfully uploaded.
Logs available at https://paste.osmc.tv/gevidetofi
osmc@osmc:~$
The line should be this: 192.168.1.5:/mnt/HD/HD_a2/Public/Transmission /mnt/Transmission nfs x-systemd.automount,noauto 0 0
There was a space too much Please try again without that spaceâŚ
My bigist mistake wasthat I probably didnât read until the end this sentence:
please use the following command to find the correct export path for your NAS (if itâs NOT /nfs):
showmount -e IP_of_your_NAS
I always begin with 192.168.1.1:/nfs/mnt and so on
We added that note at the end now based on it not having been clear enough before (the showmount -e IP_of_your_NAS part wasnât there before).
Where did you copy your FSTAB line from? Itâs just out of curiosity to see what could be improved to make the guide/problem solving more straight forward.
Oh, ok⌠So the wiki entry didnât show up when you were looking for help and wasnât it accessible easily enough for you?
It has been created just some weeks ago, so a lot of NFS FSTAB lines discussed here on the forum might be misleading or are also based on try and error by other users. Weâd like the wiki entry to give a basic guideline to avoid any try and errorâŚ
"if everything is fine, you can add the NFS mount as a media source to Kodi. The path were the NFS mounts are found will always be this one:
/mnt/
SO do I understand good, that then I enter (in my case):
sudo mount /mnt/Transmission
and
ls /mnt/Transmission
And when I see all my files in share folder (in my case Trasmission) through SSH.
So next step:
I have to go to GUI of OSMC and through Network file system (NFS) add my share (Transmission). But how can I be sure that it is really conected using FSTAB , but not regular NFS share method?
This is what I do not understand? Is any way to check?
A little bit confusing, because befoure I entered correct FSTAB line, I anyway could see my share âTransmissionâ through GUI OSMC Network file system (NFS)
Oh, I see your confusion You donât add the mounts via NFS in the GUI, but you add the path /mnt/Transmission as a local path to your media sources/library. Adding it as NFS via the GUI wouldnât use FSTAB - if it was the whole wiki entry wouldnât be necessary in the first place