From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Dave <davestechshop@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: ERROR: parent determination failed (btrfs send-receive)
Date: Mon, 18 Sep 2017 07:23:20 +0300 [thread overview]
Message-ID: <1fa167f4-a8ba-84c7-8e06-9c7e9f3d30e7@gmail.com> (raw)
In-Reply-To: <CAH=dxU7t=p8MVh1y2Tv7wPrP=1ntYcHCy7W6aBQGRtMp_gaaRA@mail.gmail.com>
18.09.2017 05:31, Dave пишет:
> Sometimes when using btrfs send-receive, I get errors like this:
>
> ERROR: parent determination failed for <subvolume name>
>
> When this happens, btrfs send-receive backups fail. And all subsequent
> backups fail too.
>
> The issue seems to stem from the fact that an automated cleanup
> process removes certain earlier subvolumes. (I'm using Snapper.)
>
> I'd like to understand exactly what is happening so that my backups do
> not unexpectedly fail.
>
You try to send incremental changes but you deleted subvolume to compute
changes against. It is hard to tell more without seeing subvolume list
with uuid/parent uuid.
> In my scenario, no parent subvolumes have been deleted from the
> target. Some subvolumes have been deleted from the source, but why
> does that matter? I am able to take a valid snapshot at this time and
> every snapshot ever taken continues to reside at the target backup
> destination (seemingly meaning that a parent subvolume can be found at
> the target).
>
> This issue seems to make btrfs send-receive a very fragile backup
> solution.
btrfs send/receive is not backup solution - it is low level tool that
does exactly what it is told to do. You may create backup solution that
is using btrfs send/receive to transfer data stream, but then do not
blame tool for incorrect usage.
To give better advice how to fix your situation you need to describe
your backup solution - how exactly you select/create snapshots.
I hope, instead, there is some knowledge I'm missing, that
> when learned, will make this a robust backup solution.
>
> Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2017-09-18 4:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 2:31 ERROR: parent determination failed (btrfs send-receive) Dave
2017-09-18 4:23 ` Andrei Borzenkov [this message]
2017-09-18 6:10 ` Dave
2017-09-18 8:45 ` Graham Cobb
2017-09-18 17:37 ` Andrei Borzenkov
2017-09-19 19:37 ` Andrei Borzenkov
2017-09-20 23:37 ` Dave
2017-09-19 6:52 ` Dave
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=1fa167f4-a8ba-84c7-8e06-9c7e9f3d30e7@gmail.com \
--to=arvidjaar@gmail.com \
--cc=davestechshop@gmail.com \
--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