meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:fs:zfs:draid [2023/04/25 11:58] – niziak | linux:fs:zfs:draid [2025/08/03 07:39] (current) – niziak | ||
---|---|---|---|
Line 6: | Line 6: | ||
< | < | ||
- | In a ZFS dRAID (declustered RAID) the hot spare drive(s) participate in the RAID. Their spare capacity is reserved and used for rebuilding when one drive fails. This provides, depending on the configuration, | + | In a ZFS dRAID (declustered RAID) the hot spare drive(s) participate in the RAID. Their spare capacity is reserved and used for |
- | Note dRAID is intended for more than 10-15 disks in a dRAID. A RAIDZ setup should be better for a lower amount of disks in most use cases. | + | rebuilding when one drive fails. This provides, depending on the configuration, |
- | Note The GUI requires one more disk than the minimum (i.e. dRAID1 needs 3). It expects that a spare disk is added as well. | + | case of drive failure. More information can be found in the official OpenZFS documentation. [1] |
+ | Note: dRAID is intended for more than 10-15 disks in a dRAID. A RAIDZ setup should be better for a lower amount of disks in most use cases. | ||
+ | Note: The GUI requires one more disk than the minimum (i.e. dRAID1 needs 3). It expects that a spare disk is added as well. | ||
dRAID1 or dRAID: requires at least 2 disks, one can fail before data is lost | dRAID1 or dRAID: requires at least 2 disks, one can fail before data is lost | ||
Line 28: | Line 30: | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | We especially caution storage newbies to be careful with draid—it' | ||
+ | layout than a pool with traditional vdevs. The fast resilvering is fantastic—but draid takes a hit in | ||
+ | both compression levels and some performance scenarios due to its necessarily fixed-length stripes. | ||
+ | </ | ||
< | < | ||
Line 48: | Line 56: | ||
<code bash> | <code bash> | ||
- | zpool create backup draid1:2d < | + | zpool create backup draid1:2d:3c < |
</ | </ | ||
+ | Create DRAID with 1 parity and default redundancy (on 5 disks): | ||
+ | <code bash> | ||
+ | zpool create backup draid1:5c < | ||
+ | </ | ||