Community Solution

ZimaOS RAID Creation Troubleshooting on Non-ZimaCube Hardware

Page 2 of a long RAID troubleshooting thread documented old ZimaOS 1.2.x/1.3.x disk-slot mapping problems on non-ZimaCube systems, community config edits, and later reports that newer builds resolved some cases.

If ZimaOS sees your drives but the RAID creation screen assigns them to the wrong bays, leaves selectable slots blank, or exposes only some disks, first separate a current RAID-health problem from the old non-ZimaCube disk-mapping issue documented in this thread. Page 2 largely reflects ZimaOS 1.2.x and early 1.3.x behavior on DIY hardware.

Current ZimaOS RAID troubleshooting starts with drive count, disk health, individual formatting, an empty mount point, and a reboot. Only after those checks should you consider old slot-mapping workarounds—and only if you can reproduce the same mapping defect on your current version.

What the Old Disk-Mapping Bug Looked Like

Several users on non-ZimaCube hardware reported that physically attached drives appeared in unexpected virtual positions. The storage page could show disks in bays 4, 5, and 6 while the RAID dialog expected disks in earlier positions, leaving the Next button unavailable or hiding a drive from selection.

Older ZimaOS storage view showing non-ZimaCube disks assigned to unexpected bays
An older ZimaOS build mapped DIY hardware disks into unexpected bay positions.
Older ZimaOS Storage Manager with disks displayed in bays 4 5 and 6
The storage interface could recognize disks while the RAID-selection model still made them difficult to use.

Recognition and RAID Eligibility Were Two Different Layers

Older ZimaOS RAID creation screen on LincStation hardware with unavailable disk slots
A DIY system could list storage but still leave the RAID selection workflow incomplete.

This distinction remains useful today. Seeing a disk in lsblk proves the kernel sees a block device. Seeing it in Files or Storage Manager proves another layer recognizes it. Being selectable for RAID adds yet another eligibility and UI layer.

If one layer fails, capture where the disk disappears instead of immediately wiping it. Check filesystem state, existing RAID metadata, mount state, and whether the current interface considers the disk available for a new array.

Older ZimaOS New hard drive panel from a non-ZimaCube RAID troubleshooting case
The storage layer could detect a drive even when the RAID workflow did not map it as expected.
Older ZimaOS RAID0 screen with only one disk bay selectable on DIY hardware
Another screenshot shows the same mismatch from the RAID creation side: detected storage did not translate into the expected selectable bays.

Run the Current RAID Checks Before Editing System Configuration

The current official RAID troubleshooting guide recommends verifying at least two drives, checking disk health, confirming each disk can be formatted successfully, ensuring the intended RAID mount point is empty, and rebooting before retrying creation.

Current ZimaOS RAID troubleshooting checklist should be your first path even on DIY hardware because it avoids destructive assumptions.

SataStartNumber Was a Version-Specific Community Workaround

In the old thread, an IceWhale team reply acknowledged that early ZimaOS UI logic was strongly tied to ZimaCube slot layout. Users were told to inspect disk controller placement with lsblk -o hctl and, for certain DIY systems, adjust SataStartNumber in /etc/casaos/local-storage.conf.

Some users confirmed that this corrected the virtual bay mapping; others later reported that newer ZimaOS releases fixed their setup without keeping the same workaround. That makes the edit a historical compatibility technique, not a current universal requirement.

Do not apply an old SataStartNumber value from another motherboard. Controller topology differs by system, and current ZimaOS may no longer use the same assumptions.

The Screenshots Show Why Version Boundaries Matter

Older ZimaOS Storage Manager after disk bay mapping was corrected
One user later showed disks occupying the expected early bay positions after the mapping issue was addressed.
ZimaOS version screen showing an early 1.3.1 beta build
Parts of the thread were tested on early 1.3.x builds, far older than the current 1.7.x interface.

ZimaOS 1.7.1 also includes a fix for inaccurate RAID status display in certain scenarios. That does not prove every DIY bay-mapping case is solved, but it is another reason to reproduce the issue on a current build before following a 2024 configuration edit.

Do Not Turn the Five-Disk Shell Workaround into a General Recipe

A later participant had five 8 TB NVMe devices. The UI exposed only four for RAID creation even though the fifth device was visible elsewhere, and the user eventually expanded RAID5 manually with mdadm.

Older ZimaOS storage view detecting five NVMe devices with one assigned an unusual slot number
The fifth NVMe was visible to the system but mapped differently from the first four.
Older ZimaOS disk list showing five Linux RAID member devices
The disk list and the RAID creation interface did not expose the same usable set.
Older ZimaOS RAID5 selection screen from the five-NVMe troubleshooting case
The RAID5 workflow was part of the evidence used to compare which disks were visible versus selectable.
Older ZimaOS RAID5 creation screen showing only four selectable NVMe drives
The fifth device was absent from the normal RAID5 selection step.
Older ZimaOS RAID5 status while a fifth disk was being incorporated
The user eventually expanded the array from the shell, but that procedure is not reproduced here as a general recommendation.

Stopping, reassembling, or growing an array with low-level commands can cause data loss if the device list or metadata assumptions are wrong. For a current system that recognizes disks but cannot use them in the RAID UI, back up important data and escalate with version, lsblk output, controller topology, screenshots, and existing array state rather than copying the old shell sequence.