Help with a RAID 0 btrfs

Hello, I’ve had a synology NAS that died on me leaving me with 3 btrfs drives on a RAID 0 so I installed Rockstor on a server and it gave me this error :

            Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in _handle_exception
    yield
  File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 417, in post
    return self._update_disk_state()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 212, in _update_disk_state
    pool_info = dev_pool_info[dev_name]
                ~~~~~~~~~~~~~^^^^^^^^^^
KeyError: '/dev/sdc'

   

Hope someone can help me :slight_smile: !

Thanks in advance.

@Zodiac welcome to the Rockstor community.

If I understand this correctly, you have 3 physical drives from a synology that were running under RAID0?

If I am not mistaken, synology still uses mdadm to create the RAID and then has btrfs on top of it. This is something that Rockstor doesn’t support, as the intent of this appliance was to have btrfs natively manage the entire RAID process (i.e. the physical devices).

Are you planning on just reusing/reformatting the drives, or were you hoping the Rockstor could be used as a plug-n-play to get back to the data you have on those drives?

If it’s the latter (recover RAID0), then this will likely not be possible without major under-the-hood changes within Rockstor. For this scenario, have you already checked out this KB article from synology?

It uses an older ubuntu distribution for it, but I assume that tutorial ist till valid since it seems to have been touched last in January of 2026.

If it’s the former (i.e. reuse the drives in a new system running rockstor), then you likely have to do a full wipe of the disks(not just a reformat) before you can reuse them, as btrfs is picky about the “hidden” portions of a pre-used disk. For that there is a guide that can be found here or any other “complete wipe” program that you might prefer instead.

But, just in case, can you also post which Rockstor version/OpenSUSE flavor you’ve been using for this?

2 Likes