From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Heinzmann Subject: Re: Converting Ext3 to Ext3 under RAID 1 Date: Thu, 03 Aug 2006 00:38:15 +0200 Message-ID: <44D12957.6050607@gmx.net> References: <200607152056.55090.pwaldo@waldoware.com> <200607230753.47853.pwaldo@waldoware.com> <17603.25777.274507.385333@cse.unsw.edu.au> <200607230832.48807.pwaldo@waldoware.com> <17605.22207.56022.972200@cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Dan Graham Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids Hi Dan, see thread http://www.spinics.net/lists/raid/msg07742.html. Regards, Robert Dan Graham schrieb: > Hello; > I have an existing, active ext3 filesystem which I would like to > convert to > a RAID 1 ext3 filesystem with minimal down time. After casting about > the web and experimenting some on a test system, I believe that I can > accomplish this in the following manner. > > - Dismount the filesystem. > - Shrink the filesystem to leave room for the RAID superblock at the > end > while leaving the partition size untouched (shrinking by 16 blocks > seems to > work ) > - Create a degraded array with only the partition carrying the > shrunk ext3 > system > - start the array and mount the array. > - hot add the mirroring partitions. > > The questions I have for those who know Linux-Raid better than I. > > Is this scheme even half-way sane? > Is 16 blocks a large enough area? > > > Thanks in advance for any and all feed-back. >