[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:24880] Cdrecord でエラー



こんにちは。

Cdrecordで必ずエラーででます。書き込んだCDをmountすることもできませ
ん。
何が悪いのでしょうか?

----------------------------------------------------------------------

書き込みスクリプト

admin="admin@xxxxxxxxxxxxxx"
log="/var/log/backup"
dat=`date +%d%m%y`
tmp=`date +%d-%m-%y-%X`
vol="Backup-${dat}"

cd /temporary/cdr
if ! mkisofs -a -L -r -o ${tmp} -V ${vol} $1 2>> ${log}
then
   :|mail -s "Error cdbackup ${tmp} mkisofs $1" ${admin}
   exit 1
fi
if cdrecord dev=0,0,0 -v speed=2 fs=4x2m -data ${tmp} 1>> ${log} 2>&1
then
   :|mail -s "cdbackup successfull ${vol}" ${admin}
   rm ${tmp}
else
   :|mail -s "Error cdbackup ${tmp} cdrecord $1" ${admin}
   exit 2
fi
exit 0
------------------------------------------------------------------------------

エラーログ

Track 01: 518 of 558 MB written (fifo 100%).
Track 01: 519 of 558 MB written (fifo 100%).
Track 01: 520 of 558 MB written (fifo 100%).
cdrecord: Input/output error. write_g5: scsi sendcmd: retryable error
status: 0x2 (CHECK CONDITION)
CDB:  AA 00 00 04 10 A0 00 00 00 10 00 00
Sense Bytes: F0 00 05 FF FF FE D4 12 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk -300 (valid) 
cmd finished after 5.899s timeout 40s

write track data: error after 545587200 bytes
Sense Bytes: 70 00 00 00 00 00 00 12 00 00 00 00 00 00 00 00 00 00
Writing  time: 1788.385s
Fixating...
Fixating time:  123.669s
cdrecord: fifo had 16905 puts and 16651 gets.
cdrecord: fifo was 0 times empty and 16513 times full, min fill was 98%.
-----------------------------------------------------------------------------

mountのエラーメッセージ

debian:/usr/local/sbin# mount /cdrom
mount: block device /dev/cdr is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdr,
       or too many mounted file systems
---------------------------------------------------------------------------

野村
-- 
************************************************************
  Nomura Technical Management Office Ltd.
                   http://www.tmo.co.jp/
  Tomoo Nomura     nomura@xxxxxxxxx    Nifty:GBH12257
                   Fax: +81-78-797-0241
  ValueFax Support in Japan
  HAFAS European Electronic Time Table in Japan
  Worldwide Airline Time Table Flight Planner in Japan
************************************************************