[raidX vs single/dup]

2013-09-26 Thread miaou sami
Hi btrfs guys, could someone explain to me the differences in mkfs.btrfs: - between -d raid0 and -d single - between -m raid1 and -m dup - between -m raid0 and -m single My understanding is that raidX should be used in case of multi devices and single/dup should be used in case of single

Re: [raidX vs single/dup]

2013-09-26 Thread Hugo Mills
On Thu, Sep 26, 2013 at 12:22:49PM +, miaou sami wrote: Hi btrfs guys, could someone explain to me the differences in mkfs.btrfs: - between -d raid0 and -d single In RAID0, data is striped across all the devices, so the first 64k of a file will go on device 1, the next 64k will go

RE: [raidX vs single/dup]

2013-09-26 Thread miaou sami
? Regards, Sam Date: Thu, 26 Sep 2013 13:32:33 +0100 From: h...@carfax.org.uk To: miaous...@hotmail.com CC: linux-btrfs@vger.kernel.org Subject: Re: [raidX vs single/dup] On Thu, Sep 26, 2013 at 12:22:49PM +, miaou sami wrote: Hi btrfs guys, could

Re: [raidX vs single/dup]

2013-09-26 Thread Hugo Mills
Date: Thu, 26 Sep 2013 13:32:33 +0100 From: h...@carfax.org.uk To: miaous...@hotmail.com CC: linux-btrfs@vger.kernel.org Subject: Re: [raidX vs single/dup] On Thu, Sep 26, 2013 at 12:22:49PM +, miaou sami wrote: Hi btrfs guys, could

Re: [raidX vs single/dup]

2013-09-26 Thread Hugo Mills
Date: Thu, 26 Sep 2013 14:46:05 +0100 From: h...@carfax.org.uk To: miaous...@hotmail.com CC: linux-btrfs@vger.kernel.org Subject: Re: [raidX vs single/dup] On Thu, Sep 26, 2013 at 01:40:57PM +, miaou sami wrote: Thank you, it is quite clear now. I guess that on multi

RE: [raidX vs single/dup]

2013-09-26 Thread miaou sami
Date: Thu, 26 Sep 2013 13:32:33 +0100 From: h...@carfax.org.uk To: miaous...@hotmail.com CC: linux-btrfs@vger.kernel.org Subject: Re: [raidX vs single/dup] On Thu, Sep 26, 2013 at 12:22:49PM +, miaou sami wrote: Hi btrfs guys, could someone explain