Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2008 00:54:49 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Mark Sams <msams992000@yahoo.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: atacontrol missing drive after upgrade to 6.3
Message-ID:  <20081119235449.GA23556@owl.midgard.homeip.net>
In-Reply-To: <478001.37886.qm@web36105.mail.mud.yahoo.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081119235449.GA23556>