[Bug 195458] Hang on shutdown/root unmount after FreeBSD 10.1R upgrade
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 10 22:14:20 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195458
--- Comment #24 from ncrogers at 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.
More information about the freebsd-bugs
mailing list