How To Verify CD-R Data Retention Over Time?
Peter (Professor) Fo writes "I've recently had two CD-Rs reported to me as faulty which are just 3 years old. This is worrying — I suspect the failure rate for this batch could be 10%. When researching CD longevity there is old and unreliable information; pious 'how to cosset your discs so they last 100 years' blurb; and endless discussions of what sort of dye to use, don't use cheap media, burn slower (or don't), but not much by way of hard facts besides there's a lot of data loss going on.
Does anyone know of a generic utility (win or *nix would suit me) that can map sector readability/error rates of CDs? I'd like to measure decay over time in my environment with my media and my other variables; and I expect others would too."
You should probably try dvdisaster. it can test media, and can create (on disk or external) redundancy data, which can be used to recover later.
It's also open source, so you could probably coerce it to export some more information
Archival Grade Media makes a HUGE difference for backing up important data. It is not very expensive and widely available.
I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered. My life is my own.
http://www.kvipu.com/CDCheck/
Create a CRC file for the CD. Saved me more than once.
Whenever I back up important data, I use par2. If the disc has I/O errors, I just make a full image with dd_rescue (skips past bad blocks, whereas dd will just halt operation) and run "par2 verify" on it. If it's really important, I always verify the integrity no matter what (I've even done it on discs 2 days old, and sometimes, due to the reliability of CD/DVD-R media, it even has errors to repair).
The following tool allows you to track the failure rate of your media, and allows you to recover the files and replace the cd/dvd when it starts failing. http://hardware.slashdot.org/article.pl?sid=08/08/03/197254
dd and diff.
Those tools provide no signal-to-noise ratio (Block Error Ratio, BLER) for physical media errors that the drive is just barely correcting. The point of the request, as I understand it, is to detect how likely a correctable medium is to stay correctable.
HDD are not infallible or "long lasting", but they are certainly far more convenient to deal with than CD-R and DVD-Rs.
If you consider your data worth it, have enough time and enough money, you should probably re-burn/re-save them to long lasting media.
There was a previous post on askslashdot about this subject.
http://ask.slashdot.org/article.pl?sid=08/08/27/2119252
My suggestion was to use Plasmon "Century-Disc" :
http://slashdot.org/comments.pl?sid=914095&cid=24784787
(even though I have never tried it myself)
Never, ever had a CD die on me due to old age. I have burnt CDs that are probably older than you.
The only 2 reasons I have ever had a CD die.
1. Bad burn.
2. Dropped it/scratched it.
Okay, I really have only had one reason CDs die:
1. I can be somewhat of a dumb-ass.
- I live the greatest adventure anyone could possibly desire. - Tosk the Hunted
When archiving data to CD or DVD I use a program call Quick Par to generate recovery files that I can use to repair the data on the disc if it becomes damaged.
It is based on the same recovery tech that RAID systems w/ parity drives use, and is mostly used to repair Usenet downloads. I usually put 4GB of data and 400MB of PAR2 recovery files on the disc. This will allow ~10% data loss before recovery is not possible. Also I dont have to worry about the TrueCrypt vol becoming damaged and unusable as well.
The obsessed people at CDFreaks can help. Here's a link to their FAQ on CD-R media:
http://club.cdfreaks.com/f33/media-faq-61943/
In other places in the cdfreaks forums, you'll find links to tools that can read the C1/C2 error rates. One of the simplest is "readcd", part of the "cdrecord" programs on Linux.
In the DVD world, Lite-On and Plextor both make proprietary programs to read the media-level error rates which only work with their own drives. Lite-On has a Linux version of theirs.
RAID5 for CDs? Is there anything where I can burn 3 CDs with a 'set' of data. When I want to restore my data I just put in each disk sequentially and then it does some RAID5 magic and spits out my data?
Be a cool project, IMHO.
Backups? Use tape.
Optical media is inherently shitty.
If you want to get the best out of it:
Buy good media.
Burn at a slower speed.
Verify the data after burning it.
Store it well. A hard case, and a cool, dry location away from the sun are all you really need.
If you want to test the quality of a disc, go ahead and use any of the tools recommended here.
If you want to harden your discs, go ahead and use any of the CRC tools recommended here.
But really, you shouldn't be using optical media as anything other than a cheap delivery medium. If you need to send stuff to people and you need them to have a copy of it indefinitely, tell them to make a damned copy of it, or give them 2 copies, or keep an ISO and send them a copy when theirs fails.
I work with CD/DVD and related technology as a profession. I analyze, QC, and mass duplicate media by the thousands for extreme and critical field use, every day. My best advice to you is to use Taiyo-Yuden (TY) media, always. I've seen mixed results and bad burns from Mitsui and MAM-A gold, Kodak, and the like. The TY dye type has a proven longer longevity than any other so far. I also suggest burning all of your audio CD's at 16X, this affect what's called single-beam readers. Also, it insures higher integrity of the burn. Burn 16X DVD's at 8X to increase the write integrity.
What others say about is CDCheck is true, use it along with this advice. Use Plextools Pro on a PX-716 drive if you can find one. It seems to be more accurate than Nero tools. Use Plextools to check the C1, C2, and CU rates. If the graph is half-way to the top of the reading, back that disc up. As cheap as media is, I suggest burning more than one copy, storing the image on an external archive hardrive. When burning, don't use overburning. You lose some integrity for error correction.
Store your media in a cool dry place, on it's side. Avoid humidity, light, and heat when you can. Remember, the best analysis tools in the industry are very expensive for individuals. Take a look at CATs if you are interested in learning more about optical media testing. Best wishes!
http://www.cdspeed2000.com/
You need certain brands of optical drives, but with them and this program (and others), you can see the PI/PO or C1/C2 correction (I can't remember which is for CD and which is for DVD) rates on a per-sector basis on your disc. As the rates rise, the disc is going bad, becoming marginally readable and you can copy the disc before it becomes unreadable.
You can find out which drives to buy at http://cdfreaks.com/. The terminology on there for a drive that can do this is a "scanning drive".
I have no idea if you will find that your correction rates are rising over time.
http://lkml.org/lkml/2005/8/20/95
CDs aren't burned for commercial distribution, they're pressed.
http://dar.linux.free.fr/ try dar. It's like tar but for disks. it also generates PAR files (FEC data) which can help rebuild damaged media.
Short of an electron scanning microscope, the only way to do it is to hook an oscilloscope directly on to the test points within the drive itself and measure signal levels. This will allow you to measure one or both of: Degradation of the laser optics, degradation of the media. It's anyones guess as to which is which :-)
To make things a little more accurate, you should use several drives to test the media. The drives could benefit from being locked away until such a time as they are needed to repeat the tests. Mix in a few new drives when you do actually make your tests in future as well.
Commercial CDs are not burned. They are stamped.
the growth in cynicism and rebellion has not been without cause
I have many gigs of digital photos and I have also more-or-less moved away from optical media for backup and switched to HDD. As the original poster mentioned, most of the "information" you find on the net about archival longevity of optical media is personal anecdotes or pet theories, and good hard data on archival longevity of CD-R or DVD+-R is hard to find. My own personal experience is that name brand discs do have fewer problems than cheap "house brands", but it's hard to quantify or say much beyond that.
Backing up to hard drives has a number of advantages:
1. It's a heck of a lot easier - in most cases of personal data backup, a few 1TB HDDs will hold all the data you need to back up, so there's no need to manage boxes of 100's of discs. I usually back up the same data onto two HDDs, and store one of them in a firesafe. If you're really worried, you can store one of them offsite.
2. Since no media will last forever, you will *always* need to roll your data over to new media every so many years. With HDDs, its *much* easier to roll your data over to new media every 5 or 6 years. Think of transferring two or three HDD's to a new HDD (by the time you roll over the data, the new HDD will probably hold all the data from those two or three older HDDs), compared to re-organizing and re-burning hundreds (or more) of CDs or DVDs.
The bottom line is that if a few HDDs don't hold enough data for your needs, then backing up to optical media will be totally out of the question anyway, and you will probably need to use tape.
Short of an electron scanning microscope, the only way to do it is to hook an oscilloscope directly on to the test points within the drive itself and measure signal levels.
Or the manufacturer of an optical drive could do the SMART thing: provide some sort of self-monitoring, analysis, and reporting tool to let the user see how many errors the drive has corrected per MiB of data. Mobile phones, Wi-Fi cards, and digital TV converter boxes do something like this, showing SNR in "bars" or in percentiles.
Take a page from the book of Church© of© Scientology©®(TM) and engrave your data on Titanium© Plates© and store it in Gold© Vault©. I apologize in advance to the Church© of© Scientology©®(TM) if I didnt use enough Copyright©®(TM) symbols while referring to Them (©?). Please do not sue me. © (TM) ®
I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered. My life is my own.
I think that the most reliable way to backup your data is to use a USB hard drive changed every 1/2 years.
Actually I use two : one at my parents in Europe, one at my place in Canada.
A hard drive is much more reliable than any CDR/DVDR, and if your data is important it's worth it.
Just my two cents.
David
The request asks no such thing, he simply wants to measure decay rate.
The method of dd+diff can tell only whether the disc has decayed or has not decayed: 1 bit of information. Something that can read C1/C2 error rates, like the program Wanker mentioned, gives much more information that can be used to give a better idea of how much decay has happened before it becomes unreadable. Plotting this over time gives (ta-da) the rate of decay.
You can buy Taiyo-Yuden media at...
http://www.supermediastore.com/
That's where I got mine. I haven't had a bad burn yet.
Sadly to say, the 100 years nonsense is for pressed CDs like you get music and programs on. Burnable ones last maybe 5-10 years, tops. When you add in literal bit-rot due to fungi and so on that exist and love to eat worm-trails in the media surface itself... I've had CDs go bad in as little as a year or two. I constantly have to re-burn my media every couple of years. Thankfully the media density gets better, so I can toss an entire collection of CD-Rs onto 2-3 Blu-Rays and be done with it.
If you want it to be secure, the only viable solutions seem to be flash media or an old-school hard drive in storage. Thankfully the prices of both are affordable for your critical data. All of my critical data and installers and so on fits in a single 512MB flash drive. Toss that in a safe deposit box and forget about it.
I have to: ... Russian parts ... ALL MADE IN TAIWAN!" - The cosmonaut from the movie, "Armegeddon"
"American parts
Go go Gadget Nailgun!
I use dvd-ram to archive important files. Designed for archival type storage, the slower media has a 30 year designed life, the faster media has something like 5 year. Add in the builtin ecc and cheap cost, it is a good way to save my source code and photos.
Kindness is the language which the deaf can hear and the blind can see. - Mark Twain
This has worked well for me. I had a situation where a RAID 5 lost two drives and my backup had some corruption in a 100 gig video project. Pulled out my 3 year old DVD's and recovered the data fine (and yes there were one or two of chunks that had problems but recovered from the redundancy).
Just my method and 2 cents.
--
So who is hotter? Ali or Ali's Sister?
First CD and DVD, including BlueRay, HD, are very different. The CD hardware layer is hugely redundant with each 8-bit byte being written as a 14-bit forward ECC block and each 2048 bit sector is protected by a Cross-interleaved Reed-Solomon code in 304/2048 bits ie hugely redundant. See the Sony/Philips rainbow books.
Thus unreadability means gross damage, dye decay, scratches or thick dirt. Physical scratches/dirt can often be recovered with very fine metal polish and wash. DVDs are _much_ more iffy. A few readers let you read all the 2352 mode 2 data bits of a data CD but most dont and you cannot detect 14 2 8 bit correction which is the first indication of the dye degrading. If you store the CDs in the dark, in scratch resistant envelopes in a strong box you have a good chance of 20+ years. I wrote the one of the first Philips writer drivers and have CDs that old.
Otherwise you are down to replication and data washing, but dont throw the washed CDs out!
If you want something fast that will tell you if there is any trouble reading the disk go here, or if you want something more complex that'll go by sector go here.
Oh and in the future if the software needed can be Windows software,allow me to suggest Freeware World Team. FWT have hands down the best freeware search engine I have ever seen. You simply type into the search box what you want the software to do and they'll find you a piece of freeware that does it. I use it here at the shop all the time when myself or a customer has a job that needs filling. No spyware,no trialware,just great freeware with a truly great search engine to find it with.
ACs don't waste your time replying, your posts are never seen by me.
You can't use this idea for data that you create or data that you download that was never put onto CD in the first place. This is presumably for backing up data, so it's not a big deal if you lose data that is already pressed onto hundreds of thousands (if not millions) of discs.
Twinstiq, game news
I prefer the american version: Lev Andropov: [annoyed] Components. American components, Russian Components, ALL MADE IN TAIWAN!
:)
This space is not for rent.
http://www.yuden.co.jp/us/product/pdf/mdvd_e.pdf
page 5, 4th col... see where it says 8.5GB? see at the top where it says DL?
every day http://en.wikipedia.org/wiki/Special:Random