On Tue, Sep 20, 2016 at 1:43 AM, Jan Stary <h...@stare.cz> wrote:
>
> This is current/i386 on an ALIX.1E (demsg below).
> I have an USB disk connected for /backup.
>
> Upon every reboot, the filesystem on that disk is dirty:
> WARNING: R/W mount of /backup denied.  Filesystem is not clean - run fsck


I saw something similar on an APU where the root disk was on
(USB-attached) sdcard:
http://marc.info/?l=openbsd-misc&m=144237305322074&w=2

It seems to be a race.  There used to be a 4sec pause in the kernel
that was removed:

"""
Remove 4 second delay on reboot/shutdown that was added 8 years
ago to "workaround MP timeout/splhigh/scsi race at reboot time".
"""

> It seems that it does not get properly umounted when shutting down.
> I added 'umount /backup' to my rc.shutdown and that works around it.
>
> However, what could be causing this?

I suspect your addition to the shutdown script makes the unmount early
enough that it has time to complete whatever operation it's trying to
complete.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Reply via email to