From: Andreas-Sokov Subject: Re[2]: problem with spare, acive device, clean degrated, reshaip RADI5, anybody can help ? Date: Mon, 4 Feb 2008 03:56:34 +0300 Message-ID: <151448044.20080204035634@j8.com.ru> References: <1153106913.20080131033456@j8.com.ru> <18342.24549.433129.798288@notabene.brown> Reply-To: Andreas-Sokov Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <18342.24549.433129.798288@notabene.brown> Sender: linux-raid-owner@vger.kernel.org To: Neil Brown Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Neil. =C2=FB =EF=E8=F1=E0=EB=E8 4 =F4=E5=E2=F0=E0=EB=FF 2008 =E3., 03:44:21: > On Thursday January 31, andre.s@j8.com.ru wrote: >> Hello linux-raid. >>=20 >> i have DEBIAN. >>=20 >> raid01:/# mdadm -V >> mdadm - v2.6.4 - 19th October 2007 >>=20 >> raid01:/# mdadm -D /dev/md1 >> /dev/md1: >> Version : 00.91.03 >> Creation Time : Tue Nov 13 18:42:36 2007 >> Raid Level : raid5 > .... >> Delta Devices : 1, (4->5) > So the array is in the middle of a "reshape". > It should automatically complete... Presumably it isn't doing that? > What does > cat /proc/mdstat > say? raid01:/etc# cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid= 4] [multipath] [faulty] md1 : active(auto-read-only) raid5 sdc[0] sdb[5](S) sdf[3] sde[2] sdd[1= ] 1465159488 blocks super 0.91 level 5, 64k chunk, algorithm 2 [5/4= ] [UUUU_] unused devices: raid01:/etc# > Where kernel log messages do you get when you assemble the array? into /var/log/messages (os is DEBIAN) last messages after -A was : =3D=3D> /var/log/messages <=3D=3D =46eb 4 02:39:53 raid01 kernel: RAID5 conf printout: =46eb 4 02:39:53 raid01 kernel: --- rd:5 wd:4 =46eb 4 02:39:53 raid01 kernel: disk 0, o:1, dev:sdc =46eb 4 02:39:53 raid01 kernel: disk 1, o:1, dev:sdd =46eb 4 02:39:53 raid01 kernel: disk 2, o:1, dev:sde =46eb 4 02:39:53 raid01 kernel: disk 3, o:1, dev:sdf =46eb 4 02:39:53 raid01 kernel: ...ok start reshape thread > The spare device will not be added to the array until the reshape has > finished. ok. I think what such must was to be (excuse me for my bad english) But when i did not see nothing about reshape (reshaping) in mdadm -D /d= ev/md1 this was confuse to me . > Hopefully you aren't using a 2.6.23 kernel? yep, i remember you alert to me about 2.6.23 kernel raid01:/etc# uname -a Linux raid01 2.6.22.16-6 #7 SMP Thu Jan 24 21:58:32 MSK 2008 i686 GNU/L= inux raid01:/etc# > That kernel had a bug which corrupte ata when reshaping a degraded > raid5 array. > NeilBrown --=20 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC, Andreas-Sokov mailto:andre.s@j8.com.ru - To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html