Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to convert a 2 drive btrfs array on Ubuntu 12.04 to use RAID1. Following the instructions on the btrfs wiki I've tried this command, with no success:

valorin@gimli:~$ sudo btrfs filesystem balance start -dconvert=raid1 -mconvert=raid1 /
ERROR: 'filesystem balance' requires 1 arg(s)

I've checked for documentation, but I can't seem to find any documentation for this command.

Any ideas what I'm doing wrong?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

To use the extra arguments with the balance command, you need to install a newer version of btrfs-tools than is available for Ubuntu 12.04.

It's pretty easy (see first answer) to compile a new version of btrfs-tools from the btrfs git repo. There are also binary packages from Debian sid or Ubuntu 12.10 that might work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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