If you provide a few seconds' battery backup for the drive but not the host, then the blocks in the buffer that the drive said were on the disk get a chance to actually get there.
But then you also get the garbage that the host writes in its death throes (e.g. update of a random sector) while the drive is still up.
To really solve the problem, you need much more sophisticated shutdown sequencing.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds