Cannot create Raid1 Pool - Magic not working

Hey everyone,

After setting up Rockstor on an older machine I finally came to a point where I could set up the pools. Disks are detected fine, they have different serial numbers and have the same size, however, when creating a Raid1 pool I get following error:

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 251, in run_command
raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/sbin/mkfs.btrfs -f -d raid1 -m raid1 -L Mirrored /dev/disk/by-id/ata-WDC_WD20SPZX-00UA7T0_WD-WX52A62787DX /dev/disk/by-id/ata-WDC_WD20SPZX-00UA7T0_WD-WX52A6278H1C. rc = 1. stdout = ['btrfs-progs v5.14 ', ‘See http://btrfs.wiki.kernel.org for more information.’, ‘’, ‘’]. stderr = [“ERROR: superblock magic doesn’t match”, ‘ERROR: not enough free space to allocate chunk’, ‘’]

I already tried formatting the disks, but that made no difference. Any suggestions?

Sincerly

I just noticed this is a duplicate of:

So I guess this one can be closed.

2 Likes

quick question, how did you format/wipe the disks?

I used the build-in functionality in Rockstor. When you go into each disk you can wipe it there.

2 Likes