Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

savecore(8) doesn't find dump


on a 4.99.47 i386 system, savecore(8) is unable to save a dump even
though the dump seems to have been created successfully:

        $ shutdown -d now
        Shutdown NOW!
        syncing disks... done
        unmounting file systems... done
        dumping to dev 0,1 offset 1141767
        dump 1014 1013 1012 [...] 3 2 1 succeeded

...but during the next boot savecore(8) doesn't find any dump.

Hmm, the offset printed by the kernel before dumping differs from the
dump device's offset:

        $ swapctl -z
        dump device is wd0b
        $ disklabel wd0 | grep b:
         b:   3219456  31719808       swap [...]

Is this ok, i.e. block != sector, or is this the source of my problem
(sector 1141767 is somewhere outside my NetBSD partition...)?

TIA, Jukka

bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

Home | Main Index | Thread Index | Old Index