umount and data is lost?
Nadav Har'El
nyh at math.technion.ac.il
Sun Nov 6 19:24:06 IST 2011
On Sun, Nov 06, 2011, Oleg Goldshmidt wrote about "Re: umount and data is lost?":
> > Does "hdparm -F" perhaps help? (after the umount, before the reboot)
>
> Eh, "hdparm -f" I guess?
I don't know, I didn't actually test what these do, but according to the
hdparm(8) manual page,
-f Sync and flush the buffer cache for the device on exit. This
operation is also performed internally as part of the -t and -T
timings and other options.
-F Flush the on-drive write cache buffer (older drives may not
implement this).
So -f sounds relevant, but I can't really say for sure what they mean
("on exit"? exit from what?). But "-F" sounds exactly what I wanted.
You can try both, and tell us if one of them helped.
--
Nadav Har'El | Sunday, Nov 6 2011,
nyh at math.technion.ac.il |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |"I don't use drugs, my dreams are
http://nadav.harel.org.il |frightening enough." -- M. C. Escher
More information about the Linux-il
mailing list