From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Graham Cobb <g.btrfs@cobb.uk.net>, Dave <davestechshop@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: ERROR: parent determination failed (btrfs send-receive)
Date: Mon, 18 Sep 2017 20:37:47 +0300 [thread overview]
Message-ID: <64e21116-b78b-ae02-dab1-127dc861d266@gmail.com> (raw)
In-Reply-To: <bf5202e0-d2f9-4383-fc1d-42a432eb1a8e@cobb.uk.net>
18.09.2017 11:45, Graham Cobb пишет:
> On 18/09/17 07:10, Dave wrote:
>> For my understanding, what are the restrictions on deleting snapshots?
>>
>> What scenarios can lead to "ERROR: parent determination failed"?
>
> The man page for btrfs-send is reasonably clear on the requirements
> btrfs imposes. If you want to use incremental sends (i.e. the -c or -p
> options) then the specified snapshots must exist on both the source and
> destination. If you don't have a suitable existing snapshot then don't
> use -c or -p and just do a full send.
>
Well, I do not immediately see why -c must imply incremental send. We
want to reduce amount of data that is transferred, so reuse data from
existing snapshots, but it is really orthogonal to whether we send full
subvolume or just changes since another snapshot.
>> I use snap-sync to create and send snapshots.
>>
>> GitHub - wesbarnett/snap-sync: Use snapper snapshots to backup to external drive
>> https://github.com/wesbarnett/snap-sync
>
> I am not familiar with this tool. Your question should be sent to the
> author of the tool, if that is what is deciding what -p and -c options
> are being used.
>
I am not sure how it could come to this error. I looked on more or less
default installation of openSUSE here and all snapper snapshots have as
parent UUID the subvolume that is mounted as root (by default only one
configuration for root subvolume exists). So it is not possible to
remove this subvolume, unless some rollback to another snapshot was
performed.
next prev parent reply other threads:[~2017-09-18 17:37 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
2017-09-18 6:10 ` Dave
2017-09-18 8:45 ` Graham Cobb
2017-09-18 17:37 ` Andrei Borzenkov [this message]
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=64e21116-b78b-ae02-dab1-127dc861d266@gmail.com \
--to=arvidjaar@gmail.com \
--cc=davestechshop@gmail.com \
--cc=g.btrfs@cobb.uk.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