update truenas with some stability and troubleshooting notes

This commit is contained in:
2025-02-19 11:37:17 -05:00
parent 15099d9799
commit 9cf1f6b365

View File

@@ -32,17 +32,12 @@
## Bios settings
These are my recommended settings that seem stable and allow GPU passthrough
You can check the bios version with `dmidecode -t bios -q`
1. Memory 3200mhz, fabric 1600mhz
2. AC Power - On
3. SVM - On
4. IOMMU - On (Do not touch rebar or other pci encoding stuff)
5. Fans 100%
6. Initial video output: pci 3
7. PCIE slot 1 bifurcation: 4x4x4x4
8. Disable CSM
9. Fast Boot Enabled
1. Turn off all C-State or power saving features. These definitely cause instability
like random freezes.
2. Turn off boosting
3. Enable XMP
## Archiving
@@ -281,10 +276,11 @@ Nic options: "mtu 9000 rxcsum txcsum tso4 lro"
Create an Init/Shutdown Script of type `Command` with the following:
```bash
echo 34359738368 >> /sys/module/zfs/parameters/zfs_arc_max
# Limit to 8 GiB
echo 8589934592 >> /sys/module/zfs/parameters/zfs_arc_max
```
Set `When` to `Pre Init`.
Set `When` to `Post Init`.
## Certs
@@ -385,8 +381,14 @@ zpool status -v
```bash
virsh -c "qemu+unix:///system?socket=/run/truenas_libvirt/libvirt-sock" list
virsh -c "qemu+unix:///system?socket=/run/truenas_libvirt/libvirt-sock" resume <vm_name>
virsh -c "qemu+unix:///system?socket=/run/truenas_libvirt/libvirt-sock" start <vm_i>
export VM_NAME=
# Try this first
virsh -c "qemu+unix:///system?socket=/run/truenas_libvirt/libvirt-sock" resume $VM_NAME
# Or just destroy and start it again
virsh -c "qemu+unix:///system?socket=/run/truenas_libvirt/libvirt-sock" destroy $VM_NAME
virsh -c "qemu+unix:///system?socket=/run/truenas_libvirt/libvirt-sock" start $VM_NAME
```
## Mounting ZVOLS