gmirror problems

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Nov 8 08:45:47 PST 2004


On Mon, Nov 08, 2004 at 03:40:05PM +0100, Michael Riexinger wrote:
+> Now a last question: For setting up gmirror on my 2 hd's (the first 
+> contained a fresh freebsd installation), I had to boot from cd, using 
+> the fixit cd, chrooting a bit for loading gmirror etc. Is there an 
+> easier way for doing this? First i tried using the single user mode but 
+> there was an operation not permitted when i tried to do a 'gmirror 
+> label'. Can I for example say: Create a mirror on ad1 with the data on 
+> ad0, wait till it's built, reboot the machine from the gmirror and then 
+> insert ad0? 

Unfortunately, gmirror and other GEOM classes are not supported by our
installer.

The safest way to do what you want is to:

	# gmirror label <name> ad1
	create slices and partitions on /dev/mirror/<name>
	create file system
	copy data from ad0 to <name>
	change /etc/fstab to boot from /dev/mirror/<name>s1a or something
	reboot
	# gmirror insert <name> ad0

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20041108/32ed93e9/attachment.bin


More information about the freebsd-geom mailing list