mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +08:00
17 lines
301 B
Bash
17 lines
301 B
Bash
#!/bin/bash
|
|
|
|
# 2025.Jan kneutron
|
|
|
|
echo "o NOTE zfs-2.3.0-1 or higher is required!"
|
|
zfs -V
|
|
|
|
zp=zraidzexpandtest
|
|
|
|
# vda=vdp avail; f=6
|
|
zpool create -o ashift=12 -o autoexpand=on -o autoreplace=off -O atime=off -O compression=lz4 \
|
|
$zp raidz1 \
|
|
vd{a..f}
|
|
|
|
zpool list -v
|
|
zpool status -v |awk 'NF>0'
|