Re: RAID-5 recovery

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

 



On Sun, 3 Sep 2006, dean gaudet wrote:

that's not quite the current behaviour. since 2.6.14 or .15 or so md will reconstruct bad blocks from other disks and try writing them. it's only when this fails repeatedly that it knocks the disk out of the array.

Hi. When in 2.6.15 I used the /sys/block/md*/md/sync_action "check" option it looked more like it was rebuilding the device than checking it.

Is this behaviour changed in more recent kernels, or did I just misunderstand the log output from the check:

# echo "check" > sync_action
# dmesg
md: syncing RAID array md3
md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for reconstruction.
md: using 128k window, over a total of 248896 blocks.
md: md3: sync done.

This doesn't look like a check, more like a rebuild? Looking at iostat -x does indicate that it's reading from one drive and writing to another?

# uname -a
Linux 2.6.15-1-686-smp #2 SMP Mon Mar 6 15:34:50 UTC 2006 i686 GNU/Linux

This is a standard debian kernel.

--
Mikael Abrahamsson    email: swmike@xxxxxxxxx

--
VGER BF report: H 0.329215
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux