Site Tools


truenas

This is an old revision of the document!


TrueNAS configuration

Mounts

mount -t cifs -o credentials=/root/.smbcredentials,vers=1.0,uid=568,gid=568,file_mode=0644,dir_mode=0755,actimeo=1,nounix,_netdev //192.168.1.27/DOCS2 /mnt/Media/Media
mount -t cifs -o credentials=/root/.smbcredentials,vers=3.0,uid=0,gid=0,file_mode=0644,dir_mode=0755,actimeo=1,nounix,_netdev //192.168.1.23/DOCS2 /mnt/Media/Movies
mount -t cifs -o credentials=/root/.smbcredentials,vers=1.0,uid=0,gid=0,file_mode=0644,dir_mode=0755,actimeo=1,nounix,_netdev //192.168.1.27/DOCS /mnt/Media/Other

# Temporary mounts:
mount -t cifs -o credentials=/root/.smbcredentials,vers=3.0,uid=0,gid=0,file_mode=0644,dir_mode=0755,actimeo=1,nounix,_netdev //192.168.1.23/ROMs /mnt/Media/KARGATH/roms

ROMs migration

rsync -av --ignore-existing --progress --no-perms --exclude='.streams' --exclude='@Recycle' /mnt/Media/KARGATH/roms/* /mnt/DOCS2/ROMs/

ZFS scrub

The scrub is causing a reboot. Mitigation includes:

Option 1: Reschedule both scrubs to Sunday midday (staggered)

sudo midclt call pool.scrub.update 1 '{"schedule": {"minute": "00", "hour": "12", "dom": "*", "month": "*", "dow": "7"}}'
sudo midclt call pool.scrub.update 2 '{"schedule": {"minute": "00", "hour": "14", "dom": "*", "month": "*", "dow": "7"}}'

Option 2: Increase threshold to reduce frequency (e.g. 60 days)

sudo midclt call pool.scrub.update 1 '{"threshold": 60}'
sudo midclt call pool.scrub.update 2 '{"threshold": 60}'

Option 3: Disable one scrub entirely (not done)

sudo midclt call pool.scrub.update 2 '{"enabled": false}'
truenas.1782372340.txt.gz · Last modified: by admin