I'm trying to create a btrfs file system on 2 disks but it shows an error:
$ sudo mkfs.btrfs -d single /dev/sda1 /dev/sde1 1 ↵ btrfs-progs v5.1 See http://btrfs.wiki.kernel.org for more information. ERROR: skipping duplicate device /dev/sde1 in the filesystem ERROR: not enough free space to allocate chunk
I have no idea what causes this error. It is very strange since creating it on single disks works fine, but not on 2 disks.
The disks are 2TB each so surely have enough space.
The operating system is freshly updated, to 5.1.6-arch1-1-ARCH.
FYI this is under vmware in a Arch Linux guest.