Tuesday, September 26, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1027  / 2 Years ago, tue, march 8, 2022, 3:17:51

When trying to burn a DVD it sometimes happens that growisofs will fail with:

$ sudo growisofs -speed=8 -dvd-compat  -Z /dev/scd0 -J -r .
Executing 'genisoimage -J -r . | builtin_dd of=/dev/scd0 obs=32k seek=0'
I: -input-charset not specified, using utf-8 (detected in locale settings)
0.23% done, estimate finish Fri Sep 16 14:49:33 2011
0.46% done, estimate finish Fri Sep 16 14:49:33 2011
0.69% done, estimate finish Fri Sep 16 14:49:33 2011
:-( unable to O_EXCL /dev/scd0: someone was in time to remount?

This only seems to happens when burning multiple DVD's in a row and I think it happens when I eject an automounted disc without manually unmounting it first, which implies that something is keeping the drive busy, lsof and fuser however fail to find a process still accessing the drive. Rebooting makes the problem go away.

How can I find out what process is causing this issue?

More From » dvd


I have been running into issue now again a few times and I am reasonably confident that it is really nothing more then having an shell open that is still in /cdrom/ and thus prevents a proper unmounting of the drive.

Still no idea on how to find the trouble causing shell with lsof or fuser, but there is another way that should work:

sudo ls -l /proc/*/cwd  | grep -i cdrom

[#43475] Wednesday, March 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 193
Total Questions: 123
Total Answers: 108

Location: Bermuda
Member since Wed, Mar 22, 2023
7 Months ago