alcorza
Cadet
- Joined
- Jun 26, 2022
- Messages
- 1
Hi guys - I've been battling to get a good solution anywhere for trying to figure out the whole accessing an NFS share from Kodi thing.
As of writing this, I am running TrueNAS-SCALE-22.02.2
Environment:
CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics (Renoir)
RAM: 32 GB DDR-4 3200 GSkill Trident Z RGB (non-ECC)
Board: Asrock B550 Steel Legend
Ethernet: 2.5G Dragon RTL8125BG
Boot Pool: 2 x WD Green 120GB SATA SSDs
Pool 1: 6 x Seagate IronWolf Pro 4 TB SATA attached to a LSI SAS 2308 HBA (RAIDZ2)
Pool 2: 1 x WD Blue 500GB NVME (No redundancy - not used for critical data)
So the solution is quite simple.
1. System Settings > Services > NFS (Pencil icon to configure)
2. Make sure "Enable NFSv4" is enabled.
3. Make sure "NFSv3 ownership model for NFSv4" is enabled.
4. Make sure "Allow non-root mount" under "Other Options" is enabled.
5. Add your NFS Shares and ensure the service is running.
And this was the part I needed to figure out which was key...
6. Storage > Dataset Actions (3 dots on the right of the dataset/volume) > View Permissions
7. Dataset Permissions > Edit (the pencil icon)
8. Add Item > User
9. Add the user "nobody"
10. Set the permissions to "Read"
11. Apply the permissions recursively - if you have sub folders that need to be accessed.
This solved this issue for me, hope it's of use to someone else!
As of writing this, I am running TrueNAS-SCALE-22.02.2
Environment:
CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics (Renoir)
RAM: 32 GB DDR-4 3200 GSkill Trident Z RGB (non-ECC)
Board: Asrock B550 Steel Legend
Ethernet: 2.5G Dragon RTL8125BG
Boot Pool: 2 x WD Green 120GB SATA SSDs
Pool 1: 6 x Seagate IronWolf Pro 4 TB SATA attached to a LSI SAS 2308 HBA (RAIDZ2)
Pool 2: 1 x WD Blue 500GB NVME (No redundancy - not used for critical data)
So the solution is quite simple.
1. System Settings > Services > NFS (Pencil icon to configure)
2. Make sure "Enable NFSv4" is enabled.
3. Make sure "NFSv3 ownership model for NFSv4" is enabled.
4. Make sure "Allow non-root mount" under "Other Options" is enabled.
5. Add your NFS Shares and ensure the service is running.
And this was the part I needed to figure out which was key...
6. Storage > Dataset Actions (3 dots on the right of the dataset/volume) > View Permissions
7. Dataset Permissions > Edit (the pencil icon)
8. Add Item > User
9. Add the user "nobody"
10. Set the permissions to "Read"
11. Apply the permissions recursively - if you have sub folders that need to be accessed.
This solved this issue for me, hope it's of use to someone else!