7.0/i386 to 8.0/amd64 - gmirror/gstripe migration

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu May 20 05:40:51 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20/05/2010 24:03:17, Amaru Netapshaak wrote:
> I am planning to move from 7.0-REL-i386 to 8.0-REL-amd64 
> in the near future.  My OS drive is a single
> ata-133 80gb drive, and 
> my data drives are four 1.5TB SATA drives.  6TB total, configured as 2x 
> 3TB 
> 'gstripe' volumes, and I am using gmirror to mirror those 
> gstripe volumes.  I hope that makes sense.

Errr... the usual way of doing this is to create mirrored pairs of
drives and then stripe the mirrors together (a.k.a RAID10 -- creating a
pair of stripes and then mirroring them is RAID0+1).  There's very
little difference in performance characteristics between the two, but
RAID10 is more failure resistant.  Think about what happens if you lose
one drive. In the RAID10 case one mirror pair runs in degraded mode. In
the RAID0+1 case, one stripe -- half of your drives -- is out of action.

> In any case, I'd like 
> to just unplug the drives, do my upgrade, plug the drives back in, and 
> startup the
> array as I have in 7.0.    I'm planning to just do a 
> fresh install of 8.0 on a new SATA 80GB drive and
> make that my new OS drive. 

Should be fine.  I've done source upgrades from 7.x to 8.0 and gmirror
has "just worked."

If your old 7.0 drive is still in decent working order, it might be an
idea to set up the new 8.0 drive as half of a gmirror, and then reuse
the 7.0 drive as the other half once you're happy that the upgrade
succeeded.  If the disks aren't identical, you'll need to make sure that
the new 8.0 disk is not bigger than the old 7.0 drive -- look at the
number of sectors on each disk for the best comparison.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv0y14ACgkQ8Mjk52CukIxK6wCdE9AEVBJbvT3IjT3CWpcYaam4
mk0An03OU96lPTtF7VigcT976Qr1ssdf
=3yzZ
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list