Setting up GEOM mirror
Václav Haisman
V.Haisman at sh.cvut.cz
Sun Jun 25 17:54:54 UTC 2006
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.
--
Vaclav Haisman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 544 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060625/8c0bb62c/signature.pgp
More information about the freebsd-stable
mailing list