gmirror problems

Robin Breathe robin+spam at isometry.net
Fri Nov 12 11:04:31 PST 2004


Pawel Jakub Dawidek wrote:
> 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

Are any nasty side-effects likely from slicing and newfs-ing ad1 prior 
to labelling the mirror? For example, could the gmirror metadata get 
overwritten at some later stage by writing to the end of the last slice?

Robin



More information about the freebsd-geom mailing list