[Sussex] Problem writing image to CD

Steve Dobson steve at dobson.org
Sun Oct 9 09:37:02 UTC 2005


Brendan

On Fri, Oct 07, 2005 at 09:28:51PM +0100, Brendan Whelan wrote:
> I have created a backup shell script which exports a database, gathers files, creates a CD image file and then writes it to a CD.
> The shell script is then scheduled to run during the night. There are a pair of, logically identical, systems one a Dell tower and the other a Dell rack mountable servers. (Fedora Core 3 is used on both systems.) The shell script works perfectly on the tower system but on the rack mounted machine the CD writing fails. The image to be copied is only about 360Mb, I have used different manufacturers CDs but the problem persists. I changed the CD drive but the problem persists.
> 
> I have taken an image copy of the offending system and placed it my test system with the same type of CD writer which is in the rack mountable system.
> To simplify the problem I created a shell script which just contains the line which writes to the CD.  When I run the script in a terminal window it works. When I run it as a cron job it fails. The led on the CD writer flashes for a number of minutes and then goes on. The CD cannot be unmounted and the only way to extract the CD is to either power the system down and back up or to use a paper clip to release the CD drawer. (As an aside small image files can be written to the CD using a cron job.)
> 
> Any suggestions as to what might be causing the problem or how I could find out more information.

What devices are used on both machines?  Use lsmod to see what kernel
driver is loaded on both machines.  Also look at the output as the
kernel boot (or in dmesg shortly afterwards) to see what the kernel is
doing at boot time.

Steve

-- 
BOFH excuse #338:

old inkjet cartridges emanate barium-based fumes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20051009/2825f298/attachment.pgp 


More information about the Sussex mailing list