From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Turmel Subject: Re: RAID5 Shrinking array-size nearly killed the system Date: Sat, 12 Mar 2011 09:40:43 -0500 Message-ID: <4D7B85EB.60505@turmel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Rory Jaffe Cc: Mikael Abrahamsson , linux-raid@vger.kernel.org List-Id: linux-raid.ids On 03/12/2011 12:56 AM, Mikael Abrahamsson wrote: > On Fri, 11 Mar 2011, Rory Jaffe wrote: > >> 3. Is there something I did that caused the crash? > > Mdadm has no concept of filesystem, it works on the block device. > > From your text you give no indication that you shrunk the filesystem before shrinking the block device. Did you? > Also, you didn't say what kind of filesystem it is. Some don't support shrinking at all (XFS is one), or don't support shrinking while running (most of them). You will very likely need to do this from a LiveCD of one form or another. If your filesystem cannot be shrunk, you'll need to make a fresh backup, reformat, and restore. (You do have a backup, don't you?) Phil