[OpenIndiana-discuss] Where in the disk the parity stores, RAID-Z, RAIDZ2

Peter Tribble peter.tribble at gmail.com
Wed Jun 6 14:41:23 UTC 2018


I want to write driver to use in ZFS environment.
> Could anybody told me The parity bits (RAIDZ,RAIDZ2) places.
> Does the FS'es has own its region or continuously?

It's distributed, and not constant width. There's a helpful picture to
the layout of data and parity in this article:


> And when I get sources and build environment in my sandbox,
> I will start try from /dev/null, Someone told me it locates?

One of the simplest recent driver additions was /dev/full, which might
be worth taking a look at (and it shows that most of the work wasn't
actually in driver code):


-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

More information about the openindiana-discuss mailing list