SpinRite
This article relies too much on references to primary sources. (July 2008) |
This article contains content that is written like an advertisement. (January 2021) |
Developer(s) | Gibson Research Corporation |
---|---|
Initial release | 1987 |
Stable release | 6.0
/ June 7, 2004 |
Preview release | none (none) |
Written in | x86 assembly language |
Operating system | Included FreeDOS (doesn't use OS of host PC) runnable from DOS |
Platform | Any PC |
Size | 0.169 MB executable, 1.40 MB bootable disk image with FreeDOS OS |
Available in | English |
Type | Hard disk recovery and maintenance |
License | Proprietary |
Website | www |
SpinRite is a computer program for scanning magnetic data storage devices such as hard disks, recovering data from them and refreshing their surfaces. The first version was released in 1987 by Steve Gibson. Version 6.0, still current as of August 2021, was released in 2004.[1] SpinRite is run from a bootable medium (such as a CD, DVD or USB memory stick) on a PC-compatible computer, allowing it to scan a computer's hard drive and file system. It does not depend upon the operating system installed on the computer.
History[]
SpinRite was originally written as a hard drive interleave tool.[2] At the time SpinRite was designed, hard drives often had a defect list printed on the nameplate, listing known bad sectors discovered at the factory. In changing the drive's interleave, SpinRite needed to be able to remap these physical defects into different logical sectors. SpinRite therefore gained its data recovery and testing capabilities as a side-effect of its original purpose. Drive interleave has long ceased to be an issue, but SpinRite continued to be developed, now using its remapping as a data recovery tool.
Features[]
SpinRite tests the data surfaces of writeable magnetic disks, including IDE, SATA, and floppy disks. It analyzes their contents and can refresh the magnetic disk surfaces to allow them to operate more reliably.[citation needed]
SpinRite attempts to recover data from hard disks with damaged portions that may not be readable via the operating system. When the program encounters a sector with errors that cannot be corrected by the disk drive's error-correcting code, it tries to read the sector up to 2000 times, in order to determine, by comparing the successive results, the most probable value of each bit.[3] The data is then saved onto a new block on the same disk; it cannot be saved elsewhere. In this respect SpinRite differs from most data recovery software, which usually provides (and recommends) an option to save the recovered data onto another disk, or onto a separate partition on the same disk.
Gibson says his software was specifically designed to fix sector problems. However, if a hard drive's circuit board, drive motors or other mechanical parts are defective, or there is systemic file system corruption, SpinRite may be of little or no help.[4] When a hard drive begins to fail due to mechanical faults, a program like SpinRite may extend its life long enough to carry out successful file recovery with other specialized software.
SpinRite is claimed by its developer to have certain unique features,[3] such as disabling of disk write caching, disabling of auto-relocation, compatibility with disk compression, identification of the "data-to-flux-reversal encoder-decoder" used in a drive, and separate testing of buffered and unbuffered disk read performance. Another important feature is direct hardware-level access,[5] whereby the drive's internal controller interacts directly with the program, rather than through the operating system. This, in turn, allows dynamic head repositioning, whereby, when reading a faulty sector, the reading head is deliberately moved backwards and forwards many times, by varying amounts, in the hope that each time it returns to the sector, it may come to rest in a slightly different position. By performing statistical analysis on the succession of results thus obtained, SpinRite is, according to its maker, often able to "reconstruct" data from damaged sectors, and even in those cases in which complete reconstruction proves impossible, SpinRite is able to extract all intact bits from a partially damaged sector, and to copy them to a new block, thereby minimizing the amount of data lost.[6]
Some claims by SpinRite's author have proved controversial. The ability to "refresh" aging drives has been met with particular skepticism while the "recovery" of sectors marked as "damaged" is considered by some to be undesirable and counter-productive.[7]
SpinRite is written in x86 assembly language, and runs on any PC-compatible computer, regardless of the operating system installed. It can operate on any attached storage device with a compatible interface.[8] Drives in computers with incompatible processors can be tested by attaching the drive to a compatible computer.[9] Spinrite is distributed as a Microsoft Windows executable program which can create a bootable drive containing both the FreeDOS MS-DOS-compatible operating system and the Spinrite program itself. Version 6 is compatible with hard disks containing any logical volume management or file system such as FAT16 or 32, NTFS, Ext3 as well as other Linux file systems, HFS+ For Mac OS X, TiVo and others.
Version 6 offers full access to the entire disk surface regardless of partitioning, Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T.) parameters and control of partial scanning within a specified percentage range. Version 5 was limited to AT Attachment (PATA, IDE) hard drives; version 6 may, on suitable motherboards, work on newer Serial ATA (SATA) and USB hard drives, and with any other type of drive—SCSI, 1394/FireWire—that can be made visible to MS-DOS through the addition of controller BIOS or add-on DOS drivers.[9]
The price as of October 2018 was US$89, unchanged over many years. Documentation may be downloaded from the SpinRite website.
In May 2013 Steve Gibson announced the start of work on Spinrite 6.1 and 7.[10]
Issues[]
Solid state drives[]
Spinrite can be run and can be effective on SSDs, but running in a higher-level mode than 1 or 2 is detrimental, as it wears the SSD by writing to it unnecessarily. In episode #387 of the podcast Security Now! Gibson said "Run Level 2 because Level 1 is not permitted to fix anything" "The difference is both Level 1 and 2 are read-only, and that's the key. You don't want to run Level 4" [11] In episode 194 of the podcast Security Now! Gibson said that he could "see absolutely no possible benefit to running SpinRite on a solid-state drive" and later "SpinRite is all about mechanics and magnetics, neither of which exist, by design, in an SSD".[12] In episode 338 Gibson clarified "it is actually detrimental because [solid-state drives] don't like to be written", but also pointing out that a read-only run could be beneficial: "SpinRite's Level 1 is a read-only scan, and doing that on an SSD makes a lot of sense. Do a read-only scan of an SSD, it'll show the SSD's controller that it's got a problem reading a sector, and then it'll map that out or rewrite it in order to strengthen that sector, if possible. So that ends up being a value for SpinRite on solid-state drives."[13] Also, Gibson posted on his website that "SpinRite is seeing many successes [...] with non-spinning solid-state (thumb) drives!".[14]
S.M.A.R.T. on SATA drives[]
While SATA drives are supported, SATA controllers that include a processor and diagnostic software can limit SpinRite's ability to obtain and display S.M.A.R.T. data ("thin controller" SATA controllers do not have this limitation). This data monitor does not affect SpinRite's recovery and diagnostics ability; S.M.A.R.T. data when available helps long-term disk maintenance and failure prediction.[15] GRC said in 2006 that this issue would be resolved in version 6.1, anticipated to be a free-of-charge upgrade for SpinRite 6.0 users.[15] As of March 2021, SpinRite version 6.0 continued to be current, unable to function with systems that utilize EFI bios, with unchanged price.[16][17]
Large drives[]
In certain cases, Spinrite can only analyze somewhere between the first 128 gigabytes and 1024 gigabytes of a drive depending on whether the drive has 512 bytes per sector or 4096 bytes per sector, and depending on the BIOS in use.
SpinRite uses cylinder-head-sector method when addressing the hard drive. This 28-bit addressing scheme is broken down as:
- Cylinder (16-bits): 0–65535
- Head (4-bits): 0–15
- Sector (8-bits): 0–255
This limits SpinRite to access a maximum of 268,435,456 sectors. Once SpinRite reaches track number 65,535 it will experience a division-by-zero error and halt with an error message. This appears to be due to a restriction of the FreeDOS operating system (an MS-DOS clone) supplied with Spinrite. Some users have reported that Spinrite has problems with very large drives, and that using, say, MS-DOS boot disk created from Windows 95 or 98 (which refers to itself as MS-DOS version 7, which is otherwise not sold separately), Spinrite will test the entire drive without software error; other users report that this did not resolve the Division Overflow error.[18]
A December 2011 page on the Spinrite Web site says that an anomaly, which was named the "Roger anomaly" after its discoverer, is due to an error in the BIOS of some motherboards which does not affect normal use and hence may not be discovered.[19] A motherboard with this problem will not work with Spinrite, although it is sometimes resolved in a later BIOS update. In case of a motherboard compatibility issue, Spinrite say that drives can always be temporarily connected to another motherboard where "SpinRite will almost certainly agree to operate without trouble".[19] Drive size is not mentioned as a factor.
Reception[]
BYTE in 1989 listed SpinRite as among the "Distinction" winners of the BYTE Awards, stating that while alternatives had appeared, "for now, SpinRite is our pick".[20]
See also[]
- List of data recovery software
- S.M.A.R.T.
References[]
- ^ "SpinRite web page". Retrieved August 8, 2019.
- ^ "Interesting Intel History". Security Now!. Episode 410. TWiT.tv. June 26, 2013. Transcript. Retrieved November 21, 2013.
- ^ Jump up to: a b "SpinRite Exclusive Features". grc.com. Retrieved August 8, 2019.
- ^ "BailiWicked Domain Attack". Security Now!. Episode 155. July 31, 2008. Transcript. Retrieved November 21, 2013.
- ^ Mainelli, Tom (August 2, 2004). "SpinRite 6 to the Rescue". PCWorld. Retrieved November 21, 2013.
- ^ Zeltzer, Jay S. (August 10, 2005). "Anticipate Drive Problems Early with SpinRite v6.0". sysopt.com. Archived from the original on November 25, 2005. Retrieved November 21, 2013.
- ^ Navas, John (February 26, 2000). "Re: NEW PPPOE protocol for WIN 2000, works great"". Newsgroup: comp.dcom.xdsl. (Criticism in 2000 of SpinRite's stated operating principles)
- ^ Watkins, Don (May 2005). "PCNet File Catch - SpinRite 6.0". PCNet Online. Retrieved November 21, 2013.
- ^ Jump up to: a b Goldstein, Leon A. (July 19, 2004). "SpinRite 6.0 for Linux Users". Linux Journal. Retrieved November 21, 2013.
- ^ "It's time for some more work on SpinRite". Gibson Research Corporation Internet Newsgroup Discussion Forums. Retrieved August 23, 2016.
- ^ CORPORATION, Steve Gibson, GIBSON RESEARCH. "Security Now! Transcript of Episode #387". www.grc.com. Retrieved September 11, 2018.
- ^ "Listener Feedback #65". Security Now!. Episode 194. grc.com. April 30, 2009. Transcript. Retrieved November 21, 2013.
- ^ "Listener Feedback #136". Security Now!. Episode 338. grc.com. February 2, 2012. Transcript. Retrieved November 30, 2012.
- ^ "SpinRite Testimonials". GRC.com. Retrieved November 29, 2012.
- ^ Jump up to: a b "SATA Operation with SpinRite". grc.com. 2006. Retrieved January 29, 2010.
- ^ On March 5, 2021, v6.0 was the only version offered for sale on the GRC Web site
- ^ "Listener Feedback #137". Security Now!. Episode 340. February 16, 2012. Transcript. Retrieved February 27, 2012.
STEVE: And SpinRite 6.1 timing, I have no idea. It is, however, the next major thing I'm going to do. It will be a free upgrade for everyone who has 6.0, oh these many years. And the target is to catch it up with things that have happened since.... And then we'll see where we are. I would love to move on to 7.0 and add a bunch of new features, as well.
- ^ "How to fix Spinrite's Division Overflow Error when scanning larger drives". Neowin Forums: A Collection of Essential Guides. Retrieved December 11, 2012.
- ^ Jump up to: a b "Bad BIOS Motherboards". grc.com. December 20, 2011. Retrieved November 21, 2013.
- ^ "The BYTE Awards". BYTE. January 1989. p. 327.
- DOS software
- Data recovery software
- Hard disk software
- Assembly language software
- 1987 software