Updated dRAID HOWTO (markdown)

Isaac Huang 2017-03-09 12:15:46 -07:00
parent f00620cd5b
commit ae8f512e44
1 changed files with 3 additions and 1 deletions

@ -26,11 +26,13 @@ Parity declustering (the fancy term for shuffling drives) has been an active res
# Use dRAID
First get the code here, build, and install. Then load the zfs kernel module with the following options:
First get the code [here](https://github.com/zfsonlinux/zfs/pull/5841), build spl and zfs with _configure --enable-debug_, and install. Then load the zfs kernel module with the following options:
* zfs_vdev_raidz_impl="original": This option is **required** for correctness. The dRAID code uses the raidz parity functions (generation, and reconstruction) but needs a small change. Currently the change has been made only to the original raidz parity functions, i.e. not the new HW-accelerated ones, so this option is required for now.
* zfs_vdev_scrub_min_active=8 zfs_vdev_scrub_max_active=10 zfs_vdev_async_write_min_active=8: These options help dRAID rebuild performance.
* draid_debug_lvl=5: This option controls the verbosity level of dRAID debug traces, which is very useful for troubleshooting.
Again, very important to _configure_ both spl and zfs with _--enable-debug_.
## Create a dRAID vdev
Unlike a raidz vdev, before a dRAID vdev can be created, a configuration file must be created with the _draidcfg_ command: