Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2009 20:55:40 +0100
From:      Andrew Brampton <brampton+freebsd-fs@gmail.com>
To:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Auto mount and ignore errors
Message-ID:  <d41814900903311255s12105cedj61b498aa207d0dbf@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Recently my server hung on a reboot because it was unable to fsck a
ext2 file system. This was because I didn't have the ext2 fsck tool
installed (I do now). The partition in question was however not
important, yet I listed it as "auto" in fstab. I would have preferred
if my server noticed the problem, failed to mount it and just continue
booting as normal. I tried the "late" option in the fstab but that
just seem to hang the server later in the boot.

So my question is, is there a fstab option which will ignore a failed
mount, and if possible continue to boot? I've read the man page, and
did a bit of googling, but didn't find anything. Would there be any
objection to a patch which implemented a "ignerror" flag?

thanks
Andrew



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