[Bug 178818] gmirror(8) says to use rc.early which is no longer available

bz-noreply at freebsd.org bz-noreply at freebsd.org
Tue Jun 10 14:08:00 UTC 2014


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

--- Comment #4 from Lawrence Chen <beastie at tardisi.com> ---
Discovered the dumpon script wasn't working as expected...turns out its because
I have /usr as a separate filesystem and dumpon is called before such things
are mounted.  So it can't find 'grep' (/usr/bin/grep), other commands reside in
/sbin or /bin....

But, in bug 190152 it sounds like the modification to dumpon is unnecessary.

Since my balance preference is for 'load' (the default) and savecore (at least) 
needs to get switched to 'prefer'...I just hard coded both dumpon and savecore
on my system to switch to prefer and then back to load.

Perhaps, an rc.conf variable to specify what balance preference is used
(possibly defaulting to 'load' if not set), to avoid trying to grep the output
of 'gmirror list <name>'.

'grep' works in savecore, since its called much later...well after FILESYSTEMS
(in fact between NETWORKING and SERVERS...closer to SERVERS.)  Guess its
fortunate that nothing has touched swap during up to this point, because swapon
is done a little after dumpon.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list