gemor mirror and priority
Stefan Lambrev
stefan.lambrev at moneybookers.com
Fri Mar 20 09:57:08 PDT 2009
Greetings,
Is this still correct:
Note that you want to insert the remote disk into the mirror first.
The disk in the mirror with the highest priority gets used first if
you set the balance algorithm to 'prefer'--it seems like a good idea
to make sure that's the local disk... The first item inserted in the
mirror automatically gets a priority of 0. There is a documented
limitation of gmirror--you can't change the priority of a component
after it's added. If you add the local disk first and the filesystem
is live (being changed), you'll need to do a full sync, then remove
the local disk, and then add the local disk back with a higher
priority and complete another full sync--which can take some time over
the network.
Or in other words - priority=0 means lowest or highest priority for
reading from geom mirror?
--
Best Wishes,
Stefan Lambrev
ICQ# 24134177
More information about the freebsd-stable
mailing list