Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runs and then finishes immediately #26

Open
rxng opened this issue Jun 7, 2024 · 1 comment
Open

runs and then finishes immediately #26

rxng opened this issue Jun 7, 2024 · 1 comment

Comments

@rxng
Copy link

rxng commented Jun 7, 2024

running the command seems to succeed, but also immediate exists and does nothing. is there an error with split() takes no keyword arguments?

how can btrfs send and receive be instantaneous and not result in anything happening?

sudo ./btrfs-clone / /mnt/btrfsvol --verbose                                                                              
unsharing mount namespace
OLD btrfs d829ec00-0ae0-4466-b3bf-6faa103ee153 mounted on /tmp/tmpcCcC_m
NEW btrfs 1c0fabd8-bac3-418d-a792-5beb7f241668 mounted on /tmp/tmpw4vPo3
Create readonly snapshot of '/tmp/tmpcCcC_m' in '/tmp/tmpcCcC_m/84c5b7516507'
btrfs send -v /tmp/tmpcCcC_m/84c5b7516507 |
         btrfs receive -v /tmp/tmpw4vPo3
btrfs property set -f /tmp/tmpw4vPo3/84c5b7516507 ro false
btrfs subvolume delete /tmp/tmpw4vPo3/84c5b7516507
Delete subvolume 257 (no-commit): '/tmp/tmpw4vPo3/84c5b7516507'
Using cloning strategy GenerationStrategy
split() takes no keyword arguments
Delete subvolume 1984 (no-commit): '/tmp/tmpcCcC_m/84c5b7516507'

@mwilck
Copy link
Owner

mwilck commented Aug 12, 2024

btrfs-clone is a just driver script for btrfs send/receive. You can try using --verbose, but if anything goes wrong at that level (which basically means: kernel level), you may need to run the tools manually (you can obtain the command line params from btrfs-clone output) and inspect more closely what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants