Re: panic: swap_pager_isswapped: failed to locate all swap meta blocks

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Sat, 25 Sep 2004 12:11:19 -0500
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
dirty.

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Sat Sep 25 2004 - 15:11:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC