MLUG: Re: [MLUG - DISCUSSION] "missing" files after hard crash or power failure
Re: [MLUG - DISCUSSION] "missing" files after hard crash or power failure
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 4/2/07, George Robb <EMAIL:PROTECTED> wrote:
There is a package for playing with the cache / drive parameters in
general...  hdparm

http://freshmeat.net/projects/hdparm/

http://www.linuxdevcenter.com/pub/a/linux/2000/06/29/hdparm.html

A simple hdparm /dev/<your drive here (not partition)>  will tell the
current parameters.

Good point that if there is a large cache on the drives or if they
are on a RAID controller there could be some serious data floating in
cache.

;)

Does sync() cause the data to be written? I'm guessing no, since the man page says:

    According  to the standard specification (e.g., SVID), sync() schedules
    the writes, but may return before the actual writing is done.  However,
    since  version  1.3.20  Linux does actually wait.  (This still does not
    guarantee data integrity: modern disks have large caches.)

Regards,
Mark
EMAIL:PROTECTED
--
Most of the time,
for most of the world,
no matter how hard people work at it,
nothing of any significance happens.
    -- Weinberg's Law

_______________________________________________
discussion mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/discussion