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

ken.ide at abelia.ocn.ne.jp ken.ide at abelia.ocn.ne.jp
Thu Jun 7 08:48:46 UTC 2018

Dear Peter

Thanks a lot.

Ken, Ide

----- 元のメッセージ -----
From: "Peter Tribble" <peter.tribble at gmail.com>
宛先: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
送信済み: 2018年6月6日, 水曜日 午後 11:41:23
件名: Re: [OpenIndiana-discuss] Where in the disk the parity stores, RAID-Z, RAIDZ2


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/
openindiana-discuss mailing list
openindiana-discuss at openindiana.org

More information about the openindiana-discuss mailing list