[Discuss] On Btrfs raid and odd-count disks

Derek Atkins warlord at MIT.EDU
Wed Apr 10 12:00:14 EDT 2013


Richard Pieri <richard.pieri at gmail.com> writes:

> On 4/10/2013 11:00 AM, Derek Atkins wrote:
>> Is there a way to set up btrfs such that it can suvive a failure of any
>> two disks in the array (ala raid6 or raid-z2)?
>
> Btrfs currently does not do n-way replication. It's in the works along
> with raid5/6.
>
> It is possible to layer Btrfs on dm-raid and mdadm devices. You can
> build ZFS-like subdevices as RAID1 or RAID5/6 and use these metadevices
> to create your Btrfs volumes.

Sure, but then you're subject to the raid5 write hole (and I think raid6
is also subject).  I'm trying to avoid that by using a raiding
filesystem like ZFS or BTRFS.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the Discuss mailing list