Hallo,
wenn ich das script so scheibe:
|
Quellcode
|
1
2
|
tar czf /home/backups/home-back.tar.gz /home/wums4all/
mkisofs -o /home/temp/backup1.iso -U -J -R -f /home/temp/backup1.tar.gz && cdrecord -v -multi driveropts=burnfree -nofix -eject dev=3,0 /home/temp/backup1.iso && rm -f /home/temp/backup1.*
|
und das skript ausführe, dann kommt folgende Ausgabe:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/usr/local/sbin/backup_daily.sh
backup beginnt...
tar: Removing leading `/' from member names
Warning: creating filesystem that does not conform to ISO-9660.
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using utf-8 (detected in locale settings)
58.20% done, estimate finish Sat Jun 6 17:27:14 2009
Total translation table size: 0
Total rockridge attributes bytes: 257
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
8603 extents written (16 MB)
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 3 = CD-ROM XA mode 2
scsidev: '3,0'
scsibus: 0 target: 3 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
|
Wenn ich aber das script so schreibe:
|
Quellcode
|
1
2
|
tar czf /home/backups/home-back.tar.gz /home/wums4all/
mkisofs -o /home/temp/backup1.iso -U -J -R -f /home/temp/backup1.tar.gz && cdrecord -v -multi driveropts=burnfree -nofix -eject dev=3,0,0 /home/temp/backup1.iso && rm -f /home/temp/backup1.*
|
dann kommt wiederum folgende Meldung nach dem Start:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
tar: Removing leading `/' from member names
Warning: creating filesystem that does not conform to ISO-9660.
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using utf-8 (detected in locale settings)
58.20% done, estimate finish Sat Jun 6 17:28:47 2009
Total translation table size: 0
Total rockridge attributes bytes: 257
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
8603 extents written (16 MB)
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 3 = CD-ROM XA mode 2
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Linux sg driver version: 3.5.27
Wodim version: 1.1.7.1
Driveropts: 'burnfree'
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GE20NU10 '
Revision : 'EE06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0017 (Reserved/Unknown)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x001A (DVD+RW) (current)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 14147 kB/s 80x CD 10x DVD
FIFO size : 4194304 = 4096 KB
Track 01: data 16 MB
Total size: 19 MB (01:54.70) = 8603 sectors
Lout start: 19 MB (01:56/53) = 8603 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 2286501
Speed set to 11080 KB/s
Starting to write CD/DVD at speed 8.0 in real unknown mode for multi session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 0 of 16 MB written.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 0F 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.004s timeout 40s
write track data: error after 0 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Writing time: 12.675s
Average write speed 2.5x.
Errno: 5 (Input/output error), start/stop unit scsi sendcmd: no error
CDB: 1B 00 00 00 02 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 02 00 03 0F 53 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x53 Qual 0x00 (media load or eject failed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 8.216s timeout 40s
wodim: Cannot eject media.
wodim: fifo had 64 puts and 1 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.
backup beendet wenn das Medium ausgeworfen wurde...
|
Habe versucht die DVD dann zu mounten - man weiß ja nie - aber ich kriege solche Fehlermeldung:
|
Quellcode
|
1
2
3
4
5
6
7
|
mount -t iso9660 /dev/sr1 /media/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/sr1,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
|
Also weiter mit dmesg | tail:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
|
dmesg | tail -20
IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk>
cdrom: This disc doesn't have any tracks I recognize!
NET: Registered protocol family 17
lo: Disabled Privacy Extensions
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
end_request: I/O error, dev sr1, sector 0
Buffer I/O error on device sr1, logical block 0
end_request: I/O error, dev sr1, sector 0
Buffer I/O error on device sr1, logical block 0
end_request: I/O error, dev sr1, sector 64
isofs_fill_super: bread failed, dev=sr1, iso_blknum=16, block=16
|
wodim --devices sagt:
|
Quellcode
|
1
2
3
4
5
6
|
linux~#wodim --devices
wodim: Overview of accessible drives (2 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0' rwr--- : 'HL-DT-ST' 'DVD-ROM GDR8082N'
1 dev='/dev/scd1' rwr--- : 'HL-DT-ST' 'DVDRAM GE20NU10'
-------------------------------------------------------------------------
|
Ich bin mit meinem Latein am Ende.
Scheinbar ist das isosystem des Rohlings nicht i.O.
Editiert
Ich habe jetzt die mkisofs Optionen erweitert:
|
Quellcode
|
1
|
mkisofs -R -J -o /ho....
|
Dann kommt nach den Start des skripts sowas:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
tar: Removing leading `/' from member names
Warning: creating filesystem that does not conform to ISO-9660.
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using utf-8 (detected in locale settings)
58.20% done, estimate finish Sat Jun 6 17:59:10 2009
Total translation table size: 0
Total rockridge attributes bytes: 257
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
8603 extents written (16 MB)
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 3 = CD-ROM XA mode 2
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Linux sg driver version: 3.5.27
Wodim version: 1.1.7.1
Driveropts: 'burnfree'
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GE20NU10 '
Revision : 'EE06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0017 (Reserved/Unknown)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x001A (DVD+RW) (current)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 15773 kB/s 89x CD 11x DVD
FIFO size : 4194304 = 4096 KB
Track 01: data 16 MB
Total size: 19 MB (01:54.70) = 8603 sectors
Lout start: 19 MB (01:56/53) = 8603 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 2286501
Speed set to 11080 KB/s
Starting to write CD/DVD at speed 8.0 in real unknown mode for multi session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 0 of 16 MB written.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 0F 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.004s timeout 40s
write track data: error after 0 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Writing time: 12.713s
Average write speed 2.5x.
Errno: 5 (Input/output error), start/stop unit scsi sendcmd: no error
CDB: 1B 00 00 00 02 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 02 00 03 0F 53 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x53 Qual 0x00 (media load or eject failed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 8.229s timeout 40s
wodim: Cannot eject media.
wodim: fifo had 64 puts and 1 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.
|