User manual

SANtools® S.M.A.R.T. Disk Monitor (SMARTMon-UX)126
SANTOOLS® is registered in US Patent and Trademark Office No 3,107,854 All rights reserved.
./smartmon-ux -wsbyte [-16] hexbyte [-wsc] Device_list
./smartmon-ux -wsbyteconfirm [-16] hexbyte [-wsc] Device_list
Where hexbyte is the byte that you wish to fill the disk with.
If you want every block of the disk to be zeroed, set hexbyte to 00. If you want to write a pattern which would be
used as part of a stress disk write test, we have been told that Seagate suggests sending the E6 byte as a pattern.
If you use wild-cards or enter more than one disk in the device list, the program will continue with all disks in the list
after the first disk has been written (or skipped by the operator). If there is a problem with flashing any disk, the
program immediately terminates with an appropriate error message. (If it is a result of a disk error, sense information
will be provided to lend insight into the problem.
(Note, there is no 12-byte version of the WRITE SAME command, so there is no -12 flag).
Example (write E6h pattern to every byte on the disk)
[root@rh90 smartmon]# ./smartmon-ux -wsbyte E6 /dev/sg5
SMARTMon-ux [Release 1.26, Build 22-APR-2004] - Copyright 2001-2004 SANtools, Inc. http://www.SANtools.com
Discovered SEAGATE ST336753FC S/N "3HX00LE3" on /dev/sg5 [SES] (Not Enabling SMART)(35003 MB)
***************************************************************************************
* Warning: You have initiated the WRITE SAME function which instructs this software *
* to destroy all of your data and write a single byte pattern over every *
* block on the selected disk drive, DESTROYING YOUR DATA. No checks *
* will be made to verify that the disk isn't mounted or in use in any way. *
* *
* The process will generally complete in 15 - 30 minutes, and status *
* information will appear on the screen as the process progresses. *
* *
* Your operating system may attempt to query the disk unless you have *
* unmounted it (unassigned drive letter in Windows, umount in UNIX/LINUX). *
* *
* If you used a wildcard, or a list of devices, and do not answer YES *
* to write data on the disk described below, then it will be skipped and *
* the program will select the next disk in the list and repeat this message *
* until all disks have been skipped or formatted with the supplied byte. *
* *
***************************************************************************************
This will write the byte E6h across the entire SEAGATE ST336753FC disk at /dev/sg5
Are you sure you want to do this? Answer "YES" to begin the operation, anything else exits program: YES
Beginning WRITE SAME formatting for SEAGATE ST336753FC at /dev/sg5 (71687371 blocks, blocksize=512)
99% 0.1 Mins Remaining (< --- This line is updated after every 1% completion)
WRITE SAME completed.
Program Ended.
Persistent Device Names Warning
Unless your operating system uses persistent device names, you should not automate any tests that are destructive in
nature unless there are fail-safes to verify you are performing the action on the device you want to perform the action
on. That is because if you add or remove hardware, reboot your machine, the device name for a particular peripheral
may change.
Frequently Asked Questions
What is the -wsbyte command good for?
There is generally no faster way to destroy data on your disk (without smashing it into little bits) then by using this
command. Since you can also set the byte pattern, you can make multiple passes to prevent data from ever being
recovered (except for the types of government agencies that can recover anything).
If you are trying to certify a disk drive, or do burn-in, send the E6 pattern with the -wsbyte or -wsbyteconfirm ,
118 22
118 22
125 126