Writing to DVD-RAM creates corrupted folders
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
ubuntu 7.04 Feisty Fawn, all recent updates installed as of 27 May 2007.
I've been doing backups by coping files and folders to DVD-RAM since Dapper Drake on my IBM R52 Laptop, but haven't seen this problem before upgrading to Feisty Fawn. If I copy a folder to DVD-RAM, mostly everything works fine. Sometimes, however, it only *seems* to work fine: the folder appears on the DVD-RAM and its contents are there as well - as long as I don't remove the disc. If I remove it and insert in again, the folder is corrupted and stays corrupted. In the shell, "ls -l" outputs:
drwx------ 4 bla bla 136 2007-05-10 18:54 GoodFolder1
?--------- ? ? ? ? ?BadFolder
drwx------ 3 bla bla 84 2007-04-24 20:30 GoodFolder3
Nautilus lists it as "unknown type"
If I try to delete the folder using either "rm -R BadFolder" or "sudo rm -R BadFolder", I get (translated back from German to English)
"rm: Calling lstat not possible for „Badfolder“: Permission denied"
I already formatted the DVD-RAM using
"dvd+rw-format -format=full /dev/scd0"
and copyied some folders to it afterwards. It worked for some time, but now a corrupted folder appeared again. The same discs have been used before on Dapper and Edgy without any problems.
This error happens on about 2 out of 4 discs and I've found no steps which reproduce it 100% so far.
Again, this seems to have been introduced in Feisty Fawn, because I never had this before.
If you need more information, please let me know.
This is a serious issue, because I can't rely on my backups anymore.
Did a clean install of ubuntu 7.10 on the same machine, but still the same problem.
Looking into /var/log/messages I found it populated with hundreds of errors like the following one, all of them only differing in the sector number mentioned at the end of each error:
Nov 1 21:03:27 timetunnel kernel: [16904.112000] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte= DRIVER_ SENSE,SUGGEST_ OK
Nov 1 21:03:27 timetunnel kernel: [16904.112000] sr 1:0:0:0: [sr0] Sense Key : Data Protect [current]
Nov 1 21:03:27 timetunnel kernel: [16904.112000] sr 1:0:0:0: [sr0] Add. Sense: No defect spare location available
Nov 1 21:03:27 timetunnel kernel: [16904.112000] end_request: I/O error, dev sr0, sector 1344