Re: Problems unmounting/fssyncking extern UFS filesystem
- From: "Kevin Oberman" <oberman@xxxxxx>
- Date: Mon, 27 Nov 2006 08:41:19 -0800
Date: Mon, 27 Nov 2006 14:53:06 +0100 (CET)
From: Oliver Fromme <olli@xxxxxxxxxxxxxxxxx>
Sender: owner-freebsd-stable@xxxxxxxxxxx
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
sync
sync
sync
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
reliably complete.
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@xxxxxx Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
Attachment:
pgpRPSSPslIGe.pgp
Description: PGP signature
- Follow-Ups:
- Re: Problems unmounting/fssyncking extern UFS filesystem
- From: Chuck Swiger
- Re: Problems unmounting/fssyncking extern UFS filesystem
- From: Peter Jeremy
- Re: Problems unmounting/fssyncking extern UFS filesystem
- References:
- Re: Problems unmounting/fssyncking extern UFS filesystem
- From: Oliver Fromme
- Re: Problems unmounting/fssyncking extern UFS filesystem
- Prev by Date: rc doesn't see my script on boot
- Next by Date: Re: nystagmu
- Previous by thread: Re: Problems unmounting/fssyncking extern UFS filesystem
- Next by thread: Re: Problems unmounting/fssyncking extern UFS filesystem
- Index(es):