Repository navigation
feat(storage): make a RAID array from the Storage manager - #71
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.vueand the language files, so whichever lands second needs a small rebase.