From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Chmielewski Subject: Re: how to synchronize two devices (RAID-1, but not really?) Date: Tue, 15 May 2007 11:27:16 +0200 Message-ID: <46497CF4.3050807@wpkg.org> References: <4649760A.1060805@wpkg.org> <46497A78.6030109@rabbit.us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46497A78.6030109@rabbit.us> Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org Cc: Peter Rabbitson List-Id: linux-raid.ids Peter Rabbitson schrieb: > Tomasz Chmielewski wrote: >> I have a RAID-10 setup of four 400 GB HDDs. As the data grows by several >> GBs a day, I want to migrate it somehow to RAID-5 on separate disks in a >> separate machine. >> >> Which would be easy, if I didn't have to do it online, without stopping >> any services. >> >> > > Your /dev/md10 - what is directly on top of it? LVM? XFS? EXT3? Good point. I don't want to copy the whole RAID-10. I want to copy only one LVM-2 volume (which is like 90% of that RAID-10, anyway). So I want to synchronize /dev/LVM2/my-volume (ext3) with /dev/sdr (now empty; bigger than /dev/LVM2/my-volume). (sda2, sdb2, sdc2, sdd2) -> RAID-10 -> LVM-2 -> my volume -> ext3 -- Tomasz Chmielewski http://wpkg.org