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!

Reporting of ZFS events and scrubbing

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Gruelius
NewUser
NewUser
Posts: 2
Joined: 14 Nov 2012 12:58
Status: Offline

Reporting of ZFS events and scrubbing

Post by Gruelius »

Hey Guys,

Two questions:

Is scrubbing scheduled automatically?

And is there a way to report on ZFS events? i noticed i can filter to system messages, i am more concerned about things like disk failure e.t.c


If noone can answer i can setup nas4free in a VM but id rather not.. i would have tested when i setup the array but i did that under freebsd a long while ago, not going to risk my data doing so haha!

Thanks

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

Re: Reporting of ZFS events and scrubbing

Post by raulfg3 »

Gruelius wrote:Is scrubbing scheduled automatically?
NO, but you can add a cron job to meet your req, somethig like

Code: Select all

zpool scrub /mnt/mypool 
once a week, once a month , etc...

PD: I suggest to do once a month or every 4 months, because scrub is really CPU and Disk intensive, and if you use your NAS in a small Office or in Home I suppose that you do not write GB of data all days, so to check 3 times a year can be good for this scenario.
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

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: Reporting of ZFS events and scrubbing

Post by fsbruva »

I use a script to monitor the health of the disks, as well as carry out regular scrubbing. I run a scrub every Sunday morning with the zfs_scrub script, and then hourly check on the status of the pool with the zfs_status script. Both of my scripts are based on the ones found here:
Helpful Monitor Scripts

Additionally, I have setup SMART reporting that emails me when there is a hardware alert (high temp, etc).

Post Reply

Return to “ZFS (only!)”