[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Feb 2006 ]

[edlug] Suse cdrecord problems



Hi

I've been lurking for a couple of weeks, but thought I'd introduce myself as I now have a problem I hope someone can help me with.

I run an IT consultancy, specialising in Apple Mac, Linux and UNIX support. One of my customers has a server running SUSE 9 with a simple backup script backing up onto DVD-RW.

-----8<-----

#!/bin/sh


# Simple DVD backup
# Kevin Davidson <kevin@xxx.xxx.xxx>

LOG=`mktemp`

exec >> $LOG 2>&1

ISOPUB="indigospring.co.uk"
ISOPREP="kevin@xxx.xxx.xxx"
ISOVOL="BKP-`date +%Y%m%d`"

mkisofs -v -l -R -pad -J -V $ISOVOL -P $ISOPUB -p $ISOPREP -o /var/tmp/dvd.iso /home
umount /media/dvdrecorder
cdrecord driveropts=burnfree -dev=0,0,0 -dao fs=6m blank=all -pad /var/tmp/dvd.iso

mail -s "Backup completed $ISOVOL" backups < $LOG
rm $LOG
exit 0

-----8<-----

Unfortunately, it seems to run fine for a few nights and then stops for no apparent reason. 

-----8<-----

scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
cdrecord: Warning: using inofficial libscg transport code version (okir@xxx.xxx.xxx '@xxx.xxx.xxx(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
cdrecord: Found DVD media: using cdr_mdvd.
Cdrecord-Clone 2.01a18-dvd (i686-suse-linux) Copyright (C) 1995-2003 J?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@xxx.xxx.xxx>.
Note: The author of cdrecord is not to be bothered with problems in this version.
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'PIONEER '
Identifikation : 'DVD-RW  DVR-104 '
Revision       : '1.30'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Starting to write CD/DVD at speed 1 in real SAO mode for single session.
Last chance to quit, starting real write in 9 seconds.   8 seconds.   7 seconds.   6 seconds.   5 seconds.   4 seconds.   3 seconds.   2 seconds.   1 seconds.   0 seconds. Operation starts.cdrecord: faio_wait_on_buffer for writer timed out.
cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: cmd timeout after 399.999 (200) s
CDB:  1E 00 00 00 00 00
cmd finished after 399.999s timeout 200s
cdrecord: Turning BURN-Free on
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
cdrecord: faio_wait_on_buffer for reader timed out.

trackno=0
Turning BURN-Free off
Thu Feb  9 05:20:20 GMT 2006

-----8<-----

Can anyone spot what I have done wrong?

Alternatively, does anyone have a better suggestion or I might have to suggest buying Retrospect to run on one of their desktop PCs :-( A client backing up a server just seems wrong to me.

Cheers

Kevin


Kevin Davidson
Technical Director

t 0870 745 4001
m 07813 149620
w www.indigospring.co.uk


This archive is kept by wibble+RM@xxx.xxx.xxx
Morpheux
HomePage