Email Reports - Sorry New Guy - Noob Questions...

Status
Not open for further replies.

markbris

Dabbler
Joined
Apr 29, 2017
Messages
16
Howdy everyone,

I've setup and have running the following

2 x Proliant ML10v2 with 8GB Ram, 5 x 3TBWDRed HDD's and Using two 8GB Toshiba Pen Drives (one as the master, the other in a Raid 0 Configuration with it)

The 5 Drives are configured in a Raid5 Configuration (SATA with AHCI setup on the proliant) and its been running quite nicely, the second Proliant simply is backed up to from the first machine using RSYNC

Box's are intergrated into my aged w2k3 AD, with windows 7 machines in the network (8 of them)...

My first question, as everything seems to be running okay, is this

I would like to get a daily email with

1. SMART Outputs
2. Under the reporting tab, there are lots of nice graphs, I would like to grab them as well
3. Attach any error logs to the email?

eg

generate

generate



I've done a precursory google, and cant find much about reporting (other than it was turned off by the looks of it in the later versions)

And that you need to script things (sorry, I dont know much about *nix in general... so any helps appreciated)
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
You're passing a RAID5 array to FreeNAS? That's not good... ZFS works best when you give it direct control of the drives. Are you using a RAID controller? Some RAID controllers can be configured to work as simple Host Bus Adapters (HBAs), allowing you to pass all of the drives directly to FreeNAS. You would then create a RAIDZ-1 (roughly equivalent to RAID5) or RAIDZ-2 (roughly equivalent to RAID6) array. The ZFS Primer is a good place to start learning more about ZFS.

Regarding scripts: there's a resource that includes several scripts, some of them email you status reports about your pool and the SMART status of your drives:

https://forums.freenas.org/index.ph...for-freenas-scripts-including-disk-burnin.28/

Good luck!
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Howdy everyone,

I've setup and have running the following

2 x Proliant ML10v2 with 8GB Ram, 5 x 3TBWDRed HDD's and Using two 8GB Toshiba Pen Drives (one as the master, the other in a Raid 0 Configuration with it)

The 5 Drives are configured in a Raid5 Configuration (SATA with AHCI setup on the proliant) and its been running quite nicely, the second Proliant simply is backed up to from the first machine using RSYNC

Box's are intergrated into my aged w2k3 AD, with windows 7 machines in the network (8 of them)...

My first question, as everything seems to be running okay, is this

I would like to get a daily email with

1. SMART Outputs
2. Under the reporting tab, there are lots of nice graphs, I would like to grab them as well
3. Attach any error logs to the email?

eg

generate

generate



I've done a precursory google, and cant find much about reporting (other than it was turned off by the looks of it in the later versions)

And that you need to script things (sorry, I dont know much about *nix in general... so any helps appreciated)
All this talk of raid makes my head hurt. Step 1 remove all that raid nonsense. Step 2 you don't want daily emails, you should only get an email when something is wrong. If nothing Wong why do you care what it's doing.

Sent from my Nexus 5X using Tapatalk
 

markbris

Dabbler
Joined
Apr 29, 2017
Messages
16
You're passing a RAID5 array to FreeNAS? That's not good... ZFS works best when you give it direct control of the drives. Are you using a RAID controller? Some RAID controllers can be configured to work as simple Host Bus Adapters (HBAs), allowing you to pass all of the drives directly to FreeNAS. You would then create a RAIDZ-1 (roughly equivalent to RAID5) or RAIDZ-2 (roughly equivalent to RAID6) array. The ZFS Primer is a good place to start learning more about ZFS.

Good luck!

RAID 5 - Not that I am aware of, the box has a raid controller yes, but it only supports RAID0, and that is it, So rather than having it do Raid 0, then putting a raid on top of it, I've choosen to have them all reporting as individual drives, and then freenas has made them into a raid ..

Will look through the examples :)

upload_2017-5-1_16-1-43.png


upload_2017-5-1_16-3-5.png
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
RAID 5 - Not that I am aware of, the box has a raid controller yes, but it only supports RAID0, and that is it, So rather than having it do Raid 0, then putting a raid on top of it, I've choosen to have them all reporting as individual drives, and then freenas has made them into a raid ..
I merely took you at your word when you said:
The 5 Drives are configured in a Raid5 Configuration...
We occasionally have users here who actually do pass RAID arrays to FreeNAS, so you'll understand why I thought you were one of them. I assume you meant 'RAIDZ1' when you wrote 'RAID5'.

In any case, now that we've cleared that up... Have you had a chance to look at the scripts? And note that you'll want to schedule both short and extended SMART tests for your drives from the GUI (at Tasks->S.M.A.R.T. Tests).

Good luck!
 
Status
Not open for further replies.
Top