Exit status 2 error during RAID0 creation

Hello there! It’s my very first time here and unfortunately i’m experiencing problem while trying to setup RAID on my system. I have ZimaOS installed on a SSD and 2 4TB HDD drives (they’re brand new): everything seems to work fine if i setup single use mode (so 2 separate drives) but when i try to setup RAID0 or RAID1 in the upper right corner pops up a small alert “exit status 2”. Obviously i deactivate both drives before starting RAID, i see both of them right before the creation of RAID but then i have this annoying message. Hope someone can help me!! Thanx in advance!

That “exit status 2” message is a generic RAID creation failure. It doesn’t mean the disks are bad, it usually means ZimaOS aborted the RAID setup due to a safety or state check failing.

From what you described (single-disk mode works, RAID0/1 fails), the most common causes are:

  1. Leftover disk metadata
    Even brand-new drives can contain residual partition or RAID data. This is the number one cause of this error.
  2. Disks not fully “clean” or still referenced
    The drives must have:
  • no partitions
  • not mounted
  • not part of any previous pool
  1. Disk size mismatch
    Even small differences between drives can cause RAID creation to fail.
  2. Stale system state
    After deactivating both disks, a reboot is strongly recommended before attempting RAID creation again.

To properly diagnose it

Right after the RAID creation fails, please share the log output:

journalctl -xb | tail -100

This will usually show the real reason (for example leftover RAID superblock, mdadm failure, or permission issue).


Since single-disk mode works, the drives, cabling, and controller are fine. This is almost always a metadata or state issue, not a hardware fault.

Once you post the logs, we can pinpoint it quickly

First of all thanks for your kind and really exhaustive reply! You were absolutely right: the system just needed a reboot and everything worked fine! Anyway i installed also the app ttyBridge so i can monitor the log of the OS for future (i hope no..) issues. Thanx a lot!

1 Like

That’s great news, thanks for the update Danilo

Yes, this one catches a lot of people out, ZimaOS can sometimes keep a stale storage state after disk deactivation, and a reboot clears it properly before RAID creation.

Good call installing ttyBridge as well. Being able to check logs makes future troubleshooting much easier (hopefully you won’t need it).

Glad it’s all working now, enjoy your setup, and feel free to ask anytime if something comes up!

1 Like