How can I verify if the ZIL has been disabled or not? I am trying to see how much benefit I might get by using an SSD as a ZIL. I disabled the ZIL via the ZFS Evil Tuning Guide: echo zil_disable/W0t1 | mdb -kw and then rebooted. However, I do not see any benefits for my NFS workload. Thanks, Scott -- This message posted from opensolaris.org
On 09/23/09 10:59, Scott Meilicke wrote:> How can I verify if the ZIL has been disabled or not? > > I am trying to see how much benefit I might get by using an SSD as a ZIL. I disabled the ZIL via the ZFS Evil Tuning Guide: > > echo zil_disable/W0t1 | mdb -kw- this only temporarily disables the zil until the reboot. In fact it has no effect unless file systems are remounted as the variable is only looked at on mount.> > and then rebooted. However, I do not see any benefits for my NFS workload.To set zil_disable from boot put the following in /etc/system and reboot: set zfs:zil_disable=1 Neil
Le 23 sept. 09 ? 19:07, Neil Perrin a ?crit :> > > On 09/23/09 10:59, Scott Meilicke wrote: >> How can I verify if the ZIL has been disabled or not? I am trying >> to see how much benefit I might get by using an SSD as a ZIL. I >> disabled the ZIL via the ZFS Evil Tuning Guide: >> echo zil_disable/W0t1 | mdb -kw > > - this only temporarily disables the zil until the reboot. > In fact it has no effect unless file systems are remounted as > the variable is only looked at on mount. >Scott, just setting it; zfs umount xxx; zfs mount xxx and then run your experiment. Directly compare fast/incorrect xxx dataset with slower/correct yyy mount point. No need to reboot.>> and then rebooted. However, I do not see any benefits for my NFS >> workload. > > To set zil_disable from boot put the following in /etc/system and > reboot: > > set zfs:zil_disable=1 >Actually you need to have these 2 lines or it won''t work : **** TEMPORARY zil disable on non-production system; Sept 23 for a test by XXXX ***** set zfs:zil_disable=1 -r> Neil > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2431 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090923/176e9010/attachment.bin>
Thank you both, much appreciated. I ended up having to put the flag into /etc/system. When I disabled the ZIL and umount/mounted without a reboot, my ESX host would not see the NFS export, nor could I create a new NFS connection from my ESX host. I could get into the file system from the host itself of course. -Scott -- This message posted from opensolaris.org
On 23 September, 2009 - Scott Meilicke sent me these 0,5K bytes:> Thank you both, much appreciated. > > I ended up having to put the flag into /etc/system. When I disabled > the ZIL and umount/mounted without a reboot, my ESX host would not see > the NFS export, nor could I create a new NFS connection from my ESX > host. I could get into the file system from the host itself of course.zfs share -a /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se