From owner-freebsd-stable@FreeBSD.ORG Wed Nov 19 23:54:52 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 358F81065673 for ; Wed, 19 Nov 2008 23:54:52 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id B66EF8FC1D for ; Wed, 19 Nov 2008 23:54:51 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:58747 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1L2wsj-0007XU-8d for freebsd-stable@freebsd.org; Thu, 20 Nov 2008 00:54:50 +0100 Received: (qmail 59911 invoked from network); 20 Nov 2008 00:54:49 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 20 Nov 2008 00:54:49 +0100 Received: (qmail 23596 invoked by uid 1001); 20 Nov 2008 00:54:49 +0100 Date: Thu, 20 Nov 2008 00:54:49 +0100 From: Erik Trulsson To: Mark Sams Message-ID: <20081119235449.GA23556@owl.midgard.homeip.net> References: <610465.33671.qm@web36108.mail.mud.yahoo.com> <20081119191042.GA5284@icarus.home.lan> <957588.98964.qm@web36103.mail.mud.yahoo.com> <20081119193242.GA5739@icarus.home.lan> <20081119194851.GA20898@owl.midgard.homeip.net> <478001.37886.qm@web36105.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <478001.37886.qm@web36105.mail.mud.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1L2wsj-0007XU-8d. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1L2wsj-0007XU-8d d98ca73a957d0242e580bbe355c5f997 Cc: freebsd-stable@freebsd.org Subject: Re: atacontrol missing drive after upgrade to 6.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 23:54:52 -0000 On Wed, Nov 19, 2008 at 03:43:02PM -0800, Mark Sams wrote: > > > > > You're using Intel MatrixRAID, aren't you? Please migrate away from > > > > > > this immediately, your data is at risk. > > Although I am not using Matrix RAID, I guess I will switch to gmirror to be safe. Does the following approach seem valid? > You are missing one very important step that you should make regardless of which approach you use: 0) Make a backup of any and all data that you don't want to lose (and check that you can restore data from the backup while you still have the original data.) > > 1) Break the mirror (ar0) > 2) Reboot using ad0 > 3) (from the link > http://lantech.geekvenue.net/chucktips/jason/chuck/1175552464/index_html ): > > Step 1: Use sysctl to allow the mounted disk to be modified > Step 2: Create the mirror (gm0) using ad0 with gmirror > Step 3: Modify /boot/loader.conf to load gmirror on startup > Step 4: Replace ar0 with gm0 in /etc/fstab > Step 6: Use gmirror insert command to add ad1 to gm0 > Step 7: Check the mirroring status with gmirror statusShould I just call the mirror ar0 instead of gm0 and save doing step4? Any problem with that? > > Thanks in advance. > > Mark (Somebody else will have to answer if the above can be expected to work or not, but I suspect that it would be easier and less errorprone to do as follow: 1) Make backups of all data 2) Delete the old RAID array. 3) Create a new array from scratch 4) Restore data from backups) -- Erik Trulsson ertr1013@student.uu.se