Mount a TrueNAS pool on Ubuntu

follow these general steps:
1. Enable NFS Sharing on TrueNAS
- Log into the TrueNAS web interface.
- Navigate to Sharing > Unix Shares (NFS).
- Add an NFS share, specifying the desired dataset or directory.
- Set permissions to allow the Ubuntu client to access the share. Ensure the network range or specific IP address of the Ubuntu machine is allowed.

2. Install NFS Utilities on Ubuntu
- On the Ubuntu system, install the required NFS client
apt update
sudo apt install nfs-common
3. Discover the Shared NFS Path
- From the TrueNAS web interface, note the path of the shared dataset (e.g.,
/mnt/poolname/dataset
).
4. Mount the NFS Share
- Create a mount point on
sudo mkdir -p /mnt/truenas
- Mount the TrueNAS NFS
mount -t nfs <TrueNAS_IP>:/mnt/poolname/dataset /mnt/truenas
- Replace
<TrueNAS_IP>
with the TrueNAS server’s IP address.
5. Verify the Mount
df -h | grep /mnt
以上資料由ChatGPT整理完成。