Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757594AbXKFLm5 (ORCPT ); Tue, 6 Nov 2007 06:42:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756015AbXKFLms (ORCPT ); Tue, 6 Nov 2007 06:42:48 -0500 Received: from lucidpixels.com ([75.144.35.66]:54727 "EHLO lucidpixels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754485AbXKFLmr (ORCPT ); Tue, 6 Nov 2007 06:42:47 -0500 Date: Tue, 6 Nov 2007 06:42:45 -0500 (EST) From: Justin Piszcz X-X-Sender: jpiszcz@p34.internal.lan To: =?ISO-8859-1?Q?BERTRAND_Jo=EBl?= cc: Dan Williams , Neil Brown , linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org Subject: Re: 2.6.23.1: mdadm/raid5 hung/d-state In-Reply-To: <47305288.8020307@systella.fr> Message-ID: References: <18222.16003.92062.970530@notabene.brown> <47303FB8.7000801@systella.fr> <47305288.8020307@systella.fr> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463747160-1918280824-1194349365=:3010" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3370 Lines: 88 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463747160-1918280824-1194349365=:3010 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 6 Nov 2007, BERTRAND Jo=EBl wrote: > Justin Piszcz wrote: >>=20 >>=20 >> On Tue, 6 Nov 2007, BERTRAND Jo=EBl wrote: >> >>> Done. Here is obtained ouput : >>>=20 >>> [ 1265.899068] check 4: state 0x6 toread 0000000000000000 read=20 >>> 0000000000000000 write fffff800fdd4e360 written 0000000000000000 >>> [ 1265.941328] check 3: state 0x1 toread 0000000000000000 read=20 >>> 0000000000000000 write 0000000000000000 written 0000000000000000 >>> [ 1265.972129] check 2: state 0x1 toread 0000000000000000 read=20 >>> 0000000000000000 write 0000000000000000 written 0000000000000000 >>>=20 >>> >>> For information, after crash, I have : >>>=20 >>> Root poulenc:[/sys/block] > cat /proc/mdstat >>> Personalities : [raid1] [raid6] [raid5] [raid4] >>> md_d0 : active raid5 sdc1[0] sdh1[5] sdg1[4] sdf1[3] sde1[2] sdd1[1] >>> 1464725760 blocks level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU] >>> >>> Regards, >>> >>> JKB >>=20 >> After the crash it is not 'resyncing' ? > > =09No, it isn't... > > =09JKB > After any crash/unclean shutdown the RAID should resync, if it doesn't,=20 that's not good, I'd suggest running a raid check. The 'repair' is supposed to clean it, in some cases (md0=3Dswap) it gets=20 dirty again. Tue May 8 09:19:54 EDT 2007: Executing RAID health check for /dev/md0... Tue May 8 09:19:55 EDT 2007: Executing RAID health check for /dev/md1... Tue May 8 09:19:56 EDT 2007: Executing RAID health check for /dev/md2... Tue May 8 09:19:57 EDT 2007: Executing RAID health check for /dev/md3... Tue May 8 10:09:58 EDT 2007: cat /sys/block/md0/md/mismatch_cnt Tue May 8 10:09:58 EDT 2007: 2176 Tue May 8 10:09:58 EDT 2007: cat /sys/block/md1/md/mismatch_cnt Tue May 8 10:09:58 EDT 2007: 0 Tue May 8 10:09:58 EDT 2007: cat /sys/block/md2/md/mismatch_cnt Tue May 8 10:09:58 EDT 2007: 0 Tue May 8 10:09:58 EDT 2007: cat /sys/block/md3/md/mismatch_cnt Tue May 8 10:09:58 EDT 2007: 0 Tue May 8 10:09:58 EDT 2007: The meta-device /dev/md0 has 2176 mismatched= =20 sectors. Tue May 8 10:09:58 EDT 2007: Executing repair on /dev/md0 Tue May 8 10:09:59 EDT 2007: The meta-device /dev/md1 has no mismatched=20 sectors. Tue May 8 10:10:00 EDT 2007: The meta-device /dev/md2 has no mismatched=20 sectors. Tue May 8 10:10:01 EDT 2007: The meta-device /dev/md3 has no mismatched=20 sectors. Tue May 8 10:20:02 EDT 2007: All devices are clean... Tue May 8 10:20:02 EDT 2007: cat /sys/block/md0/md/mismatch_cnt Tue May 8 10:20:02 EDT 2007: 2176 Tue May 8 10:20:02 EDT 2007: cat /sys/block/md1/md/mismatch_cnt Tue May 8 10:20:02 EDT 2007: 0 Tue May 8 10:20:02 EDT 2007: cat /sys/block/md2/md/mismatch_cnt Tue May 8 10:20:02 EDT 2007: 0 Tue May 8 10:20:02 EDT 2007: cat /sys/block/md3/md/mismatch_cnt Tue May 8 10:20:02 EDT 2007: 0 ---1463747160-1918280824-1194349365=:3010-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/