From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander =?iso-8859-1?b?S/xobg==?= Subject: Re: RAID6 issues Date: Tue, 13 Sep 2011 10:12:56 +0200 Message-ID: <20110913101256.Horde.BlNQOpk8pphObxCII67BCSk@cakebox.homeunix.net> References: <20110913082511.3c34dec9@notabene.brown> <20110913084419.380babcc@notabene.brown> <20110913093850.606efa70@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes Return-path: In-Reply-To: Content-Disposition: inline Sender: linux-raid-owner@vger.kernel.org To: Andriano Cc: NeilBrown , linux-raid@vger.kernel.org List-Id: linux-raid.ids Zitat von Andriano : > On Tue, Sep 13, 2011 at 5:38 PM, NeilBrown wrote: >> On Tue, 13 Sep 2011 17:05:06 +1000 Andriano wrote: >> >>> On Tue, Sep 13, 2011 at 4:44 PM, NeilBrown wrote: >>> > On Tue, 13 Sep 2011 16:33:36 +1000 Andriano wrote: >>> > >>> >> > >>> >> >> Hello Linux-RAID mailing list, >>> >> >> >>> >> >> Linux 3.0.4-2-desktop #1 SMP PREEMPT Wed Aug 31 09:30:44 UTC 2011 >>> >> >> (a432f18) x86_64 x86_64 x86_64 GNU/Linux >>> >> >> Gigabyte EP35C-DS3 motherboard with 8 SATA ports + SuperMicro >>> >> >> AOC-SASLP-MV8 based on Marvel 6480, firmware updated to 3.1.0.21 >>> >> >> running mdadm 3.2.2, single array consists of 10 2T disks, 8 of them >>> >> >> connected to the HBA, 2 - motherboard ports >>> >> >> >>> >> >> I had some issues with one of the onboard connected disks, >>> so tried to >>> >> >> plug it to different ports, just to eliminate possibly faulty port. >>> >> >> After reboot, suddenly other drives got kicked out from the array. >>> >> >> Re-assembling them gives weird errors. >>> >> >> > Apparently you're right > blockdev --getsz /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg > /dev/sdh /dev/sdi /dev/sdj /dev/sdk > 3907027055 > 3907027055 > 3907029168 > 3907029168 > 3907029168 > 3907029168 > 3907027055 > 3907029168 > 3907029168 > 3907029168 > > sdb, sdc and sdh - are smaller and they are problem disks > > So what would be a solution to fix this issue? The solution seems obvious: Plug them (or at least one of them) back into the original ports so that they regain their original size. Then you can try and shrink your filesystem/logical volumes and then the array, then check everything is working (do a raid check too). Then you can move one one the disks to a good port, zero the metadata on it and add it back to regain full redundancy. Once done, move the next...