Shuffling GEOM mirror components

illoai at illoai at
Sun Mar 16 20:10:18 UTC 2008

On 16/03/2008, Omar Siddique <omar at> wrote:
> Hi folks,
>  I've been using GEOM mirror, and plan to expand my usage.  I was wondering
>  how easy it is to deal with physical moves of the component drives of a
>  mirror.
>  Eg, I have this GEOM mirror, and I migrate the hardware.  What's now ad6
>  becomes ad4 and ad7 becomes ad6.  What's the recommended way to do this,
>  or does it "just work" when GEOM discovers the providers in their new
>  locations?
>  > gmirror status
>          Name    Status  Components
>  mirror/odata  COMPLETE  ad6
>                          ad7
>  I checked manpages and handbook but didn't see any info there.
>  (running on FreeBSD 6.3-RELEASE)

geom tastes every hard drive it can for that
bacony goodness in the last few tracks
and is, in that way, as automagical as you
could want.  Since all the mirrhour info  is
contained in these meta-data (including
the massively overbitted $id_number of
any additional providers) as long as they're
there, it should attach just fine.

Nice way of solving that old:
"My scsi controllers probe in dif'rent order
every boot and da6 bekommt da9 some-
times, help?"


More information about the freebsd-questions mailing list