[issue1912] diskless vkernel: corrupted files after "pkg_admin check"

Rumko (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Wed Dec 1 03:25:23 PST 2010

Rumko <rumcic at gmail.com> added the comment:

More info ...
After adding some swap to the vkernel, corruption does not occur (have not been
able to repeat it). It seems that it tries to use a lot of memory and when
unable to swap, data corruption occurs, but no error can be seen anywhere (other
than the data disappearing).
In my instance, after pkg_admin's check was finished, ~30MB of swap was used. 

I guess the problem is in tmpfs_write/read(maybe even buwrite)?
swap_pager_strategy should be setting ENOMEM as the error when no swap space
left, but I'm not quite sure how that propagates (if it does) to tmpfs' functions

status: unread -> chatting

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list