Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After adding a BD drive to one of my systems, I thought I would check it out before I entrust it to safeguard my backups.
So I built a 23 gb disk, using k3b, and wrote it and verified it. So far so good.
Then I used
Code:
dd if=/dev/dvd bs=5120 | md5sum
to obtain a md5 check sum of the disc.
Low and behold, I find that the values are different each time I read the disc, and compute a new md5sum.
From what is here, and what you might know, have I done something obvious which would cause there to be a different md5sum each time I read in the 23 gb disc?
-reading DVD+RW discs results in consistent identical MD5SUMs.
-reading the subdirectories of the BD I test burned appears to yield consistent results (limited sample size thusfar). I did that with the following:
Code:
find subdir1 | cpio -oc | md5sum
A Nero utility is reported to provide the number of media errors that are encountered reading optical media. I am searching for a linux utility with equivalent capability.
Asus, the label for the drive I am using, responded to a tech support question, and told me that they only support their drives on Windows OS.
The primary reason I got this drive was for backup and archive, and I am just trying to prove that it is working well. If not, my strategy will be to use harddrives for backup.
I took the original BD, read it in to three files:
a.iso
b.iso
c.iso
d.iso
In doing compares between each ISO file, I found that the differences were all in a very specific region, but not a specific location. I am now rewriting the media with zeros, and then with random bytes in an effort to see if the fault location or modality can be identified. It is clear that each time I read the BD, there is a different byte somewhere. Reading DVD+RWs yields no differences.
Since the error is near the outer edge of the BD, I am thinking a media issue, rather than a writer issue, but that is a weak conjecture.
If the error is near the edge it may be a manufacturing fault or a scratch.
You are right. There was no visible defect, but the best the naked eye will do is about 11 microns, so there could be an affective scratch, and I would not see it.
I now have some BD-RE DL media, and am doing more testing. The drive is pretty much running 24 hours a day with tests.
Here is my working hypothesis: There was a burn artifact, which created a marginal section of the media.
The same, and other media has been written and read multiple times, and I have not been able to reproduce the errors.
I did look at code for md5sum, and cmp. While cmp does a literal comparison, a false positive or negative with md5sum might happen only once in our lifetimes. So for a quick comparison, it is absolutely valid. However, it does not tell you where in a file a difference occurred. For that cmp is definitely desired.
It will probably take me several days for the next round.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.