Skip to content

feat(storage): make a RAID array from the Storage manager - #71

Merged
inkly merged 1 commit into
mainfrom
feat/raid-create
Oct 30, 2026
Merged

inkly merged 1 commit into
mainfrom
feat/raid-create

Conversation

@inkly

@inkly inkly commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

RAID step 3 in the Storage manager: a Create RAID button next to Create Storage.

It opens a window with the name of the storage, a level (RAID 1, 5, 6 or 10 -- the ones that survive a failed drive), the blank drives to use (none ticked to begin with), what the array will hold and how many failed drives it survives, a warning that the drives are erased, and the name typed again to confirm. The button is disabled, with a tip, when fewer than two blank drives are left. The call is POST /v1/disks/raid (ReCasaOS/CasaOS-LocalStorage#12), with a 10 minute timeout since formatting a big array can be long. A refusal is shown as text, and the lists are read again even then, since the drives may be erased and the array made though the call failed.

Specs: the capacity and failure estimate for each level, the window (levels offered, name rules, the call it sends, a refusal), and the English and French lines.

Related: ppenguin's draft #69 adds a Pool tab in this same panel with another design (plan, preview, apply); the two touch StorageManagerPanel.vue and the language files, so whichever lands second needs a small rebase.

A Create RAID button next to Create Storage opens a window: the name of the
storage, a level (RAID 1, 5, 6 or 10, the ones that survive a failed disk),
the blank drives to use, what the array will hold, and the name typed again
before the drives are erased.
@inkly
inkly merged commit 75f92b5 into main Oct 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant