SMARTCTL results

Status
Not open for further replies.

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
Hi guys,

Just a quick question, is there a way to see the SMARTCTL results in the GUI somewhere?

Couldn't find it.

I like to sometimes check out the results of my long and short scheduled tests... I do it through the CLI, but I guess having access to them from the GUI would be nice!


Thanks :)
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
You need to use the 'smartctl' command via the Web CLI or SSH:

Code:
smartctl -x /dev/ada0


Replace ada0 with your device name.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
If you use the GUI Shell (in the left hand pane), type
Code:
smartctl -a /dev/ada0 | more
or use the -x switch, where ada0 is the drive you want to look at.
 

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
Yeah I know how to check it with the CLI

I was using if there's a way to get the info straight from the GUI !

Not the shell from the GUI, I meant to ask if there was somewhere, in the GUI, that you could click and see SMARTCTL info

But thanks still ;)
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Nope, no way as of today to get the info straight from the GUI. That would be a nice feature though to have a button that allows you to view the SMART data and then another button to save the SMART data so you can post it if needed.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
I know better, it would not happen, not yet at least. Maybe in a few years once FreeNAS 10 comes out. Actually it wouldn't be a bad idea to have an add-on maybe in a jail to do something like that. It wouldn't be integrated into the GUI but someone could add a new GUI. Hummmm sounds like a small project, just not for me right now, I've got my own new server I'm getting prepared to work on.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Dagger! Say it ain't so...
I didn't mean to imply FreeNAS 10 is coming out in a few years, just request the feature after FreeNAS 10 comes out.
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
I didn't mean to imply FreeNAS 10 is coming out in a few years, just request the feature after FreeNAS 10 comes out.

But, But , Nas4Free has their version based on 10.0.. Why can't we lol ;) The GUI watches smart now for errors and will prompt alerts when applicable!
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
A great thing would be to have a tab in the GUI who read and display the content of files (each one in it's own sub-tab for example) placed in a particular directory.

That way you can log whatever you want in files in this directory and see the result in the GUI.

It should be very simple to do (basically open the file, read it, echo the content in a <div>) but very powerful for the end user. If I knew python and had some time I'd add a tab in the GUI right now... :D
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
A great thing would be to have a tab in the GUI who read and display the content of files (each one in it's own sub-tab for example) placed in a particular directory.

That way you can log whatever you want in files in this directory and see the result in the GUI.

It should be very simple to do (basically open the file, read it, echo the content in a <div>) but very powerful for the end user. If I knew python and had some time I'd add a tab in the GUI right now... :D

Agreed.. Do we have a bug (feature request\ticket) for this?
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
I don't know, sorry.
 

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
Well I'll submit a feature request and report back here.

I've been reading the comments here and that's what I thought too.

The ZFS scrub sends an email when completed, which is nice... and you can also see the status from the GUI.

But the SMART scans are completely silent, except if something goes really wrong.

It'd be nice to be able to see SMARTCTL info in the GUI such as the last extended, short, etc... tests to make sure the configured period SMART tests did take place.

Also temperature info, etc...

Maybe show this info somewhere in the "REPORTING" section could be nice.
 

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
875
Hi guys,

pfSense has a slick GUI to interface with SMART. If you use it take a look at:

Diagnostics -> S.M.A.R.T. Monitor Tools

I would love to see something like this in FreeNAS.

-Will
 
Status
Not open for further replies.
Top