Skip to content

Make mxraid assemble journal aware #425

Merged
merged 5 commits into from
Dec 10, 2024
Merged

Commits on Nov 25, 2024

  1. Configuration menu
    Copy the full SHA
    0342a61 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. mxraid/mxraid_assemble: remove unused subroutine

    get_hd_serial is not used anywhere, so stay with get_hd_info.
    thomas committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    9f64450 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2024

  1. mxraid/mxraid_assemble: user-mode fixes

    Improve non-root usage:
     - optionally use different config files via MDADM_CONF_BASE env
     - correctly honor verbose setting in MxRaid::HostData
    thomas committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    0a492db View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. mxraid/mxraid_assemble: handle md devices holding a journal

    To use nvme 'disks' as journal device mxraid_assemble needs to
    be aware of partitioned devices.
    
    Partitions are addressed by adding '.PartId' to the serial number
    in mxmd.conf (see full explanation there).
    thomas committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    710e5b2 View commit details
    Browse the repository at this point in the history
  2. mxraid/mxraid_journal: tool to switch from journal to bitmap mode

    Rationale: Adding/removing an external journal to/from a md
    device requires a couple of mdadm commands that are not that
    straight forward.
    
    Given that there are no open files on the md device, switching is
    accomplished with:
    
      #> mxraid_journal journal md0 nvme0n1p1
    
    And in the other direction:
    
      #> mxraid_journal bitmap md0
    thomas committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    d11775d View commit details
    Browse the repository at this point in the history