From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Brown Subject: Re: Linux RAID migration Date: Tue, 7 Aug 2007 21:18:01 +1000 Message-ID: <18104.21737.341407.654022@notabene.brown> References: <5b170a7d0708070126t52cb4be5x4549b22bac643450@mail.gmail.com> <18104.18410.623573.929770@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: message from saeed bishara on Tuesday August 7 Sender: linux-raid-owner@vger.kernel.org To: saeed bishara Cc: Tuomas Leikola , linux-raid@vger.kernel.org List-Id: linux-raid.ids On Tuesday August 7, saeed.bishara@gmail.com wrote: > how can I create raid 5 array that preserves the contents of a given > disk (part of the array)? > I can do that in two steps, raid 5 on two disks then reshape it to be > real raid5, but is there a direct way to do it? What do you mean by "real raid 5". Two disks are just as much an array as 10. What do you mean by "direct". If I understand your requirements correctly, there are two obvious steps. 1/ make the data appear in a raid5 2/ change the number of devices in the raid5. Are two steps too many? I guess I don't understand your question. NeilBrown