* btrfs receive: could not find parent subvolume
@ 2014-09-18 15:27 Marc MERLIN
2014-09-18 15:39 ` Hugo Mills
0 siblings, 1 reply; 3+ messages in thread
From: Marc MERLIN @ 2014-09-18 15:27 UTC (permalink / raw)
To: linux-btrfs
While debugging a btrfs send/receive slow problem, I now getting this:
legolas:/mnt/btrfs_pool1# btrfs send -p tmp_ggm_daily_ro.20140917_06:29:58 tmp_ggm_daily_ro.20140918_02:48:24 | ssh gargamel btrfs receive -v /mnt/btrfs_pool2/backup/debian64/legolas
At subvol tmp_ggm_daily_ro.20140918_02:48:24
At snapshot tmp_ggm_daily_ro.20140918_02:48:24
receiving snapshot tmp_ggm_daily_ro.20140918_02:48:24 uuid=5d1f0454-1be3-b648-9ea5-dc427cd62d98, ctransid=310713 parent_uuid=d86e69bf-e17f-7f4c-bfb7-e571d5824687, parent_ctransid=308332
ERROR: could not find parent subvolume
The parent is there on the other side, but UUID is different:
gargamel:/mnt/btrfs_pool2/backup/debian64/legolas# btrfs subvolume show tmp_ggm_daily_ro.20140917_06:29:58
/mnt/btrfs_pool2/backup/debian64/legolas/tmp_ggm_daily_ro.20140917_06:29:58
Name: tmp_ggm_daily_ro.20140917_06:29:58
uuid: 3d424a2b-69da-244c-bfcc-c283f9cc1f34
Parent uuid: 05d3b9be-bfe2-bb4a-9f6a-64b9d44896c7
Creation time: 2014-09-17 06:30:01
Object ID: 7873
Generation (Gen): 83621
Gen at creation: 83476
Parent: 263
Top Level: 263
Flags: -
Snapshot(s):
Now it seems that the UUID is different on all my snapshots created by
btrfs send, so maybe it doesn't match UUID?
Given that, what is btrfs receive using to get a match?
Thanks,
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/ | PGP 1024R/763BE901
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs receive: could not find parent subvolume
2014-09-18 15:27 btrfs receive: could not find parent subvolume Marc MERLIN
@ 2014-09-18 15:39 ` Hugo Mills
2014-09-18 16:07 ` Marc MERLIN
0 siblings, 1 reply; 3+ messages in thread
From: Hugo Mills @ 2014-09-18 15:39 UTC (permalink / raw)
To: Marc MERLIN; +Cc: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]
On Thu, Sep 18, 2014 at 08:27:18AM -0700, Marc MERLIN wrote:
> While debugging a btrfs send/receive slow problem, I now getting this:
> legolas:/mnt/btrfs_pool1# btrfs send -p tmp_ggm_daily_ro.20140917_06:29:58 tmp_ggm_daily_ro.20140918_02:48:24 | ssh gargamel btrfs receive -v /mnt/btrfs_pool2/backup/debian64/legolas
> At subvol tmp_ggm_daily_ro.20140918_02:48:24
> At snapshot tmp_ggm_daily_ro.20140918_02:48:24
> receiving snapshot tmp_ggm_daily_ro.20140918_02:48:24 uuid=5d1f0454-1be3-b648-9ea5-dc427cd62d98, ctransid=310713 parent_uuid=d86e69bf-e17f-7f4c-bfb7-e571d5824687, parent_ctransid=308332
> ERROR: could not find parent subvolume
>
> The parent is there on the other side, but UUID is different:
> gargamel:/mnt/btrfs_pool2/backup/debian64/legolas# btrfs subvolume show tmp_ggm_daily_ro.20140917_06:29:58
> /mnt/btrfs_pool2/backup/debian64/legolas/tmp_ggm_daily_ro.20140917_06:29:58
> Name: tmp_ggm_daily_ro.20140917_06:29:58
> uuid: 3d424a2b-69da-244c-bfcc-c283f9cc1f34
> Parent uuid: 05d3b9be-bfe2-bb4a-9f6a-64b9d44896c7
> Creation time: 2014-09-17 06:30:01
> Object ID: 7873
> Generation (Gen): 83621
> Gen at creation: 83476
> Parent: 263
> Top Level: 263
> Flags: -
> Snapshot(s):
>
> Now it seems that the UUID is different on all my snapshots created by
> btrfs send, so maybe it doesn't match UUID?
>
> Given that, what is btrfs receive using to get a match?
There's a "recieved UUID" field on each subvolume. I posted a patch
to userspace a couple of weeks ago which adds a -R option to show it.
I don't think it's filtered through David's backlog yet.
Hugo.
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- "I will not be pushed, filed, stamped, indexed, briefed, ---
debriefed or numbered. My life is my own."
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs receive: could not find parent subvolume
2014-09-18 15:39 ` Hugo Mills
@ 2014-09-18 16:07 ` Marc MERLIN
0 siblings, 0 replies; 3+ messages in thread
From: Marc MERLIN @ 2014-09-18 16:07 UTC (permalink / raw)
To: Hugo Mills, linux-btrfs
On Thu, Sep 18, 2014 at 04:39:34PM +0100, Hugo Mills wrote:
> > Now it seems that the UUID is different on all my snapshots created by
> > btrfs send, so maybe it doesn't match UUID?
> >
> > Given that, what is btrfs receive using to get a match?
>
> There's a "recieved UUID" field on each subvolume. I posted a patch
> to userspace a couple of weeks ago which adds a -R option to show it.
> I don't think it's filtered through David's backlog yet.
Ah, thanks for that.
Now I wonder why the parent read only snapshot with the same name
on both sides (created by btrfs send) suddenly have a UUID mismatch.
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/ | PGP 1024R/763BE901
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-18 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 15:27 btrfs receive: could not find parent subvolume Marc MERLIN
2014-09-18 15:39 ` Hugo Mills
2014-09-18 16:07 ` Marc MERLIN
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).