* warnings for silly/pointless raid levels
@ 2012-10-28 22:20 sam tygier
2012-10-29 6:21 ` Chris Murphy
0 siblings, 1 reply; 2+ messages in thread
From: sam tygier @ 2012-10-28 22:20 UTC (permalink / raw)
To: linux-btrfs
Hi,
I recently got into a stick situation because i had a btrfs volume with data in raid1 but metadata as dup. when i removed one of the drives i could not mount as degraded. This was my error as i did not convert the metadata when i converted it from a single/dup volume.
But i wonder if there should be a warning for raid combinations that are probably mistakes. raid1/dup, provides no protection against a failed disk, but uses as much space as if it did. so maybe the tools could have refused to allow it without a --force.
sam
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: warnings for silly/pointless raid levels
2012-10-28 22:20 warnings for silly/pointless raid levels sam tygier
@ 2012-10-29 6:21 ` Chris Murphy
0 siblings, 0 replies; 2+ messages in thread
From: Chris Murphy @ 2012-10-29 6:21 UTC (permalink / raw)
To: linux-btrfs@vger.kernel.org
On Oct 28, 2012, at 4:20 PM, sam tygier <samtygier@yahoo.co.uk> wrote:
> Hi,
> I recently got into a stick situation because i had a btrfs volume with data in raid1 but metadata as dup. when i removed one of the drives i could not mount as degraded. This was my error as i did not convert the metadata when i converted it from a single/dup volume.
>
> But i wonder if there should be a warning for raid combinations that are probably mistakes. raid1/dup, provides no protection against a failed disk, but uses as much space as if it did. so maybe the tools could have refused to allow it without a --force.
I think the argument I've read recently, is that an automatic "upgrade" of metadata to raid1 in this case is desired. I'd like to see metadata upgraded to raid1 when a 2nd disk is added in any case, by default. In data raid0 or single, I'm probably hosed with one drive failures, but maybe I can get some fragments off the drive if I have metadata. Is there a downside? I don't think so because the default metadata profile for multiple device mkfs is raid1 in any case.
Chris Murphy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-29 6:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28 22:20 warnings for silly/pointless raid levels sam tygier
2012-10-29 6:21 ` Chris Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).