I have a PostgreSQL database running with ZFS, using consumer grade SATA drives. The write cache is enabled for these drives. They also support Native Command Queueing.
I am performing backups of the database every evening. However, it would be nice not to have to be concerned with losing a full day's worth of data due to a sudden power failure.
ZFS solves the issue of the write cache by demanding that drives flush changes before continuing to the next transaction. My understanding is that this only applies to certain drives.
How can I tell whether the disks in this server ARE supported by the ZFS cache flush mechanism?
I am performing backups of the database every evening. However, it would be nice not to have to be concerned with losing a full day's worth of data due to a sudden power failure.
ZFS solves the issue of the write cache by demanding that drives flush changes before continuing to the next transaction. My understanding is that this only applies to certain drives.
How can I tell whether the disks in this server ARE supported by the ZFS cache flush mechanism?