Adding parity to backup dvds

1

I am backing up about 1.8GB of pictures to a dvd, but because over half the disk is free, I would like to add parity of the free space so that data can be read even after some data corruption has started over time. i know of dvdisaster, but i cant seam to figure out how to use it for creating parity/redundancy to a drive. is there a tutorial on exactly this anywhere?

Daniel

Posted 2013-10-02T11:41:04.423

Reputation: 517

There is an easier solution. Place the files in an archive folder and create .PAR files based on the archive folder. If you are looking at long term storage you will want to make multiple copies optical disks are not proven to last decades. Most of my optical disks created in 2000 cannot be read today and they were stored in cases. – Ramhound – 2013-10-02T12:12:21.857

Related: How to store and preserve lots of data?

– a CVn – 2013-10-02T12:32:56.307

Answers

3

i know of dvdisaster, but i cant seam to figure out how to use it for creating parity/redundancy to a drive.

There are two ways of using dvdisaster:

  1. Augmented image mode, where the ECC data is actually embedded into the ISO before being burned to disk. The section entitled "Augmenting images with error correction data" actually walks you through this specific step of the process.
  2. External ECC mode, which can later be used to verify and/or repair the ISO image. The section entitled "Creating error correction files from an ISO image" provides additional details on the specific steps required to to create the file.

For the truly paranoid, you could also create an external ECC file and then use par2 to create Reed-Solomon recovery data for the .ecc file itself. This seems like overkill to me, and may or may not really add any real protection for the recovery process as a whole, but it's always good to know what one's options are.

CodeGnome

Posted 2013-10-02T11:41:04.423

Reputation: 1 841

Unfortunately, the links of dvdisaster.net have fallen. You can access what remains from the project in https://sourceforge.net/projects/dvdisaster/

– PhoneixS – 2018-12-05T16:41:24.203

2

Parity is used when you want to increase data size by less than the data size but still obtain some degree of redundancy. Depending on the amount of parity data and parity algorithms used, it can (or can not) repair certain classes of errors.

In your case, you are putting less than 2 GB of data onto a media that can hold well over 4 GB. This suggests a simple solution: make a second copy of the data, and put it alongside with the first. The technical term for this is usually "mirroring", although mirroring commonly refers to copies placed on different physical media connected to the same system with properly done changes to one being distributed to all copies automatically. Doing mirroring with just two copies of a file also doesn't require any special software; in the worst case, you need a simple loop construct that reads from each of the files and puts together the portions that were readable to form a hopefully complete and correct copy of the original file.

Assuming that the files are written contiguously to the disk, putting the two copies alongside each other will mean that two copies of the same data are approximately 2/5 of the disk apart, in terms of storage space, which should protect against most small-scale media corruption such as scratches, fingerprints, etc.

However, doing so may not be enough, as you'll still be at the mercy of file system (UDF, ISO 9660, ...) metadata structures on the disk, which will not be redundant because those file systems aren't designed for redundancy. If the file system metadata becomes corrupted, you will still have a very hard time extracting the data from the disk in a meaningful way, even though the fact that the files will not be fragmented will help. The only real way to do anything about this is to, as Ramhound points out, use physical redundancy: put multiple independent copies on physically separate media, and preferably, store those disks in different locations.

a CVn

Posted 2013-10-02T11:41:04.423

Reputation: 26 553

Thanks, i think i will duplicate the files on the same disks, then make multiple disks. i have 3 dvd backups, 3 harddrive backups(on different drives) and 1 cloud storage backup copy. I store the dvds in a closed, drye, dark box in cd cases... – Daniel – 2013-10-02T12:42:19.060

@DanielVallandTorgrimsen Wow, and people think I'm paranoid when I talk about using two-way mirroring for critical data plus a grand total of three backups (one of which is in the cloud). With that scheme I count that you will have a grand total of eleven copies, assuming a single copy that you work with. – a CVn – 2013-10-02T17:38:12.677

True that... but with only 1.8GB to backup (family photos), i can afford to be paranoid... 50 dvd copies would cost me about 12$ hehe :) my 3TB blueray collection on the other hand runs on a mirror :) ... – Daniel – 2013-10-02T17:56:04.020

@DanielVallandTorgrimsen If you feel this answer properly addresses your question, please indicate so by accepting it. If not, feel free to indicate how it does not address your concern and I'll try to make it better. Thank you. – a CVn – 2013-10-07T21:27:58.177