From: Andrei Borzenkov <arvidjaar@gmail.com>
To: john terragon <jterragon@gmail.com>,
Zygo Blaxell <ce3g8jdj@umail.furryterror.org>
Cc: sys <system@lechevalier.se>, Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: hierarchical, tree-like structure of snapshots
Date: Thu, 31 Dec 2020 22:42:19 +0300 [thread overview]
Message-ID: <d151361d-5865-f537-ba59-41e1cd3eb8ab@gmail.com> (raw)
In-Reply-To: <CANg_oxw1Arpmkm+si_fUVzgEmVfF_UYy0Fc-d+AuMyK543W_Dw@mail.gmail.com>
31.12.2020 21:19, john terragon пишет:
> On Thu, Dec 31, 2020 at 6:28 PM Zygo Blaxell
> <ce3g8jdj@umail.furryterror.org> wrote:
>
>>
>> I think your confusion is that you are thinking of these as a tree.
>> There is no tree, each subvol is an equal peer in the filesystem.
>>
>> "send -p A B" just walks over subvol A and B and sends a diff of the
>> parts of B not in A. You can pick any subvol with -p as long as it's
>> read-only and present on the receiving side. Obviously it's much more
>> efficient if the two subvols have a lot of shared extents (e.g. because
>> B and A were both snapshots made at different times of some other subvol
>> C), but this is not required.
>
> Can you really use ANY subvol to use with -p. Because if I
>
> 1) create a subvol X
> 2) create a subvol W with the exact same content of X (but created
> independently)
How exactly you create subvolume with the same content? There are many
possible interpretations.
> 3) do a RO snap X_RO of X
> 4) do a RO snap W_RO of W
> 5) send W_RO to the other FS
Show actual command please.
> 6) send -p W_RO X_RO to the other FS
>
Again show full command please. Which include also receive command.
> I get this:
>
> At subvol X_RO
> At snapshot X_RO
> ERROR: chown o257-1648413-0 failed: No such file or directory
>
You get where? On source, on destination?
> any idea?
>
next prev parent reply other threads:[~2020-12-31 19:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-30 16:56 hierarchical, tree-like structure of snapshots john terragon
2020-12-30 17:03 ` john terragon
2020-12-30 17:24 ` sys
2020-12-30 17:39 ` john terragon
2020-12-31 7:05 ` Andrei Borzenkov
2020-12-31 10:00 ` Forza
2020-12-31 16:08 ` john terragon
2020-12-31 17:28 ` Zygo Blaxell
2020-12-31 18:19 ` john terragon
2020-12-31 19:42 ` Andrei Borzenkov [this message]
2020-12-31 20:48 ` john terragon
2020-12-31 21:36 ` Zygo Blaxell
2021-01-01 4:54 ` john terragon
2021-01-01 11:42 ` Andrei Borzenkov
2021-01-01 20:40 ` Andrei Borzenkov
2021-01-01 23:11 ` Zygo Blaxell
2021-01-02 9:25 ` Andrei Borzenkov
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=d151361d-5865-f537-ba59-41e1cd3eb8ab@gmail.com \
--to=arvidjaar@gmail.com \
--cc=ce3g8jdj@umail.furryterror.org \
--cc=jterragon@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=system@lechevalier.se \
/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