From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 15:42:23 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B12AC16A4CE for ; Thu, 13 Jan 2005 15:42:23 +0000 (GMT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7F243D2F for ; Thu, 13 Jan 2005 15:42:22 +0000 (GMT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id j0DFgLsc015215 for ; Thu, 13 Jan 2005 17:42:21 +0200 Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 13 Jan 05 17:42:22 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 13 Jan 05 17:41:56 +0300 Received: from [192.168.1.2] (192.168.1.2) by raad.tartu.ee (Mercury 1.48) with ESMTP; 13 Jan 05 17:41:53 +0300 Message-ID: <41E696BF.8090704@raad.tartu.ee> Date: Thu, 13 Jan 2005 17:41:51 +0200 From: Toomas Aas User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <41E58EA5.3060903@raad.tartu.ee> In-Reply-To: <41E58EA5.3060903@raad.tartu.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: Replacing both disks in RAID1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 15:42:23 -0000 Toomas Aas wrote: > I have a small server running FreeBSD 4.10, 2 x 80 GB drives mirrored o= n=20 > Promise TX2 integrated RAID1 controller. I'd like to replace the 80 GB = > drives with 200 GB drives. >=20 > Here's my current plan: >=20 > 1. Attach one of the new drives to free ICH4 IDE port on motherboard,=20 > partition it and transfer the data using dump/tar. >=20 > 2. Remove the 80 GB drives, attach 200 GB drives (one with data, one=20 > blank) to TX2 IDE ports and re-create the mirror using Promise onboard = > BIOS utility. >=20 > 3. Reboot, fix the fstab (if necessary) and be done with it. >=20 > I have one doubt with it. Currently my partitions are ar0s1a (/), ar0s1= b=20 > (swap), ar0s1e (/var) etc. When I create corresponding partitions on th= e=20 > new drive while it is attached to ICH4 controller, the partitions are=20 > created as ad0s1a, ad0s1b etc. When I then move this drive to TX2 port = > and re-create the mirror the partitions should again be ar0s1a, ar0s1b = > etc. Will it "just work" or will it not work at all? Another thought - maybe I shouldn't create the new array using the=20 Promise BIOS utility, but instead should bring the server up and use=20 'atacontrol create RAID1'? What do you think? Which method has a better=20 chance of success? --=20 Toomas Aas -------------------------------------------------------- |arvutiv=F5rgu peaspetsialist | head specialist on computer networks| |Tartu Linnakantselei | Tartu City Office | ----------------------------------------------------- +372 736 1274