User manual

Using S.M.A.R.T. Disk Monitor 31
SANTOOLS® is registered in US Patent and Trademark Office No 3,107,854 All rights reserved.
1.8 Configuring for Automatic Start Up at Boot
If you are running a UNIX or LINUX operating system, the configure script invoked at installation will ask you if you
want your O/S to automatically start the program when your computer enters the multi-user mode. It will prompt you
for your desired settings, such as polling period and email address to send alerts to.
Windows-family users can utilize standard tools to invoke this program automatically at boot time by just configuring it
in the startup folder with the appropriate options.
Notes for Apple users:
If you inform the installer that you want the program to launch at boot time, it makes the appropriate entries in the
/Library/StartupItems/smartmon-ux directory. The program executable, however, will still be installed as
/etc/smartmon-ux.
Notes for Windows users:
When the program is installed as a windows service (-serviceinstall ), it will be configured to autolaunch at system
boot time. You can change this parameter by launching the service control manager applet and configuring the
software to run as a manual process. If you wish the service routine to manually launch after boot, use the service
control applet (from control panel) to configure the program for manual startup.
See the Running as a Windows Service section for full information.
We made significant modifications in version 1.35 so it runs as a service under Windows Vista, and Windows 2008,
and so it automatically launches at power-up.
1.9 Corrupt Data Block
This function was introduced in release 1.28.
This function is generally used to corrupt ECC data on a particular block in order to test proper operation of data
integrity checks, error logging, and mirroring/RAID hardware and software. Once you corrupt a block, the next read
operation to that block will fail with an unrecovered read error (3/11). The block will stay corrupted until it is read or
written to. When an application writes to that block, it will automatically be remapped by the disk drive and the error
will be cleared.
Use this function to make sure your RAID hardware, host O/S, mirroring software, or diagnostic software reacts
appropriately when you read from that block. You may also use this command to insure that the problem is picked up
by self-test programs and operating system utilities. The block number must be a numeric number ranging from 0 to
the last block number on the disk.
Syntax
smartmon-ux -rc BLOCKNUMBER devicename
where
BLOCKNUMBER is a decimal number for the block number.
Example
smartmon-ux -rc 12345678 /dev/sg3
Only one block can be corrupted at a time, but this is generally not an issue since one would typically only want to
corrupt one or two blocks. The program will immediately execute and return. SANTOOLS uses both the READ
LONG and WRITE LONG commands to determine the length of the ECC field for each block and to corrupt the data.
14
14