Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2015 22:14:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195458] Hang on shutdown/root unmount after FreeBSD 10.1R upgrade
Message-ID:  <bug-195458-8-IQhPSLXuXd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195458-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195458-8@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #24 from ncrogers@gmail.com ---
I am in the same situation of having to do remote unattended upgrades of a few
hundred boxes... For a while now I've been using a custom rc.d script to run
tunefs before the filesystems are mounted. I am trying to use this to disable
soft-updates journaling on the root partition before the upgrade with something
like this...

cat /etc/rc.d/tunefs
#!/bin/sh

# PROVIDE: tunefs
# REQUIRE: root
# BEFORE: fsck FILESYSTEMS
# KEYWORD: nojail

. /etc/rc.subr

name="tunefs"
start_cmd="tunefs_start"
stop_cmd=":"

tunefs_start()
{
    echo -n "Tuning devices..."
    tunefs -j disable /
}

load_rc_config $name
run_rc_command "$1"


Perhaps this will help someone. The problem is that at least for me the root
filesystem comes back dirty even though it does not hang. Maybe I am not
disabling journaling correctly.

-- 
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-195458-8-IQhPSLXuXd>