From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs-tools: missing device delete/remove cancel option on disk failure
Date: Sun, 8 May 2016 21:37:59 +0000 (UTC) [thread overview]
Message-ID: <pan$43d44$2d1fc8ff$93e7f634$4b47af35@cox.net> (raw)
In-Reply-To: fb65d9d2-3ac9-a155-af13-62fe8d41a49b@chefmail.de
g6094199 posted on Sun, 08 May 2016 13:53:41 +0200 as excerpted:
> now i need some advice what to do next....best practice wise? try to
> mount degraded and copy off all data? then i will net at least 9TB of
> new storage... :-(
Well, even in general, regardless of the filesystem or what it's stored
on, the sysadmin's rule of backups, in simple form, says if it's not
backed up to at least one level, you are by your lack of backup defining
the data as worth less than the time, trouble and resources necessary to
do that backup.
And btrfs, being still stabilizing, not yet fully stable, reinforces that
rule. I know nobody around here that would recommend usage of btrfs in
any mode without backups, unless the data on it is truly of trivial
value, testing only and not worth backing up.
And btrfs parity-raid, raid56 mode, which you're using as you reported
raid5 (I'm assuming btrfs raid5 here), is new and not yet as stable as
btrfs is in general, with at least two known bugs related to recovery
from loss of device, making it for purposes of recovery planning raid0.
Nobody I know is even recommending that for production use even with
backups at this point. It's recommended only for testing, not for in-use
deployment unless you really /are/ prepared to be scrapping it and
starting over more or less constantly.
And of course the only way you couldn't know that before starting is if
you didn't care enough about the stability of your data to do your
research on the filesystem you were choosing in the first place, which
would again point to the data simply not being worth enough to care about.
Which means if that data wasn't already backed up, you were already
defining it as trivial testing data, and the only reason you may have for
trying to recover it is to test the recovery procedures. Otherwise,
consider it a loss and blow it away with a new badblocks or mkfs, ready
for a new test, as you were already declaring the data as testing data,
not worth trying to recover, by storing it on btrfs parity raid, which is
known to be recommended only for testing with already backed up or
trivial value data you plan on losing, at this point.
So you don't need 9 TB of new storage, because either you already have it
available and are using it for the backup you already have, or you had
already demonstrated in multiple different ways that the data was really
of only trivial value to you, so you can simply blow away the existing
broken filesystem and simply start over with a new test. Words can claim
otherwise, but actions don't lie. 8^0
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
prev parent reply other threads:[~2016-05-08 21:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-07 9:39 btrfs-tools: missing device delete/remove cancel option on disk failure g6094199
2016-05-08 0:54 ` Martin
2016-05-08 11:53 ` g6094199
2016-05-08 15:35 ` Chris Murphy
2016-05-08 21:37 ` Duncan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='pan$43d44$2d1fc8ff$93e7f634$4b47af35@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).