I have remoted into my DIY NAS, and have run:

sudo btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt/tank

However, from some napkin math, it will take about a week to complete from the data from:

sudo btrfs balance status /mnt/tank

As I didn't run the btrfs balance start operation with --bg, how can I move it to the background now?

I have tried Ctrl + Z as well as entering disown, both to no avail.

I have also checked the documentation on btrfs balance pause, however btrfs balance resume does not have a --bg flag it seems.

How should I proceed?


Your two best options are probably to login again with ssh and either:

  1. btrfs cancel the btrfs balance command and run it again in with --bg, or

  2. pause it, run tmux, and resume it in tmux (or use screen instead of tmux).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.