Re: [zfs-discuss] Disabling disks' write-cache in J4200 with ZFS?

2008-08-03 Thread Richard Elling
Todd E. Moore wrote: I'm working with a group that wants to commit all the way to disk every single write - flushing or bypassing all the caches each time. The fsync() call will flush the ZIL. As for the disk's cache, if given the entire disk, ZFS enables its cache by default. Rather

Re: [zfs-discuss] Disabling disks' write-cache in J4200 with ZFS?

2008-08-02 Thread Carson Gaspar
Todd E. Moore wrote: I'm working with a group that wants to commit all the way to disk every single write - flushing or bypassing all the caches each time. The fsync() call will flush the ZIL. As for the disk's cache, if given the entire disk, ZFS enables its cache by default. Rather than ZFS

Re: [zfs-discuss] Disabling disks' write-cache in J4200 with ZFS?

2008-08-02 Thread Neil Perrin
Carson Gaspar wrote: Todd E. Moore wrote: I'm working with a group that wants to commit all the way to disk every single write - flushing or bypassing all the caches each time. The fsync() call will flush the ZIL. As for the disk's cache, if given the entire disk, ZFS enables its cache by

[zfs-discuss] Disabling disks' write-cache in J4200 with ZFS?

2008-08-01 Thread Todd E. Moore
I want to disable write cache on the disk drives in our J4200 JBODs so that fsync() actually writes to disk, not just to the cache on the drive. I did this using 'format -e', but it displays a warning about the drive being part of a zpool and also it says that the change is not permanent.

Re: [zfs-discuss] Disabling disks' write-cache in J4200 with ZFS?

2008-08-01 Thread Richard Elling
Todd E. Moore wrote: I want to disable write cache on the disk drives in our J4200 JBODs so that fsync() actually writes to disk, not just to the cache on the drive. ZFS will do this for you, via the way the ZIL works. Neil explains it pretty well at