From: Andrei Borzenkov <arvidjaar@gmail.com>
To: "René Fricke-Müller" <rene.fricke94@gmail.com>,
linux-btrfs@vger.kernel.org
Subject: Re: Error when using btrfs subvolume snapshot & send | receive
Date: Wed, 13 May 2020 19:11:55 +0300 [thread overview]
Message-ID: <fa8e7847-8603-1f50-a105-af7989dd5f0e@gmail.com> (raw)
In-Reply-To: <57021127-01ea-6533-6de6-56c4f22c4a5b@gmail.com>
13.05.2020 15:16, René Fricke-Müller пишет:
> Hello,
>
> I have some trouble using btrfs snapshots on Ubuntu 19.10.
>
> I am creating snapshots of my /-subvolume and use send | receive for
> incremental transferring. Sometimes I get errors like "ERROR: cannot
> open /media/Backup/OS/snapshots/snap_2020-05-13_11:39/o13170-19818-0: No
> such file or directory"
>
You did not say whether error is on source or destination side.
> When I look deeper with the -v option, it seems like btrfs is creating a
> folder or something, moves it and then tries to rename the original folder.
>
Still unclear whether it is send or receive.
> The error occures on different devices, but only when I make snapshots
> of the root of my os subvolume. The error occures only from time to time
> (perhaps every 5th to 15th snapshot) the only solution to send a new
> snapshot complete and then send incremental snapshots.
>
> I tried different kernels:
> Currently I am using 5.3.0-51-generic on one device but also tried 5.5
> and 5.6.11.
>
> I found this topic on github, where some people have the same errors.
> (but I am using an own script, not that program)
>
> https://github.com/digint/btrbk/issues/223
> <https://github.com/digint/btrbk/issues/223>
>
This describes error on destination. Such errors are indications that
btrfs finds wrong base snapshot to apply changes to. Does your source
subvolume has received UUID by any chance?
Output of
btrfs subvolume show <source>
btrfs subvolume show <target>
would be interesting.
>
> Can you confirm this error and/or help me?
>
>
> Kind Regards
>
> René
prev parent reply other threads:[~2020-05-13 16:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 12:16 Error when using btrfs subvolume snapshot & send | receive René Fricke-Müller
2020-05-13 16:11 ` Andrei Borzenkov [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=fa8e7847-8603-1f50-a105-af7989dd5f0e@gmail.com \
--to=arvidjaar@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=rene.fricke94@gmail.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 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).