[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
Hi,
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
represent
the layout of data and parity in this article:
https://www.delphix.com/blog/delphix-engineering/zfs-raidz-stripe-width-or-how-i-learned-stop-worrying-and-love-raidz
> 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):
https://github.com/illumos/illumos-gate/commit/b1c760bd3306ff30af69800801f30f3dd4b6394e
--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list