Re: [PATCH v2] Btrfs: Check metadata redundancy on balance

2016-01-05 Thread David Sterba
On Tue, Dec 08, 2015 at 09:25:03AM +, sam tygier wrote: > Signed-off-by: Sam Tygier > > From: Sam Tygier > Date: Sat, 3 Oct 2015 16:43:48 +0100 > Subject: [PATCH] Btrfs: Check metadata redundancy on balance > > When converting a filesystem via balance check that metadata mode > is at least

[PATCH v2] Btrfs: Check metadata redundancy on balance

2015-12-08 Thread sam tygier
Resending as previous comments did not need any changes. Currently BTRFS allows you to make bad choices of data and metadata levels. For example -d raid1 -m raid0 means you can only use half your total disk space, but will loose everything if 1 disk fails. It should give a warning in these cases.

[PATCH v2] Btrfs: Check metadata redundancy on balance

2015-11-03 Thread sam tygier
Resending as previous comments did not need any changes. Currently BTRFS allows you to make bad choices of data and metadata levels. For example -d raid1 -m raid0 means you can only use half your total disk space, but will loose everything if 1 disk fails. It should give a warning in these cases.

Re: [PATCH v2] Btrfs: Check metadata redundancy on balance

2015-10-07 Thread sam tygier
On 05/10/15 03:33, Anand Jain wrote: > > Sam, > > On 10/03/2015 11:50 PM, sam tygier wrote: >> Currently BTRFS allows you to make bad choices of data and >> metadata levels. For example -d raid1 -m raid0 means you can >> only use half your total disk space, but will loose everything >> if 1 disk

Re: [PATCH v2] Btrfs: Check metadata redundancy on balance

2015-10-04 Thread Anand Jain
Sam, On 10/03/2015 11:50 PM, sam tygier wrote: Currently BTRFS allows you to make bad choices of data and metadata levels. For example -d raid1 -m raid0 means you can only use half your total disk space, but will loose everything if 1 disk fails. It should give a warning in these cases. Nice

[PATCH v2] Btrfs: Check metadata redundancy on balance

2015-10-03 Thread sam tygier
Currently BTRFS allows you to make bad choices of data and metadata levels. For example -d raid1 -m raid0 means you can only use half your total disk space, but will loose everything if 1 disk fails. It should give a warning in these cases. This patch is a follow up to [PATCH v2] btrfs-progs: che