Problems unmounting/fssyncking extern UFS filesystem
oberman at es.net
Mon Nov 27 08:55:33 PST 2006
> Date: Mon, 27 Nov 2006 14:53:06 +0100 (CET)
> From: Oliver Fromme <olli at lurza.secnetix.de>
> Sender: owner-freebsd-stable at freebsd.org
> O. Hartmann wrote:
> > Maybe amd() dismounts to early ... Don't know. Maybe the magic
> > 'sync;sync;sync' before dismounting will help, I'll try it.
> As far as I know, that's not different from calling "sync"
> just once. It might make more sense to put a little sleep
> between the sync calls, though.
The traditional mantra was
and not sync;sync;sync. The reason was timing. By entering the sync
command three times as fast as anyone could type, the sync could
That mantra is about 25 years old, so its validity on modern hardware is
questionable, but the need for a delay is very real. I would suggest
something like: sync && sleep 5
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061127/acc72a9b/attachment.pgp
More information about the freebsd-stable