From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 13:25:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A8901065691 for ; Sat, 18 Oct 2008 13:25:37 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0201.b.hostedemail.com [64.98.42.201]) by mx1.freebsd.org (Postfix) with ESMTP id 58B958FC24 for ; Sat, 18 Oct 2008 13:25:36 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay04.b.hostedemail.com (Postfix) with SMTP id 864061AA92A0 for ; Sat, 18 Oct 2008 13:25:35 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2, 0, 0, 7e75605e840908c1, 9510f55e4507d164, eagletree@hughes.net, freebsd-questions@freebsd.org, RULES_HIT:355:379:541:564:945:966:973:988:989:1260:1261:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2194:2196:2198:2199:2200:2201:2379:2393:2559:2562:2693:2736:3354:3636:3865:3866:3867:3868:3869:3870:3871:3872:3874:3876:3877:4250:4385:5007:6114:6119:7652:7903:8603, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf12.b.hostedemail.com (Postfix) with ESMTP for ; Sat, 18 Oct 2008 13:25:31 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: 7bit Message-Id: <7331B81C-7229-40A6-9B5D-2B5B45071CF3@hughes.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD-Questions Questions From: Chris Pratt Date: Sat, 18 Oct 2008 06:25:25 -0700 X-Mailer: Apple Mail (2.753) X-session-marker: 6561676C6574726565406875676865732E6E6574 Subject: Using mirroring to replace drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 13:25:37 -0000 Hi, For years I've been upgrading by building a temp server, transferring a production function to it and temporarily decommissioning the one server while I upgrade and rebuild it. I was thinking of trying a different approach since having tried out gvinum in the last couple of years. The current scenario is that I have a machine where the adaptec controller is suggesting I replace a failing SCSI drive which happens to be the system disk. I purchased a couple of new drives and thought I might just plug it in and mirror the failing drive on the new drive. Then pull the failing drive and plug in the other new drive as the second mirrored drive and be done with it. One obvious outcome would be a having a system drive mirror for future such issues. I have never built a mirror on the fly but it seems many have from what I've read and the cookbooks out there make it sound very easy. I was going to use GEOM Mirror on 6.2 (then upgrade to 7.0 after establishing the new good drives). 1. Is this an appropriate way to deal with this? 2. Are there any high risk aspects of doing this while running a server in production? I'm thinking of things like how probable it is of trashing the original disk, making the system unbootable in the process etc? 3. Are there better approaches that are safer (aside from my normal hardware swap MO). 4. Does using GEOM Mirror RAID-1 make the upgrade from 6.2 to 7.0 a dangerous proposition. I do upgrades via cvsup and buildworld. The environment is FreeBSD 6.2 Supermicro with Adaptec SCSI All ~73 GB Maxtor and Seagate drives Current da0 system is Maxtor, there will be minor size differences, the replacement Cheetah is a hair larger. Apache, PHP5 and Mysql No existing RAID Configuration