Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] btrfs



On Mon, Feb 25, 2013 at 10:53:28AM -0500, Derek Atkins wrote:
> Dan Ritter <dsr at randomstring.org> writes:
> 
> >>   mkfs.btrfs -d raid1 /dev/sda /dev/sdb /dev/sdc /dev/sdd
> >> 
> >> It this going to be more like raid10?
> >
> > No, that's still RAID1: two copies of every file, no striping.
> > If you want striping+mirroring, turn on -d RAID10. 
> 
> How is it still raid1?  Maybe my definitions and your definitions are
> different here.  Let's say that each device is 1TB.  If I have 2, then
> obiously I only have 1TB of storage because each extent is duplicated on
> both drives.  However if I have 4 drives, you imply I get 2TB of storage
> (because still, each extent is mirrored on two drives).  But what I
> don't understand is how is this not effectively "raid 10"?  You're
> combining storage from multiple drives into a single filesystem larger
> than the mirrored drives.


linear is concatenation: after you fill the first disk, fill the
second... 

raid 0 is striping: split the data and write parts to all disks
at once. 

the n>2 raid1 is essentially mirror + linear.

raid10 is mirror + striping.

-dsr-



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org