From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 22 14:58:16 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B146B38 for ; Mon, 22 Dec 2014 14:58:16 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 033CE601 for ; Mon, 22 Dec 2014 14:58:16 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBMEwFdd070169 for ; Mon, 22 Dec 2014 14:58:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196192] New: failok option in /etc/fstab is not honored by fsck Date: Mon, 22 Dec 2014 14:58:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: citrin+pr@citrin.ru X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 14:58:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196192 Bug ID: 196192 Summary: failok option in /etc/fstab is not honored by fsck Product: Base System Version: 10.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: citrin+pr@citrin.ru I have servers with failok option in /etc/fstab, like /dev/ada3 /spool/3 ufs rw,noatime,noexec,failok 0 2 I expect, that server can boot if ada3 fails. In practice server fails to boot and drops to single used mode with message like: THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: ufs: /dev/ada3 (/spool/3) Unknown error; help! ERROR: ABORTING BOOT (sending SIGTERM to parent)! In fstab(5) failok documented as: If the option =E2=80=9Cfailok=E2=80=9D is specified, the system will ignore= any error which happens during the mount of that filesystem, which would otherwise cause the system to drop into single user mode. But this option is not useful without fsck support. How to fix: fsck -p should ignore non-existing (non-readable) device for mount points w= ith "failok" option. --=20 You are receiving this mail because: You are the assignee for the bug.=