Hello, I just installed Fedora 38.
I’m trying to access data on a burned data DVD. I get the following errors:
I had no problem reading files from this DVD in Windows.
How do I fix this?
With the DVD in place please run lsblk -f
and post the output.
[nate@localhost-live ~]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1
│ vfat FAT32 AD15-560D 581.4M 3% /boot/efi
├─sda2
│ ext4 1.0 d32ed00e-327b-42bd-b837-a6e4a76a343e 707.3M 20% /boot
└─sda3
btrfs fedora_localhost-live
166729f8-d967-453a-95b8-567b70101411 1.8T 0% /home
/
sdb
sdc
sdd
sde
sdh
sr0 udf 4.c0 MY_DATA_071411
3eee79c73eee79c7
zram0
[SWAP]
Looks like the cd has a udf
file system. Try run this
sudo modprobe udf
That should load the udf file system support.
I ran “sudo modprobe udf”, I was prompted for the root passsword, I entered it. No message was returned indicating a new status. I tried viewing the DVD in files, I got the same original error of “Unable to access”. Am I supposed to reboot or something? This didn’t work.
First, when posting text from the screen, please use the preformatted text tags available with the </>
button on the toolbar so we can see it exactly as you see it on your screen.
After running the modprobe command one can verify the module properly loaded with lsmod | grep udf
. Once you are sure the module is loaded then it is necessary to mount the DVD before it can be accessed.
Mounting would probably work with
sudo mount -t udf LABEL=My_DATA_071411 /mnt
Alternatively (after the module is loaded) simply remove the DVD then reinsert it and allow the system to auto-mount it under /run/media/USER/xxxx. where the files app should be able to access it.
In either case, the device may mount with root ownership and the user not be able to read it, but we need to get it mounted before that potential permissions issue can be addressed
I’m not sure how to interpret the output of lsmod | grep udf
:
[nate@localhost-live modprobe.d]$ lsmod | grep udf
udf 151552 0
crc_itu_t 16384 1 udf
[nate@localhost-live modprobe.d]$ sudo mount -t udf LABEL=MY_DATA_071411 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
Maybe try that as sudo mount LABEL=MY_DATA_071411 /mnt
. The module clearly loaded as is shown by the output of the lsmod command, and is active so that should work
Maybe the udftools
package is missing.
sudo dnf install udftools
[nate@localhost-live modprobe.d]$ sudo mount LABEL=MY_DATA_071411 /mnt
[sudo] password for nate:
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
[nate@localhost-live modprobe.d]$ sudo dnf install udftools
Last metadata expiration check: 0:53:58 ago on Mon 22 May 2023 07:28:29 AM MDT.
Dependencies resolved.
============================================================================================
Package Architecture Version Repository Size
============================================================================================
Installing:
udftools x86_64 2.3-6.fc38 fedora 159 k
Transaction Summary
============================================================================================
Install 1 Package
Total download size: 159 k
Installed size: 424 k
Is this ok [y/N]: y
Downloading Packages:
udftools-2.3-6.fc38.x86_64.rpm 143 kB/s | 159 kB 00:01
--------------------------------------------------------------------------------------------
Total 99 kB/s | 159 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : udftools-2.3-6.fc38.x86_64 1/1
Running scriptlet: udftools-2.3-6.fc38.x86_64 1/1
Verifying : udftools-2.3-6.fc38.x86_64 1/1
Installed:
udftools-2.3-6.fc38.x86_64
Complete!
[nate@localhost-live modprobe.d]$ sudo mount LABEL=MY_DATA_071411 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
[nate@localhost-live modprobe.d]$
Try going back to the original mount command.
OR
try the remove then reinsert the DVD to see what happens.
(or both if one fails)
I tried the original command, got the same thing:
[nate@localhost-live modprobe.d]$ sudo mount LABEL=MY_DATA_071411 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
[nate@localhost-live modprobe.d]$ sudo mount -t udf LABEL=MY_DATA_071411 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
Then remove & reinsert DVD and tried both commands, same thing:
[nate@localhost-live modprobe.d]$ sudo mount -t udf LABEL=MY_DATA_071411 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
[nate@localhost-live modprobe.d]$ sudo mount LABEL=MY_DATA_071411 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
This means that you can run the dmesg
command and maybe get more information about the problem. As it looks like now, it could be a hardware problem, or the filesystem was not created in a way compatible with linux. Can you try another dvd disk, for example a video DVD, which often contains an udf file system.
I tried a video DVD (which I confirmed was a udf using lsblk -f
, it mounts and reads OK. I am assuming the “filesystem was not created in a way compatible with linux” on the data DVD Fedora can’t mount. And I am OK with this as the resolution.
I’m sure if pressed a solution could be found to read from the data DVD, but they are not critical at this point, so I am dropping this as an issue.
Thank you Jeff V and Villy Kruse for your help on this.