tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RAIDframe: reducing a three-component RAID 1 to two



On Thu, Mar 13, 2025 at 01:05:19PM -0500, Jonathan A. Kollasch wrote:
> Find the two components with matching modification counter and use just
> those?  Not sure off hand how to print out a raid(4) component label;
> the modification counter is the third 32-bit quantity in the component
> label (at byte 12-15), just after the 32-bit quantity that's the array
> serial number.  If there aren't two (or more) components with matching
> modification counters you'd want to start with only the component with
> the highest modification counter.

raidctl -s prints it:

Component label for /dev/dk3:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2019100712, Mod Counter: 23561


Martin


Home | Main Index | Thread Index | Old Index