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:33] – 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> | ||
- | # find the drives on the system | + | # find the drives on the system. Choose ONE of the following |
geom disk list | grep Geom | rev | cut -d' ' -f1 | rev | sort | geom disk list | grep Geom | rev | cut -d' ' -f1 | rev | sort | ||
- | # or, we can get from dmesg.boot | ||
egrep ' | egrep ' | ||
+ | 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.1742618005.txt.gz · Last modified: 2025/03/21 23:33 by rodolico