Hello,

1) do synchronous writes (zil is only used for sync writes with o_sync) and
2) make sure your block size for the local filesystem you write to is <=32k. Writes larger than a certain limit (I thin it is 32k but I may be wrong) are not using the zil. There is control functionality on the way to force ZIL usage for all writes - but not available in SNV yet.

The default block size for filesystems is 128k -> no zil is used, also for synchronous writes.

You can check with:

zfs get recordsize mypool/myfs

Regards,
Robert

The one place I can not get the ZIL to be used is with a local zfs volume. Is there a ZFS setting like wcd that I should be setting to get the local filesystem to use the ZIL.

Thanks again.
Jon
  

_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to