atom feed7 messages in org.freebsd.freebsd-stableSetting up GEOM mirror
FromSent OnAttachments
Václav HaismanJun 25, 2006 5:54 pm 
Matthew SeamanJun 25, 2006 6:06 pm 
Mike JakubikJun 25, 2006 6:13 pm 
Václav HaismanJun 25, 2006 7:33 pm 
Václav HaismanJun 25, 2006 7:34 pm 
Vivek KheraJun 26, 2006 2:26 pm 
Mike JakubikJun 26, 2006 7:40 pm 
Subject:Setting up GEOM mirror
From:Matthew Seaman (m.se@infracaninophile.co.uk)
Date:Jun 25, 2006 6:06:59 pm
List:org.freebsd.freebsd-stable

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