conf/122968: md swapfile multiplication after init 1
Paul
onemda at gmail.com
Mon Apr 21 18:30:04 UTC 2008
>Number: 122968
>Category: conf
>Synopsis: md swapfile multiplication after init 1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 21 18:30:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Paul
>Release: FreeBSD 8.0 Current
>Organization:
>Environment:
FreeBSD i386 8.0 Current
>Description:
Having swapfile defined in rc.conf
will create duplication of memory disk device after executing init 1 as root
swapinfo will report md0 and md1 as swapdevices and top will report duplicated (2x) swap (impossiblie)
I did not look if other problems may arise when this error happen (swap was not used at all)
>How-To-Repeat:
create swapfile with dd (as explained in handbook) and add its full name in /etc/rc.conf
notice swapinfo and top output after executing # init 1
>Fix:
Before adding swapfile check if it already exist with mdconfig -l -u X
where X is mdX number of previous swapfile.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list