[Bug 195326] New: swapon: /dev/md0: Read-only file system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 24 05:45:30 UTC 2014


            Bug ID: 195326
           Summary: swapon: /dev/md0: Read-only file system
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rihad at mail.ru

I have a single fs / (no separate /var /usr etc).

This line in /etc/fstab
md                      none            swap    sw,file=/var/swap 0        0

which used to set up swap file properly in 10-STABLE a few months old, started
giving this error on startup after the upgrade to 10.1-RELEASE:

swapon: /dev/md0: Read-only file system

Adding the "late" option to fstab now fixes the issue:
... sw,file=/var/swap,late ...

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list