https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178818

Oleksandr Tymoshenko <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]             |[email protected]
          Component|Documentation               |Manual Pages
                 CC|                            |[email protected]

Christian Baltini <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Christian Baltini <[email protected]> ---
I have addressed this like so:

This rc.d script fires before savecore and changes the balance to "prefer" and
ensures that a specified GEOM provider has a specified priority.

https://github.com/openspork/freebsd-nas/blob/master/usr/local/etc/rc.d/gmirror_prefer

This rc.d script fires after savecore and changes the balance back to whatever
is specified in rc.conf (or wherever).

https://github.com/openspork/freebsd-nas/blob/master/usr/local/etc/rc.d/gmirror_balance

I have tested it working.

In the longer term I think it would be nice if the base system could be smart
enough to do something similar.  Until then this appears to do the trick.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to