Accessing NTFS drives on network
#61
(2019-06-15, 16:12)mufc Wrote: OK. I am now ready to try something. My client is running Ubuntu 18.04.2 LTS (a bit disappointed it is the LTS version but I have it set up the way a like it. a lot of work) and the server is running Ubuntu Budgie 19.04. Both are backed up and ready to be fooled with.
I know you spent a lot of time explaining ssh to me yoda but first i would like to see if NFS or Samba will be good enough for me.
Client is running Kodi and the server has my other hard drives mounted at /mnt
NFS first
I will document every step
im down with what ever works for you bro and you never know i might learn something new, smb may be the easiest option to work with
Reply
#62
Something wrong ?

On the first Ubuntu (server) computer, install nfs-kernel-server packages.

sudo apt install nfs-kernel-server

Then edit the exports file with nano text editor. The exports files tell NFS server which directories or file systems will be shared to client.

sudo nano /etc/exports

The syntax is as follows

/mnt/Video      client ip(rw,sync,root_squash,subtree_check)

Client

On the second Ubuntu computer, install nfs-common package.

sudo apt install nfs-common

next backup fstab file

sudo cp /etc/fstab /etc/fstab.bak

Then edit /etc/fstab file.

sudo nano /etc/fstab

Add the following line in the file. Replace nfs-server-ip with the IP address of the first Ubuntu computer.

client ip:/mnt/Video    /mnt/nfs-share      nfs       rw,soft,intr,noatime,x-gvfs-show

Save and close the file. Then create the mount point.

sudo mkdir /mnt/nfs-share

Next, run the below command

sudo mount -a

Now you can access the server’s home directory in your file manager. (WRONG)

This is what I get

mount.nfs: requested NFS version or transport protocol is not supported

nfs share shows up in file manager but I get

Unable to access "nfs-share"
mount /mnt/nfs-share: operation permitted for root only.
Reply
#63
client ip:/mnt/Video    /mnt/nfs-share      nfs       rw,soft,intr,noatime,x-gvfs-show

should be ?

server ip:/mnt/Video    /mnt/nfs-share      nfs       rw,soft,intr,noatime,x-gvfs-show
Reply
#64
still same error. have to take wife out for about 90 minutes
Reply
#65
Ok yoda
not getting anywhere there so i tried your ssh steps.
everything fine, no errors etc and folders are in /mnt

with that done pop onto the device your using kodi on and go to add your media from network location don't forget to use the Username and Password for your server user account.
user name and password that logs me into my host pc correct?

i just get errors when tyring this
then you'll just need to navigate to /mnt/allmedia and add your media.
what do you mean here. navigate with kodi ?
Kodi on client cannot find anything

I aslo tried going in to /mnt and changing the ownership on the 3 folders where it says group from root to my login but that affected nothing.
I have also tried rebooting both computers
Reply
#66
I can however access those folders etc using Filezilla from the client
Reply
#67
after all this effort with ssh and nfs i thought I would try samba. worked like a charm. tickety boo
thanks yoda (and others for sticking around)
Reply
#68
(2019-06-17, 00:32)mufc Wrote: after all this effort with ssh and nfs i thought I would try samba. worked like a charm. tickety boo
thanks yoda (and others for sticking around)
anytime glad to help if i can pal
Reply

Logout Mark Read Team Forum Stats Members Help
Accessing NTFS drives on network0