From: Marc MERLIN <marc@merlins.org>
To: Chris Murphy <lists@colorremedies.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: BTRFS: error (device dm-2) in btrfs_run_delayed_refs:2960: errno=-17 Object already exists
Date: Tue, 11 Jul 2017 16:04:19 -0700 [thread overview]
Message-ID: <20170711230419.GR30689@merlins.org> (raw)
In-Reply-To: <CAJCQCtSYJqa=nJA0w+yiHvwzdiWF51PmrfUPGVUjm1MwbiNZaQ@mail.gmail.com>
On Tue, Jul 11, 2017 at 04:43:06PM -0600, Chris Murphy wrote:
> Assuming it works, settle on 4.9 until 4.14 shakes out a bit. Given
> your setup and the penalty for even small problems, it's probably
> better to go low risk and that means longterm kernels. Maybe one of
> the three systems can use a newer kernel just to make sure you're
> regressions, if any, are contained, but otherwise avoid all eggs in
> one basket approach.
That's indeed what I was considering doing.
I guess I got complacent/too trusting after btrfs had worked for me without
real problems for over a year (maybe close to 2?)
My laptop had to be upgraded to 4.11 due to a kernel issue with nvme drives
that made any kernel before that hang on S3 sleep.
But my server can be on anything, and it seems that I'm going to leave it in
4.9 for a while indeed, even if it had been happily on 4.8 for a long time
(but given this snapshot rotation bug that caused it to remount a perfectly
good filesystem, as read only, I indeed just moved it to 4.9.36)
> Another option is cutting down the size of the array and going with a
> gluster or ceph approach so the rebuilds aren't so hideously invasive.
Right, it's just personal stuff, I don't want the management to be
ridiculously high for something that ought to be simple.
I only have 2 raid5 arrays of 5 drives each (when back in the day, I
remember building a 26 drive array with SCSI SCA drives in 3 disk shelves
for a total of 2TB, woot!)
I don't really want to artificially cut that raid5 in smaller filesystem by
adding yet another layer like LVM and then concatenate several smaller btrfs
filesystems.
I know I might be a bit stubborn here, but only 4 data drives, it should be
considered small enough, even if the drives are not super small.
> You could also optionally use a different storage layout and file
> system for a small subset of the bricks, either XFS on LVM RAID or
Yes, basically instead of having one media array and one backup array, I can
make multiple ones, and then take the penalty of moving data across them.
Been there in the past, don't really want to go back :-/
But as you said, there is no magic answer outside not having filesystems
that get corrupted so easily. I did have one flaky SAS card that did
probably slightly damage one of my arrays, but the other 2 (and the
filesystem on my laptop) don't have that hardware excuse.
Anyway, while it's not very helpful to the btrfs project, 4.9.36 seems like
indeed what's best for me for now.
Thanks for the replies.
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
next prev parent reply other threads:[~2017-07-11 23:04 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-11 6:21 BTRFS: error (device dm-2) in btrfs_run_delayed_refs:2960: errno=-17 Object already exists Marc MERLIN
2017-07-11 16:00 ` Chris Murphy
2017-07-11 16:48 ` Marc MERLIN
2017-07-11 22:43 ` Chris Murphy
2017-07-11 23:04 ` Marc MERLIN [this message]
2017-07-13 1:10 ` Marc MERLIN
2017-07-13 18:17 ` Chris Murphy
2017-07-15 0:48 ` Marc MERLIN
2017-07-15 1:22 ` BTRFS: error (device dm-2) in btrfs_run_delayed_refs:2960: errno=-17 Object already exists (since 3.4 / 2012) Marc MERLIN
2017-07-15 23:12 ` Marc MERLIN
2017-07-16 14:01 ` Giuseppe Della Bianca
2017-07-16 16:06 ` Marc MERLIN
2017-07-17 11:05 ` gius db
2017-08-29 3:16 ` Marc MERLIN
2017-08-29 14:30 ` Josef Bacik
2017-08-29 14:39 ` Marc MERLIN
2017-08-29 14:43 ` Josef Bacik
2017-08-29 18:22 ` Josef Bacik
2017-08-30 3:40 ` Marc MERLIN
2017-08-31 14:52 ` Josef Bacik
2017-08-31 17:36 ` Marc MERLIN
2017-08-31 17:48 ` Josef Bacik
2017-09-01 20:43 ` Marc MERLIN
2017-09-01 23:01 ` Josef Bacik
2017-09-02 16:09 ` Marc MERLIN
2017-09-02 16:52 ` Josef Bacik
[not found] ` <CAHKv19A=OVgCpQpDL2454T+f8QgLm9iynA8xZ4w4Kg8JjYS=UA@mail.gmail.com>
2017-09-02 18:55 ` Fwd: " George Joseph
2017-09-02 23:53 ` Marc MERLIN
2017-09-03 0:30 ` Josef Bacik
2017-09-03 1:01 ` Marc MERLIN
2017-09-03 3:26 ` Josef Bacik
2017-09-03 14:31 ` Marc MERLIN
2017-09-03 14:38 ` Josef Bacik
2017-09-03 14:42 ` Marc MERLIN
2017-09-03 14:55 ` Josef Bacik
2017-09-03 17:33 ` Josef Bacik
2017-09-03 20:20 ` Marc MERLIN
2017-09-04 0:55 ` Josef Bacik
2017-09-05 18:19 ` Josef Bacik
2017-09-09 18:39 ` Marc MERLIN
2017-09-09 22:56 ` Josef Bacik
2017-09-10 2:36 ` Marc MERLIN
2017-09-10 3:12 ` Josef Bacik
2017-09-10 13:14 ` Marc MERLIN
2017-09-10 13:16 ` Josef Bacik
2017-09-11 0:22 ` Marc MERLIN
2017-09-27 18:01 ` Marc MERLIN
-- strict thread matches above, loose matches on Subject: below --
2017-08-31 11:14 BTRFS: error (device dm-2) in btrfs_run_delayed_refs:2960: errno=-17 Object already exists George Joseph
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=20170711230419.GR30689@merlins.org \
--to=marc@merlins.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.