Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Find and correct bad sectors by relocating them in harddisk

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 doc
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 COPYING
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 INSTALL
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.rst
Octocat-spinner-32 pod2man.mk
README.rst

DESCRIPTION

Find and relocate unused bad sectors in ext filesystem

Implement the algorithm described in STANDARDS section for the ext[2-4] partitions only.

The I<smarmontools> can report problematic bad sectors in LBA addressing format. This program relocates bad LBA sector provided it is unused.

However, if the sector contains data, there is nothing that can be done. This program is no "spinrite" and it is not cabable of reading or restoring damaged data.

Project homepage (bugs and source) is at <http://freecode.com/projects/badsector>

REQUIREMENTS

Debian packages mentioned in parenthesis.

  • Linux OS
  • Bash (bash)
  • Standard GNU command line programs (coreutils)
  • mktemp (coreutils)
  • dd (coreutils)
  • fdisk (util-linux)
  • debugfs (e2fsprogs)
  • expect (expect, which also requires package tcl8.5)
  • smartctl (smartmontools)

STANDARDS

Bad block HOWTO for smartmontools by Bruce Allen http://smartmontools.sourceforge.net/BadBlockHowTo.txt

COPYRIGHT AND LICENSE

Copyright (C) 2007-2012 Jari Aalto <jari.aalto@cante.net>

This project is free; you can redistribute and/or modify it under the terms of GNU General Public license either version 2 of the License, or (at your option) any later version.

Something went wrong with that request. Please try again.