gmirror: degraded, Component ad4 (device gm0) broken, skipping.
lists at jnielsen.net
Wed Feb 14 20:22:31 UTC 2007
On Wednesday 14 February 2007 15:13, Brian A. Seklecki wrote:
> > gmirror insert gm0 ad4
> The big question is:
> In your example, ad4 has already been "prepped" for use in as a component
> in the gmirror by ....?
> Or will it just overwrite anything on ad4 regardless?
No prep is necessary when using raw devices such as ad4. The insert operation
will overwrite everything (or the first $VOLUME_SIZE blocks) on ad4 with the
contents of the mirror.
Obviously if you want to use only a portion of a drive as a gmirror consumer
then the drive should be fdisk'ed and/or bsdlabel'ed and the device name of
the slice or partition (e.g. ad4a, ad4s1, or ad4s1a depending) should be used
instead of ad4 as the gmirror consumer.
More information about the freebsd-questions