gmirror problems
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Nov 12 14:21:09 PST 2004
On Fri, Nov 12, 2004 at 07:04:21PM +0000, Robin Breathe wrote:
+> 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?
In theory it is possible, yes, but I doubt you can see it in practise.
You can also see some complains that slices are too big, because gmirror
cuts the last sectors from the component provider.
--
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/20041112/5075c01a/attachment.bin
More information about the freebsd-geom
mailing list