panic: swap_pager_isswapped: failed to locate all swap meta blocks

Dan Nelson dnelson at
Sat Sep 25 10:11:25 PDT 2004

In the last episode (Sep 25), Pawel Jakub Dawidek said:
> On Fri, Sep 24, 2004 at 09:32:30AM -0500, Dan Nelson wrote:
> +> > This is indirectly caused by me. I added 'stop' method to
> +> > rc.d/swap1 script and now swapoff(8) is done on every
> +> > shutdown(8) run.
> +> > 
> +> > Will it be possible to fix it or should I made this optional?
> +> 
> +> Considering that the system is going down anyway, why bother?
> Because if you have swap on e.g. gmirror device, gmirror will rebuild
> components on every boot, because components are marked dirty - they
> were open for writing on shutdown, so it looks like a power failure.

Can you clear the flag when all writes are synched (perhaps after a
2-sec delay)?  Just because it's open for writing doesn't mean it's

	Dan Nelson
	dnelson at

More information about the freebsd-current mailing list