Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 05:45:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195326] New: swapon: /dev/md0: Read-only file system
Message-ID:  <bug-195326-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195326

            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@FreeBSD.org
          Reporter: rihad@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195326-8>