panic: swap_pager_isswapped: failed to locate all swap meta blocks

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Oct 18 01:54:10 PDT 2004


On Sun, Sep 26, 2004 at 06:07:47AM +1000, Peter Jeremy wrote:
+> On Sat, 2004-Sep-25 11:55:49 +0200, Pawel Jakub Dawidek wrote:
+> >On Fri, Sep 24, 2004 at 09:32:30AM -0500, Dan Nelson wrote:
+> >+> 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.
+> 
+> As an alternative approach, rather than marking swap clean on a
+> shutdown, why not have a flag in the object's metadata that says "this
+> object doesn't need synchronising on a reboot".  If the flag is set,
+> then gmirror just sets both sides as synchronised and active on boot.
+> This is the approach taken by HP Tru64 LSM.  (Though one improvement
+> you could make over LSM would be to document the flag).

Such a flag only makes sense for the whole mirror, not selected components,
right?
This doesn't fix the case when one has file systems and swap on the same
mirror, but could be helpful in some cases.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041018/18da191e/attachment.bin


More information about the freebsd-current mailing list