
SANtools® S.M.A.R.T. Disk Monitor (SMARTMon-UX)104
SANTOOLS® is registered in US Patent and Trademark Office No 3,107,854 All rights reserved.
of 512 bytes/block. If the disk was formatted to 520 bytes per block then the total number of bytes copied would be
200 x 520 or 104,000
Feature Notes:
· You will get an error message if the range is larger than the number of blocks on the disk. Remember that disk
drives start at block zero, so if your disk has 1,000,000,000 blocks, the highest block number you can read is block
number 999,999,999.
· The program, by design, does not buffer up the I/O. Only the blocks you request are read from the device.
Therefore, this is not an appropriate technique for fast data copy.
· The starting block number and number of blocks are all decimal values (not hex).
1.31 Reassign Physical Sector
This function was introduced in release 1.26.
This function is applicable to disks that use the SCSI protocol only (SCSI, Fibre Channel, SAS, and SSA). If the
selected device is SATA or ATA, then the command will be ignored.
Disk drives determine the need to reassign physical sectors based on error activity and mode page settings. Once a
physical sector requires assignment, the drive will either reassign the physical sector (block) or recommend to the
initiator that the LBA associated with the physical sector be reassigned.
You would use this function to repair unrecovered read errors. It won't be able to get any lost data back, but at least
this provides a mechanism to make the problem go away.
Syntax
smartmon-ux -rb BLOCKNUMBER device name
- or -
smartmon-ux -rb BLOCKNUMBERh device name
where
BLOCKNUMBER is a decimal number for the block number.
BLOCKNUMBERh is a hex number for the block number, ending with the lower-case letter h. Do not put a space
between the last hex character and the h. Make sure you enter the block number as a 4-byte or less number.
Examples
smartmon-ux -rb 12345678 /dev/sg3
smartmon-ux -rb 7f8ab0h /dev/sg3
Only one block can be reassigned at a time, but this is generally not an issue since one would typically only want to
reassign one or two blocks. The program will immediately execute and return. If the block can not be reassigned, the
disk drive should be replaced (assuming you gave it a block number that really exists on the disk drive).
Below is a table from an IBM manual that shows sense data combinations for recommended reassignment. SANtools
does not necessarily endorse this as your needs might be different, but we will say that this information is
"reasonable". You should, however, consult your storage vendor for approval. For example, Seagate generally
recommends reassignment regardless of the ASCQ value. (All numbers shown in hex).
Sync byte error - Recommend Reassignment.
Recovered data without ECC - Recommend Reassignment.
Recovered data with ECC - Recommend Reassignment.
Unrecovered read error - Recommend Reassignment.
Sync Byte Error - Recommend Reassignment.
Kommentare zu diesen Handbüchern