NetBSD-Bugs archive

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

install/42148: savecore/swapctl defaults to /dev/sd0b and not to the swap entry in /etc/fstab

>Number:         42148
>Category:       install
>Synopsis:       savecore/swapctl defaults to /dev/sd0b and not to the swap 
>entry in /etc/fstab
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 03 09:45:00 +0000 2009
>Originator:     Christoph Egger
>Release:        -current (5.99.20)

On my i386 machine I have a dual boot install with NetBSD and Linux.
NetBSD is on /dev/sd0a
Linux is on /dev/sd0e
The swap partition is "shared" on /dev/sd0f.
There's no /dev/sd0b

NetBSD/i386 is fresh installed.

At boot time, swapctl -A -t noblk  enables the swap,
vmstat and top report the available swap space correctly.

savecore says '/dev/sd0b: Device not configured'

swapctl -z says 'dump device is sd0b'


Change the entry in /etc/fstab:

-/dev/sd0f              none    swap    sw               0 0
+/dev/sd0f              none    swap    sw,dp            0 0

and swapctl -z says 'dump device is sd0f'
and savecore works as expected.



sysinst should add the 'dp' switch in /etc/fstab when dump device
is redefined.

Home | Main Index | Thread Index | Old Index