Home » Questions » Computers [ Ask a new question ]

How to check DVD integrity at max read speed of DVD writer

How to check DVD integrity at max read speed of DVD writer

I need to check the integrity of burned DVDs so that I can be sure about my backed-up data.

Asked by: Guest | Views: 334
Total answers/comments: 1
bert [Entry]

"I add a textfile containing MD5 hashes of all files on the disc. I use Cygwin and bash for the basic tools, but they're also available in standalone Windows versions. Here's the process:

Create a folder containing the files I want to burn, e.g. at X:\DVD-Backup-1.
In a Cygwin terminal, find all files in the set to be burned, calculate an MD5 hash for each, and store it into the file:

# cd into your backup directory
$ cd /cygdrive/x/DVD-Backup-1

# create the sums file outside CWD so it won't be summed as well
$ find . -type f -print0 | xargs -0 md5sum >> ../dvd-backup-1.md5.txt

# don't forget to move the sums file into CWD so it'll be burned too
$ mv ../dvd-backup-1.md5.txt .

Burn the contents of X:\DVD-Backup-1 to DVD with whatever data-burning tool you prefer.
Verify the contents were burned correctly:

# cd into the DVD drive
$ cd /cygdrive/y

# run this to get a printout of every file and an OK/failed message
$ md5sum -c < dvd-backup-1.md5.txt

# run this for less output -- only prints files that fail
$ md5sum -c < dvd-backup-1.md5.txt | perl -lne 'print if not /OK$/'

You can substitute sha1sum or sha256sum for md5sum in the above process if you'd prefer using the SHA-1 or SHA-256 hashing algorithms."