strangeintp
Cadet
- Joined
- Jan 1, 2021
- Messages
- 7
TLDR: I can mount a nfs share at my client Linux machine, but don't seem to be able to access it:
Not new to Linux (I can do most of the fundamentals, but am by no means an expert, or even journeyman), but new to both TrueNAS and working with NFS. Not sure if my issue is w/ TrueNAS setup or something I need to do on my client machine.
I followed the docs directions for setting up a pool and a dataset.
I have five 2 TB drives set up as RAIDZ2.
I configured datasets as follows:
I added a group "Family" and user "vince" (me).
The
I then set up a NFS Share for
For now, I'd at least like to move some of the media that I've ripped on my local [Linux Mint 20] machine to the NAS, but I'm stuck.
Initially I had "access denied" problems with
Here's some console output:
I notice that
What I've done to troubleshoot:
- verified that uid:gid match on both the NAS and my client. (not sure why they need to but saw that somewhere on the net)
- edited NAS dataset
- added a NFS share for the parent folder
I've tweaked everything that seemed like obvious places to look/try on the NAS, nothing seems to work.
I saw some stuff about "/etc/export" files in discussion forums on the web but frankly the discussion was over my head, looked like a next level of expertise, and/or required a more step by step guide - not something I wanted to start trying/fiddling with blindly.
I thought this was going to be relatively easy to get working but already this is starting to look like a lot of fiddling and my hope is fading. Am I missing something simple, or should I give up now? Is this accessible to someone who is a mere acolyte and not a Linux networking guru? I haven't got time for lots of fiddling and steep learning curves anymore. ...obviously I've done web searches (and this forum) but have been at this for a few hours now and decided to ask for help.
I tried to provide minimum info I thought necessary for others to help, let me know if there's more info I should provide.
(is there a shell command to easily grab basic system info like "inxi" in Mint?)
ls -l /mnt/entertainment
returns ls: reading directory 'entertainment': Input/output error
Not new to Linux (I can do most of the fundamentals, but am by no means an expert, or even journeyman), but new to both TrueNAS and working with NFS. Not sure if my issue is w/ TrueNAS setup or something I need to do on my client machine.
I followed the docs directions for setting up a pool and a dataset.
I have five 2 TB drives set up as RAIDZ2.
I configured datasets as follows:
Code:
/mnt/Family Media and Data /mnt/Family Media and Data/Entertainment /mnt/Family Media and Data/Private
I added a group "Family" and user "vince" (me).
The
Family Media and Data
is just a parent for Entertainment
and Private
.I then set up a NFS Share for
Entertainment
. I'd like to rip our optical disk collection to the NAS and [eventually] serve it up to an HTPC (running Linux) via PLEX for the family to enjoy.For now, I'd at least like to move some of the media that I've ripped on my local [Linux Mint 20] machine to the NAS, but I'm stuck.
Initially I had "access denied" problems with
mount
but I fixed that by enabling NFSv4 in the service options (a tip that's not in the docs, btw).Here's some console output:
Code:
vince@workstation-Mint20:~$ sudo mount -t nfs 192.168.68.61:"/mnt/Family Media and Data/Entertainment Media" /mnt/entertainment [sudo] password for vince: vince@workstation-Mint20:~$ ls /mnt backup entertainment vince@workstation-Mint20:~$ ls -l /mnt total 5 drwxr-xr-x 7 root root 4096 Dec 31 19:35 backup drwx--x--x 2 nobody 4294967294 2 Jan 1 13:17 entertainment vince@workstation-Mint20:~$ ls -l /mnt/entertainment ls: reading directory '/mnt/entertainment': Input/output error total 0
I notice that
entertainment
directory is owned by nobody:<random numbers group>
, which I'm thinking is related to this I/O error. What I've done to troubleshoot:
- verified that uid:gid match on both the NAS and my client. (not sure why they need to but saw that somewhere on the net)
- edited NAS dataset
Entertainment Media
permissions to allow myself full control, and group Family
traverse permissions.- added a NFS share for the parent folder
Family Media and Data
. Not sure it was necessary, but tried it.I've tweaked everything that seemed like obvious places to look/try on the NAS, nothing seems to work.
I saw some stuff about "/etc/export" files in discussion forums on the web but frankly the discussion was over my head, looked like a next level of expertise, and/or required a more step by step guide - not something I wanted to start trying/fiddling with blindly.
I thought this was going to be relatively easy to get working but already this is starting to look like a lot of fiddling and my hope is fading. Am I missing something simple, or should I give up now? Is this accessible to someone who is a mere acolyte and not a Linux networking guru? I haven't got time for lots of fiddling and steep learning curves anymore. ...obviously I've done web searches (and this forum) but have been at this for a few hours now and decided to ask for help.
I tried to provide minimum info I thought necessary for others to help, let me know if there's more info I should provide.
(is there a shell command to easily grab basic system info like "inxi" in Mint?)