Re: Issues with btrfs send/receive with parents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux