Failed to create pool

Error running a command. cmd = /usr/sbin/mkfs.btrfs -f -d raid1 -m raid1 -L RockStor-1 /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K1VCXCS9 /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K6CUEKAV. rc = 1. stdout = ['btrfs-progs v5.14 ', ‘See http://btrfs.wiki.kernel.org for more information.’, ‘’, ‘’]. stderr = [‘ERROR: not enough free space to allocate chunk’, ‘’]

        Traceback (most recent call last):

File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/pool.py”, line 466, in post
add_pool(p, dnames)
File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 283, in add_pool
out, err, rc = run_command(cmd, log=True)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 246, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/mkfs.btrfs -f -d raid1 -m raid1 -L RockStor-1 /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K1VCXCS9 /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K6CUEKAV. rc = 1. stdout = ['btrfs-progs v5.14 ', ‘See http://btrfs.wiki.kernel.org for more information.’, ‘’, ‘’]. stderr = [‘ERROR: not enough free space to allocate chunk’, ‘’]

The same problem for me…

I could successfully create a new pool like this:

  • Create a single device pool
  • Add the second drive and change the RAID level to 1
3 Likes

I’m having the same problem. I’ve tried with 3 different disks in combos of 2.