nas fixes

This commit is contained in:
mjallen18
2024-02-18 19:24:34 -06:00
parent 9c088f2f43
commit 4b15be1b8d
4 changed files with 34 additions and 9 deletions

7
scripts/nas-init Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
zpool import -R /mnt -f "Main Pool"
zpool import -R /mnt -f "Safe SSD"
zpool import -R /mnt -f "Junk"
zfs load-key -L file:///root/main-pool.key "Main Pool"
zfs load-key -L file:///root/safe-ssd.key "Safe SSD"
zfs mount -a