1

Safety of write cache on SATA drives with barriers

view story
linux-howto

http://serverfault.com – I've been reading lately about write caching, NCQ, firmware bugs, barriers, etc regarding SATA drives, and I'm not sure what's the best setting that would make my data safe in case of a power failure. From what I understand, NCQ allows the drive to reorder the writes to optimize performance, while keeping the kernel informed on which requests have been physically written. Write cache makes the drive serve a request much faster, because it doesn't wait for the data to be written to physical disk. I'm not sure how NCQ and Write cache mix here... Filesystems, specially journalled ones, need t (HowTos)