modern_lisp-machine/misc/scripts/zfs.sh

40 lines
971 B
Bash
Executable File

EXEC_SHELL_PATH=$(command -v bash)
sudo zpool import Data && sudo zpool import Zonai && sudo zpool import kisshot
: ' Some really important info in case that the computer does not recognize the pools by their name:
pool: Data
state: ONLINE
scan: scrub repaired 0B in 14:41:28 with 0 errors on Thu Apr 25 17:54:33 2024
config:
NAME STATE READ WRITE CKSUM
Data ONLINE 0 0 0
ata-ST4000DM004-2CV104_ZFN4QK48 ONLINE 0 0 0
errors: No known data errors
pool: Zonai
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
Zonai ONLINE 0 0 0
sde ONLINE 0 0 0
errors: No known data errors
pool: kisshot
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
kisshot ONLINE 0 0 0
ata-TOSHIBA_HDWL110_12DFP4BTT ONLINE 0 0 0
'