kirkofthefleet
Cadet
- Joined
- Dec 29, 2021
- Messages
- 6
Hello All,
I am on day 1 of running TrueNas' free edition and am having an issue. I was able to successfully setup a windows and nfs share and both are mostly accessible. I am having issues with the nfs side of the share. The main goal is to have this share available for my servers to back themselves up to. I was able to mount the share manually and from what I can see, I cannot mount the nfs using fstab because there's no way to supply the user and password in the fstab file. I'm hoping someone tells me I'm wrong, but I scripted my way around it by having my backup script mount and unmount the share as needed.
Since I want to do a full system backup up all files, I am running rsync as root for the backup. When I run the command I get a Access Denied error (not verbatim but it won't let me into the shared folder). If I try to cd or ls the share as root or using sudo, permission is denied. However, I can do whatever I want in the share if I'm not running commands as root. Can anyone help with that? I'm assuming it has to do with my permissions in TrueNas. I've tried every combination I could find and cannot resolve the issue. Is this a security feature?
A few details:
My TrueNas instance is on a standalone box (no VM) with nothing else on it. It was freshly installed a few hours ago. The user for this datastore is the name of the server, however the username for the server to be backed up is different, which I'd expect is fine since I'm providing creds when mounting the share and it works as long as I'm not root on the client.
If there is any more information needed, I'll be happy to provide it.
Thanks in advance for any advice!
I am on day 1 of running TrueNas' free edition and am having an issue. I was able to successfully setup a windows and nfs share and both are mostly accessible. I am having issues with the nfs side of the share. The main goal is to have this share available for my servers to back themselves up to. I was able to mount the share manually and from what I can see, I cannot mount the nfs using fstab because there's no way to supply the user and password in the fstab file. I'm hoping someone tells me I'm wrong, but I scripted my way around it by having my backup script mount and unmount the share as needed.
Since I want to do a full system backup up all files, I am running rsync as root for the backup. When I run the command
Code:
"sudo rsynch blah blah options"
A few details:
My TrueNas instance is on a standalone box (no VM) with nothing else on it. It was freshly installed a few hours ago. The user for this datastore is the name of the server, however the username for the server to be backed up is different, which I'd expect is fine since I'm providing creds when mounting the share and it works as long as I'm not root on the client.
If there is any more information needed, I'll be happy to provide it.
Thanks in advance for any advice!