Enabling, Disabling, Controlling S.M.A.R.T.

Top  Previous  Next

Enabling S.M.A.R.T. Polling

SMARTMon-UX enables S.M.A.R.T. polling by default.  If you invoke the program with no options at all, the program will scan for all disk drives, enable S.M.A.R.T. as each disk is discovered, and relaunch into the background after information has been reported. Details for each operating system is described with additional details in the Principles of Operation section.

 

If you are running a Windows-family O/S, the MS-DOS box will stay open and the program will continue to run in that window. That is because the O/S does not provide a convenient method to run a command-line program as a background job.

 

Turning off S.M.A.R.T.

With version 1.23, we added a new command option, -p. This command option searches for all SCSI & fibre channel disks, checks to see if S.M.A.R.T. is turned on, and disables it. When all of the devices have been scanned, it exists the program.  The -p option also reports what state that S.M.A.R.T. was in for the selected disks as they are discovered.

 

Example:        ./smartmon-ux -p  /dev/sga /dev/sgb   (Disables S.M.A.R.T. for these two disks)

               ./smartmon-ux -p                                        (Disables S.M.A.R.T. for all disks)

 

               (Substitute -pp for -p in commands above to make the change non-volatile, so S.M.A.R.T. stays off even after recycling power).

 

Notes:

Enabling S.M.A.R.T. for SCSI and Fibre Channel disks requires making a change to mode page 1C.  Per the S.M.A.R.T. specification, we do not make the change permanent by programming the device using the saved mode page.  We only modify the currentmode page.  That means once you recycle power on your disk drives, the disk will revert to whatever state it was in before invoking SMARTMon-UX.

 

If you wish to permanently configure your disk so that S.M.A.R.T. is always enabled (or disabled) at power-on, you will need to make appropriate changes to the disk's mode page using the mode page editor function. This can be done by using either the -mpimport or -B commands.

 

As always, never make changes to mode pages unless you know what you are doing. We suggest that if you want to disable S.M.A.R.T., use the new -p command described in this section.  If you want to disable S.M.A.R.T., so it stays disabled, even after power cycles, then use the -pp command.

 

You should also look at the Mode Page 1C settings which provide more information on these and related topics.