On Fri, Apr 25, 2008 at 9:22 AM, Robert Milkowski <[EMAIL PROTECTED]> wrote: > Hello andrew, > > Thursday, April 24, 2008, 11:03:48 AM, you wrote: > > a> What is the reasoning behind ZFS not enabling the write cache for > a> the root pool? Is there a way of forcing ZFS to enable the write cache? > > The reason is that EFI labels are not supported for booting. > So from ZFS perspective you put root pool on a slice on SMI labeled > disk - the way currently ZFS works it assumes in such a case that > there could be other slices used by other programs and because you can > enable/disable write cache per disk and not per slice it's just safer > to not automatically enable it. > > If you havoever enable it yourself then it should stay that way (see > format -e -> cache)
So long as the zpool uses all of the space used for dynamic data that needs to survive a reboot, it would seem to make a lot of sense to enable write cache on such disks. This assumes that ZFS does the flush no matter whether it thinks the write cache is enabled or not. Am I wrong about this somehow? -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss