Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2015 21:46:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197356] mountlate is too fast for some iSCSI / UFS configurations
Message-ID:  <bug-197356-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 197356
           Summary: mountlate is too fast for some iSCSI / UFS
                    configurations
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: prj@rootwyrm.com

In some scenarios, /etc/rc.d/mountlate is still too fast for late filesystems,
specifically observed in an iSCSI configuration. Relevant devices arrive just
slightly too late, which results in mountlate aborting and dropping to single
user.

/dev/ufs/osrc    /prod/odev/src    ufs     rw,late    0    0
/dev/ufsid/54d3d4231491292f    /opt/scratch    ufs     rw,late 0   0

Both of these entries failed due to mountlate successfully racing against
iscsictl. Rough estimate is that it's probably around 0.5s too quick.

No patch as the fix is really, really simple. Adding 'sleep 1' at line 24
(after 'err=0' before 'echo -n') in /etc/rc.d/mountlate fixes this problem with
no known side effects.

-- 
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-197356-8>