[nflug] CDROM backup problems

Joe josephj at main.nc.us
Mon Feb 27 18:36:49 EST 2006


I have a backup script for my system which makes image backups of all my 
partitions using dump for the Linux ones and partimage for the Windoze 
98se ones.  It makes the files in 600MB chunks for CD burning and saves 
them to my big secondary hdb1 drive.  That works fine (and has for a 
long time).

Now, I am writing a second script to run all of them through mkisofs and 
cdrecord.  The script is fairly well tested - with these two main 
commands commented out.

Now I turned them on and got problems with cdrecord on the first 
iteration (it looks like mkisofs worked).

Questions:

Do I need to use different parameters for mkisofs for the Linux 
partitions than for the Windows ones?

Do I need to do anything about "Rock-Ridge" extensions?

Why is cdrecord unhappy?

I am (still) using Mandrake 9.1.

I did put a new blank CDROM 16x 700MB in the CDRW drive before I started.

Thanks.

Joe

Part of script that makes the iso and burns them (in a loop of several 
iso's)

mkisofs -J -o ${IMAGES[$I]}.iso ../${IMAGES[$I]}
  STATUS=$?
  if [ "$STATUS" -ne 0 ]
  then
    echo "Could not create /mnt/portable/iso/${IMAGES[$I]}.iso"
    mkisofs returned $STATUS
    echo $SCRIPT aborted
    exit 1
  fi

  cdrecord -v -speed=4 -data -dev=1,0,0 ${IMAGES[$I]}.iso
  STATUS=$?
  if [ "$STATUS" -ne 0 ]
  then
    echo "Could not burn /mnt/portable/iso/${IMAGES[$I]}.iso"
    echo cdrecord returned $STATUS
    echo $SCRIPT aborted
    exit 1
  fi

OUTPUT of Script

Place next blank CDROM in drive and enter Y to create and burn it y
Warning: creating filesystem with (nonstandard) Joliet extensions
         but without (standard) Rock Ridge extensions.
         It is highly recommended to add Rock Ridge
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 5064
928 extents written (1 Mb)

Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg 
Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'LITE-ON '
Identifikation : 'LTR-12101B      '
Revision       : 'LS39'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96P RAW/R96R
Drive buf size : 1994752 = 1948 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data     1 MB
Total size:        2 MB (00:12.40) = 930 sectors
Lout start:        2 MB (00:14/30) = 930 sectors
cdrecord: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 30 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
cdrecord: No disk / Wrong disk!

Could not burn /mnt/portable/iso/boot001.iso
cdrecord returned 255
burnback1 aborted
Backup Burn FAILED with status 1

Output from cdrecord - scanbus

root /home/bigbird/bin: $cdrecord -scanbus
Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg 
Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'LEXAR   ' 'JUMPDRIVE SECURE' '1000' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'LITE-ON ' 'LTR-12101B      ' 'LS39' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
root /home/bigbird/bin: $

_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list