Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(local-disks): Add support for raid10 on instance storage #1549

Closed
wants to merge 1 commit into from

Commits on Jul 12, 2024

  1. Add support for raid10

    This removes the wait block for raid resync for two reasons:
    1) raid0 does not have redundancy and therefore no initial resync[1]
    2) with raid10 the resync time for 4x 1.9TB disks takes from tens of minutes
       to multiple hours, depending on sysctl params `dev.raid.speed_limit_min` and
       `dev.raid.speed_limit_max` and the speed of the disks. Initial resync for
       raid10 is not strictly needed[1]
    
    Filesystem creation: by default `mkfs.xfs` attempts to TRIM the drive. This is
    also something that can take tens of minutes or hours, depening on the size of
    drives. TRIM can be skipped, as instances are delivered with disks fully
    trimmed[2].
    
    [1] https://raid.wiki.kernel.org/index.php/Initial_Array_Creation
    [2] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html#InstanceStoreTrimSupport
    lassizci committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3276ef3 View commit details
    Browse the repository at this point in the history