Linux-BTRFS Archive on lore.kernel.org
 help / color / Atom feed
From: Eric Mesa <eric@ericmesa.com>
To: Andrei Borzenkov <arvidjaar@gmail.com>
Cc: Chris Murphy <lists@colorremedies.com>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Issues with btrfs send/receive with parents
Date: Tue, 11 Jun 2019 00:19:18 -0400
Message-ID: <2008850.MjMmxLcJHu@supermario.mushroomkingdom> (raw)
In-Reply-To: <9d9f4b67-57c1-2003-8e15-52e8460c3c9d@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5270 bytes --]

On Monday, June 10, 2019 11:39:53 PM EDT Andrei Borzenkov wrote:
> 11.06.2019 4:10, Chris Murphy пишет:
> > It's most useful if you show exact commands because actually it's not
> > always obvious to everyone what the logic should be and the error
> > handling doesn't always stop a user from doing something that doesn't
> > make a lot of sense. We need to know the name of the rw subvolume; the
> > command to snapshot it; the full send/receive command for that first
> > snapshot; the command for a subsequent snapshot; and the command to
> > incrementally send/receive it.
> 
> And the actual output of each command, not description what user thinks
> has happened.

Here is a new session where I'll capture everything - well, on the defrag I'll 
do a snip.

#btrfs fi defrag -v -r /home/

...there follows a list of files that just scrolls infinitely....
/home/ermesa/.dropbox-dist/dropbox-lnx.x86_64-74.4.115/_bisect.cpython-37m-
x86_64-linux-gnu.so
/home/ermesa/.dropbox-dist/dropbox-lnx.x86_64-74.4.115/
tornado.speedups.cpython-37m-x86_64-linux-gnu.so
/home/ermesa/.bash_history
total 1 failures

# sync

# btrfs sub snap -r /home/ /home/.snapshots/2019-06-10-2353
Create a readonly snapshot of '/home/' in '/home/.snapshots/2019-06-10-2353'

# btrfs send -vvv -p /home/.snapshots/2019-06-10-1718/ /home/.snapshots/
2019-06-10-2353/ | ssh root@tanukimario btrfs receive /media/backups/backups1/
supermario-home
At subvol /home/.snapshots/2019-06-10-2353/
ERROR: link ermesa/.mozilla/firefox/n35gu0fb.default/bookmarkbackups/
bookmarks-2019-06-10_679_I1bs5PtgsPwtyXvcvcRdSg==.jsonlz4 -> ermesa/.mozilla/
firefox/n35gu0fb.default/bookmarkbackups/
bookmarks-2019-06-09_679_I1bs5PtgsPwtyXvcvcRdSg==.jsonlz4 failed: No such file 
or directory

Same error as before. So I go to tanukimario and del the errored subvol. Let 
me try with -vvv on the receive as well. Well, that produces a ridiculous 
scrolling list that I can't possible capture. Perhaps just -v? No, that's the 
same. So then I tried this command:

# btrfs send -vvv -p /home/.snapshots/2019-06-10-1718/ /home/.snapshots/
2019-06-10-2353/ | ssh root@tanukimario btrfs receive -vvv /media/backups/
backups1/supermario-home > receive.log

But my bash-fu was bad and it didn't put anything into the log other than "At 
snapshot..." So yeah....

What scrolled on my screen ended like this:


write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
32C1CAC72D7CACC3630A470C6622283DA500617A - offset=540672 length=49152
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
32C1CAC72D7CACC3630A470C6622283DA500617A - offset=589824 length=49152
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
32C1CAC72D7CACC3630A470C6622283DA500617A - offset=638976 length=49152
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
32C1CAC72D7CACC3630A470C6622283DA500617A - offset=688128 length=34158
utimes ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
32C1CAC72D7CACC3630A470C6622283DA500617A
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
DC0F9B96CE8C66CE51826341395D9B8805053D05 - offset=0 length=49152
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
DC0F9B96CE8C66CE51826341395D9B8805053D05 - offset=49152 length=49152
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
DC0F9B96CE8C66CE51826341395D9B8805053D05 - offset=98304 length=49152
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
DC0F9B96CE8C66CE51826341395D9B8805053D05 - offset=147456 length=49152
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
DC0F9B96CE8C66CE51826341395D9B8805053D05 - offset=196608 length=11390
utimes ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
DC0F9B96CE8C66CE51826341395D9B8805053D05
unlink ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
FEFC32BF08374B9F91B5B002FF51DF3DFB21B667
utimes ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
177BF2896EEBDB17A538A6ACB13C62925D0E84CA - offset=0 length=12280
utimes ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
177BF2896EEBDB17A538A6ACB13C62925D0E84CA
write ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
A0BC2B69D3EACA6005AFF72A4EC168ECC4DFC764 - offset=0 length=220
utimes ermesa/.cache/mozilla/firefox/n35gu0fb.default/cache2/entries/
A0BC2B69D3EACA6005AFF72A4EC168ECC4DFC764
unlink ermesa/.cache/ksycoca5_en_cJ+y22ar1ZzIcHsefGXiujDwk34=
unlink ermesa/.cache/ksycoca5
utimes ermesa/.cache
utimes ermesa/.cache
link ermesa/.mozilla/firefox/n35gu0fb.default/bookmarkbackups/
bookmarks-2019-06-10_679_I1bs5PtgsPwtyXvcvcRdSg==.jsonlz4 -> ermesa/.mozilla/
firefox/n35gu0fb.default/bookmarkbackups/
bookmarks-2019-06-09_679_I1bs5PtgsPwtyXvcvcRdSg==.jsonlz4
ERROR: link ermesa/.mozilla/firefox/n35gu0fb.default/bookmarkbackups/
bookmarks-2019-06-10_679_I1bs5PtgsPwtyXvcvcRdSg==.jsonlz4 -> ermesa/.mozilla/
firefox/n35gu0fb.default/bookmarkbackups/
bookmarks-2019-06-09_679_I1bs5PtgsPwtyXvcvcRdSg==.jsonlz4 failed: No such file 
or directory

--
Eric Mesa

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply index

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 23:56 Eric Mesa
2019-06-11  1:10 ` Chris Murphy
2019-06-11  3:39   ` Andrei Borzenkov
2019-06-11  4:19     ` Eric Mesa [this message]
2019-06-12  5:43       ` Andrei Borzenkov
2019-06-12 23:03         ` Eric Mesa
2019-06-12 23:11           ` Eric Mesa
2019-06-13  6:26           ` Andrei Borzenkov
2019-06-13 21:22             ` Eric Mesa
2019-06-14  3:55               ` Chris Murphy
2019-07-14 20:59                 ` Eric Mesa
2019-06-18  4:15               ` Andrei Borzenkov
2019-06-11  3:47   ` Eric Mesa
2019-06-11  1:11 ` Remi Gauvin

Reply instructions:

You may reply publically 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=2008850.MjMmxLcJHu@supermario.mushroomkingdom \
    --to=eric@ericmesa.com \
    --cc=arvidjaar@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.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

Linux-BTRFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-btrfs/0 linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ https://lore.kernel.org/linux-btrfs \
		linux-btrfs@vger.kernel.org linux-btrfs@archiver.kernel.org
	public-inbox-index linux-btrfs


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-btrfs


AGPL code for this site: git clone https://public-inbox.org/ public-inbox