Index: gmirror.8 =================================================================== RCS file: /usr/repo/src/sbin/geom/class/mirror/gmirror.8,v retrieving revision 1.18 diff -u -p -r1.18 gmirror.8 --- gmirror.8 25 Oct 2005 13:45:07 -0000 1.18 +++ gmirror.8 8 Mar 2006 08:14:18 -0000 @@ -282,6 +282,45 @@ gmirror deactivate data da1 dd if=/dev/da1 of=/backup/data.img bs=1m gmirror activate data da1 .Ed +.Sh NOTES +Doing kernel dumps to the +.Nm +providers. +.Pp +This is possible, but some conditions have to be meet. +First of all, kernel dump will go only to one component and +.Nm +choose always component with the higest priority. +Reading dump from the mirror on boot will only work if prefer balance algorithm +is used (that way +.Nm +will read only from the component with the higest priority). +If you use different balance algorithm, you should add: +.Bd -literal -offset indent +gmirror configure -b prefer data +.Ed +.Pp +to the +.Pa /etc/rc.early +script and: +.Bd -literal -offset indent +gmirror configure -b round-robin data +.Ed +.Pp +to the +.Pa /etc/rc.local +script. +The decision which component to choose for dumping is made when +.Xr dumpon 8 +is called. +If on the next boot component with higher priority will be available, perfer +algorithm will choose to read from it and +.Xr savecore 8 +will find nothing. +If on the next boot component with the higest priority will be synchronized, +prefer balance algorithm will read from the next one, thus will find nothing +there. +.Ed .Sh SEE ALSO .Xr geom 4 , .Xr geom 8 ,