This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

ZFS_DEBUG_MODIFY activation

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Marty
NewUser
NewUser
Posts: 3
Joined: 11 Mar 2016 16:23
Status: Offline

ZFS_DEBUG_MODIFY activation

Post 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.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS_DEBUG_MODIFY activation

Post 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.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Marty
NewUser
NewUser
Posts: 3
Joined: 11 Mar 2016 16:23
Status: Offline

Re: ZFS_DEBUG_MODIFY activation

Post by Marty »

raulfg3 wrote: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.
It can reduce possiblity of problem with ZFS and non-ECC RAM

http://arstechnica.com/civis/viewtopic. ... #p26303271

Marty
NewUser
NewUser
Posts: 3
Joined: 11 Mar 2016 16:23
Status: Offline

Re: ZFS_DEBUG_MODIFY activation

Post by Marty »

So that...it is correct form of command?

zfs set ZFS_DEBUG_MODIFY=on

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS_DEBUG_MODIFY activation

Post 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.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

erik
experienced User
experienced User
Posts: 83
Joined: 14 Jul 2014 09:45
Status: Offline

Re: ZFS_DEBUG_MODIFY activation

Post 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

Code: Select all

sysctl vfs.zfs.debug=0x10
This will enable the in memory checksumming to reduce the chance of an unnoticed buffer corruption.
primary NAS: 2*8Tb raidz1, backup NAS: 6*2TB raidz2, remote backup NAS: 3*2TB raidz1 : All NAS4Free 11.0

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS_DEBUG_MODIFY activation

Post by raulfg3 »

Thanks a lot erik, and sorry that my answer do not work, I strike the post to avoid confusion.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “ZFS (only!)”