quickreference:zfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
quickreference:zfs [2025/03/21 23:35] – rodolico | quickreference:zfs [2025/03/21 23:39] (current) – rodolico | ||
---|---|---|---|
Line 17: | Line 17: | ||
**Warning**: | **Warning**: | ||
+ | |||
+ | **Note**: I've shown three ways to find the drives on the system. The first three commands give redundant information. If you have smartctl on your system, that is probably the easiest, since it has a scan function built in, but geom is FreeBSD' | ||
<code bash> | <code bash> | ||
Line 22: | Line 24: | ||
geom disk list | grep Geom | rev | cut -d' ' -f1 | rev | sort | geom disk list | grep Geom | rev | cut -d' ' -f1 | rev | sort | ||
egrep ' | egrep ' | ||
- | smartctl --scan | + | smartctl --scan | cut -d' ' -f1 |
# we want RAID-6, name it storage, and us /dev/da0 through 7 | # we want RAID-6, name it storage, and us /dev/da0 through 7 | ||
zpool create -f storage raidz2 / | zpool create -f storage raidz2 / |
quickreference/zfs.1742618126.txt.gz · Last modified: 2025/03/21 23:35 by rodolico