Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2004 12:11:19 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        Current <freebsd-current@FreeBSD.org>
Subject:   Re: panic: swap_pager_isswapped: failed to locate all swap meta blocks
Message-ID:  <20040925171119.GA90839@dan.emsphone.com>
In-Reply-To: <20040925095549.GH9550@darkness.comp.waw.pl>
References:  <7m7jqjhojv.wl@black.imgsrc.co.jp> <20040924122508.GG9550@darkness.comp.waw.pl> <20040924143224.GG47816@dan.emsphone.com> <20040925095549.GH9550@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040925171119.GA90839>