Page 1 of 1
ZFS_DEBUG_MODIFY activation
Posted: 11 Mar 2016 16:34
by Marty
Hi guys,
I would like to use ZFS_DEBUG_MODIFY flag for my ZFS pool.What file needs to be edited? Thank you for your help.
Re: ZFS_DEBUG_MODIFY activation
Posted: 11 Mar 2016 17:27
by raulfg3
You need to use CLI or shell an modify desired flag.
zfs set: https://www.freebsd.org/cgi/man.cgi?zfs%288%29
and please tell us why you need so strange thing.
Re: ZFS_DEBUG_MODIFY activation
Posted: 11 Mar 2016 18:22
by Marty
It can reduce possiblity of problem with ZFS and non-ECC RAM
http://arstechnica.com/civis/viewtopic. ... #p26303271
Re: ZFS_DEBUG_MODIFY activation
Posted: 11 Mar 2016 18:46
by Marty
So that...it is correct form of command?
zfs set ZFS_DEBUG_MODIFY=on
Re: ZFS_DEBUG_MODIFY activation
Posted: 11 Mar 2016 22:15
by raulfg3
I never have problem with non ECC RAM and board.
My point is:
1 if I store only internet download video & Music, ECC is not needed, you can always download a working version of your favorite film / series /music.
2 if you want to store valuable data like personal photos , do not store only in one site, use Dropbox, and other simmilar services, so Why you need ECC?.
3 If you really need ECC, to avoid data corruption, USE ECC and Board that support it, do not use workarrounds and normal boards, use proffesional grade motherboard with ECC.
Re: ZFS_DEBUG_MODIFY activation
Posted: 14 Mar 2016 12:59
by erik
In system/advanced/sysctl.con set vfs.zfs.debug to 0x10
And issue the command sysctl vfs.zfs.debug to see if the value is accepted
If not set it manually to check it this works
This will enable the in memory checksumming to reduce the chance of an unnoticed buffer corruption.
Re: ZFS_DEBUG_MODIFY activation
Posted: 14 Mar 2016 13:25
by raulfg3
Thanks a lot erik, and sorry that my answer do not work, I strike the post to avoid confusion.