Date: Sun, 25 Jun 2006 19:06:55 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: =?ISO-8859-15?Q?V=E1clav_Haisman?= <V.Haisman@sh.cvut.cz> Cc: freebsd-stable@freebsd.org Subject: Re: Setting up GEOM mirror Message-ID: <449ED0BF.90001@infracaninophile.co.uk> In-Reply-To: <449ECDD1.8070407@sh.cvut.cz> References: <449ECDD1.8070407@sh.cvut.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Václav Haisman wrote: > Hi, > I want to set up GEOM mirror of whole existing partitioned 250G disk. > The procedure described at <http://people.freebsd.org/~rse/mirror/> > seems to be rather long/complicated. I thought about using this: > > # Boot into single user, then... > # First change fstab. > cp -p /etc/fstab /etc/fstab.orig > sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' </etc/fstab.orig >/etc/fstab > # Then create the mirror. > gmirror label -v -b split -s 2048 mymirror ad0 > gmirror insert -h mymirror ad2 > # Reboot into the new World order. > shutdown -r now > > Will this work or is it wrong? I appreciate any comment to this. http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEntDF8Mjk52CukIwRA/r+AJ0WjcKvyAy6uya4xpCVqQJXh6cd/wCaAx+p ziREkEJhzliDsRYPwYcK2Yo= =BeKB -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449ED0BF.90001>
