Bug 2193035
| Summary: | Burned CDs do not refresh the contents without being ejected and reinserted | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Michael Zawisza <michael.zawisza> |
| Component: | cdrkit | Assignee: | Jiri Kucera <jkucera> |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.9 | CC: | ovasik |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-06-30 07:58:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
We are in maintenance phase 2, where we specifically address important and critical CVEs and critical bugs. From the description, bug seems to have workaround (ejecting and reinserting disc), therefore closing WONTFIX. As bugzilla is not a support tool, if the solution or better workaround is important for you, please reach out to our support through standard channels. |
Description of problem: I am experiencing an issue with wodim and other iso commands part of cdrkit. After burning data to a disk, I am unable to see the updated contents without ejecting and reinserting the disk. The disks used are CD-Rs, burned with joliet and Rock Ridge extensions using growisofs. I am unable to preview the contents of This is happening on multiple systems, and I have tried different brands of disks, different disk drives, tried burning with TAO and SAO, and tried using different versions of redhat and centos and have the same issue, so I do not believe the issue is related to any of my hardware. Additionally I cannot burn disks using DAO. It overrides to SAO. I have tried manually refreshing the disk's table of contents, by unmounting and mounting the disk, but this does not work. I get error messages from mount. Additionaly, nautilus crashed afterwards when attempting to open the cd icon on the desktop. Finally, when using isoinfo and other commands I cannot find a "Burn mode:" option on disks I burned which states if it was burned with SAO/DAO I need to be able to verify a disk is finalized after burning WITHOUT ejecting the disk. Version-Release number of selected component (if applicable): wodim-1.1.11-25.el7.x86_64 How reproducible: 100% of the time I am using a buffalo blueray reader/burner and verbatim cd-r 700mb compact disks. Same issue with dell, asus, etc readers and maxim/other branded discs. Steps to Reproduce: 1. insert blank cd into cd drive 2. create an example file to burn to cd 3. copy code below into .sh file and give it executable permissions 4. run .sh file 5. terminal output states disk is not finalized, disk says it's still empty if you try clicking on the desktop icon 6. eject and reinsert disk, all files are on disk and disk appears finalized ??? Actual results: Error: The disc was not finalized, it may still be writable isoinfo: invalid argument. seek error on old image (when trying to umount and mount) mount: /dev/sr0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. (dmesg | tail results) isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16 isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16 UDF-fs: error (device sr0): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device sr0): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device sr0): udf_load_vrs: No anchor found UDF-fs: warning (device sr0): udf_fill_super: No partition found (1) isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16 Nautilus crash logs: /var/log/messages:May 3 00:18:52 localhost org.freedesktop.FileManager1: ERROR:../src/nautilus-bookmark.c:387:nautilus_bookmark_connect_file: assertion failed: (!nautilus_file_is_gone (bookmark->file)) /var/log/messages:May 3 00:18:52 localhost abrt-hook-ccpp: Process 2991 (nautilus) of user 0 killed by SIGABRT - dumping core Expected results: Disk is finalized Can preview contents of disk without ejecting, lead in and lead out are readable Additional info: I need to be able to verify a disk is finalized after burning WITHOUT ejecting the disk. bash file script contents: #!/bin/bash # Set the path to the file you want to write to the DVD file_path="testfile.txt" # Set the path to your CD/DVD drive drive_path="/dev/cdrom" # Create the ISO file mkisofs -R -J -l "$file_path" | wodim -v -force dev="$drive_path" - # Wait for disk to be ready sleep 5 # Check if a disc is inserted if [ -b "$drive_path" ]; then # Check if the disc is finalized if isoinfo -d -i "$drive_path" | grep -i 'lead-out'; then echo "Disc is finalized" else echo "Error: The disc was not finalized, it may still be writable" exit 1 fi else echo "No disc found" exit 1 fi ###### END OF BASH FILE ###### I have tried to unmount and remount disk to refresh unsuccessfully using the commands: umount /dev/cdrom mount /dev/cdrom /mnt I have tried using sr0 instead of cdrom, and even tried using commands such as mount -t udf /dev/sr0 /mnt/cdrom mount -t iso9660 /dev/sr0 /mnt/cdrom These output the errors in the reults above. When using the command below the disk was burned with SAO instead of DAO... cdrecord dev=1,0,0 -v -dao filename.iso filename.iso