-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-10-08 13:29, Greg Freemyer wrote:
On October 8, 2014 6:36:55 AM EDT, "Carlos E. R." <> wrote:
Provoking a fake fault in order to see if the notification works I don't know how to do.
Create a trash file with a small amount of data in it.
Figure out which physical sectors the data lives on.
Flush the disk cache. (Drop cache)
Use "hdparm --make-bad-sector" to temporarily trash one of those sectors. It will force an internal disk crc failure for the sector. (Hdparm does direct i/o and will bypass the kernel cache.)
Then access the file (cp trash1 trash2).
You should get an I/O error on the cp.
When you're done "hdparm --repair-sector" should undo the damage.
My hair is standing up in my back... yiks! :-) - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlQ1IZMACgkQtTMYHG2NR9UEJgCbBbVQ8yBDiZJh512/r1MfARvi kVIAn2334FXUcEdGMOU2Fs4PPzdN7HMt =Pztq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org