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

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.