erreur de type qui se leve trop tot [resolu] [Mkisofs] - Multimédia - Linux et OS Alternatifs
Marsh Posté le 29-08-2002 à 09:40:13
kneko@linux:~> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdc2 11G 203M 11G 2% /
/dev/hda1 19G 3.6G 14G 21% /home
/dev/sdc5 5.5G 1.3G 4.2G 23% /opt
/dev/sda5 2.5G 146M 2.3G 6% /tmp
/dev/sdb1 8.5G 3.3G 5.2G 39% /usr
/dev/sda6 1.2G 185M 1.0G 15% /var
shmfs 125M 0 124M 0% /dev/shm
/dev/sr1 386M 387M 0 100% /media/cdrom1
/dev/sr2 117M 117M 0 100% /media/cdrom2
/dev/sr0 232M 232M 0 100% /media/cdrom
/dev/hdc 4.4G 4.4G 0 100% /media/dvd
/dev/hdd4 96M 45M 51M 47% /media/zip
/dev/sr3 105M 105M 0 100% /media/cdrecorder
You have new mail in /var/spool/mail/kneko
kneko@linux:~> mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/mail/kneko": 1 message 1 new
>N 1 Thu Aug 29 09:30 178/9442 "backup on CDRW report"
& 1
From root@linux.local Thu Aug 29 09:30:15 2002
Date: Thu, 29 Aug 2002 09:30:14 +0200
From: root <>
To: francois Pussault <kneko@linux.local>
Subject: backup on CDRW report
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="17pEHd4RhPHOinZp"
Content-Disposition: inline
User-Agent: Mutt/1.3.27i
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
MAIL ENVOYE PAR UN SCRIPT
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename="backup_on_CDRW.log"
Content-Transfer-Encoding: quoted-printable
Thu Aug 29 09:19:40 CEST 2002
Creer le fichier iso-----------------------
Creer le fichier iso--------------------END
Effacer le CDRW actuel---------------------
Cdrecord 1.11a13 (i686-suse-linux) Copyright (C) 1995-2001 J=F6rg Schilling
TOC Type: 1 =3D CD-ROM
Using libscg version 'schily-0.5'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'SONY '
Identifikation : 'CD-RW CRX100E '
Revision : '1.0j'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO=20
Supported modes: TAO PACKET SAO
Drive buf size : 1040128 =3D 1015 KB
Current Secsize: 2048
ATIP start of lead out: 336601 (74:50/01)
Blocks total: 336601 Blocks current: 336601 Blocks remaining: 336751
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 9 seconds.=08=08=08=08=08=08=08=
=08=08=088 seconds.=08=08=08=08=08=08=08=08=08=087 seconds.=08=08=08=08=08=
=08=08=08=08=086 seconds.=08=08=08=08=08=08=08=08=08=085 seconds.=08=08=08=
=08=08=08=08=08=08=084 seconds.=08=08=08=08=08=08=08=08=08=083 seconds.=08=
=08=08=08=08=08=08=08=08=082 seconds.=08=08=08=08=08=08=08=08=08=081 second=
s.=08=08=08=08=08=08=08=08=08=080 seconds. Operation starts.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time: 90.210s
Effacer le CDRW actuel------------------END
Graver le CD ------------------------------
Cdrecord 1.11a13 (i686-suse-linux) Copyright (C) 1995-2001 J=F6rg Schilling
TOC Type: 1 =3D CD-ROM
Using libscg version 'schily-0.5'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'SONY '
Identifikation : 'CD-RW CRX100E '
Revision : '1.0j'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO=20
Supported modes: TAO PACKET SAO
Drive buf size : 1040128 =3D 1015 KB
FIFO size : 4194304 =3D 4096 KB
Track 01: data 104 MB =20
Total size: 120 MB (11:54.26) =3D 53570 sectors
Lout start: 120 MB (11:56/20) =3D 53570 sectors
Current Secsize: 2048
ATIP start of lead in: -11597 (97:27/28)
ATIP start of lead out: 336601 (74:50/01)
Disk type: Phase change
Manuf. index: 20
Manufacturer: Princo Corporation
Blocks total: 336601 Blocks current: 336601 Blocks remaining: 283031
RBlocks total: 346489 RBlocks current: 346489 RBlocks remaining: 292919
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 9 seconds.=08=08=08=08=08=08=08=
=08=08=088 seconds.=08=08=08=08=08=08=08=08=08=087 seconds.=08=08=08=08=08=
=08=08=08=08=086 seconds.=08=08=08=08=08=08=08=08=08=085 seconds.=08=08=08=
=08=08=08=08=08=08=084 seconds.=08=08=08=08=08=08=08=08=08=083 seconds.=08=
=08=08=08=08=08=08=08=08=082 seconds.=08=08=08=08=08=08=08=08=08=081 second=
s.=08=08=08=08=08=08=08=08=08=080 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
=0DTrack 01: 0 of 104 MB written.=0DTrack 01: 1 of 104 MB written (fifo=
100%).=0DTrack 01: 2 of 104 MB written (fifo 100%).=0DTrack 01: 3 of 1=
04 MB written (fifo 100%).=0DTrack 01: 4 of 104 MB written (fifo 100%).=
=0DTrack 01: 5 of 104 MB written (fifo 100%).=0DTrack 01: 6 of 104 MB w=
ritten (fifo 100%).=0DTrack 01: 7 of 104 MB written (fifo 100%).=0DTrack =
01: 8 of 104 MB written (fifo 100%).=0DTrack 01: 9 of 104 MB written (f=
ifo 100%).=0DTrack 01: 10 of 104 MB written (fifo 100%).=0DTrack 01: 11 o=
f 104 MB written (fifo 100%).=0DTrack 01: 12 of 104 MB written (fifo 100%)=
.=0DTrack 01: 13 of 104 MB written (fifo 100%).=0DTrack 01: 14 of 104 MB =
written (fifo 100%).=0DTrack 01: 15 of 104 MB written (fifo 100%).=0DTrack=
01: 16 of 104 MB written (fifo 100%).=0DTrack 01: 17 of 104 MB written (=
fifo 100%).=0DTrack 01: 18 of 104 MB written (fifo 100%).=0DTrack 01: 19 =
of 104 MB written (fifo 100%).=0DTrack 01: 20 of 104 MB written (fifo 100%=
).=0DTrack 01: 21 of 104 MB written (fifo 100%).=0DTrack 01: 22 of 104 MB=
written (fifo 100%).=0DTrack 01: 23 of 104 MB written (fifo 100%).=0DTrac=
k 01: 24 of 104 MB written (fifo 100%).=0DTrack 01: 25 of 104 MB written =
(fifo 100%).=0DTrack 01: 26 of 104 MB written (fifo 100%).=0DTrack 01: 27=
of 104 MB written (fifo 100%).=0DTrack 01: 28 of 104 MB written (fifo 100=
%).=0DTrack 01: 29 of 104 MB written (fifo 100%).=0DTrack 01: 30 of 104 M=
B written (fifo 100%).=0DTrack 01: 31 of 104 MB written (fifo 100%).=0DTra=
ck 01: 32 of 104 MB written (fifo 100%).=0DTrack 01: 33 of 104 MB written=
(fifo 100%).=0DTrack 01: 34 of 104 MB written (fifo 100%).=0DTrack 01: 3=
5 of 104 MB written (fifo 100%).=0DTrack 01: 36 of 104 MB written (fifo 10=
0%).=0DTrack 01: 37 of 104 MB written (fifo 100%).=0DTrack 01: 38 of 104 =
MB written (fifo 100%).=0DTrack 01: 39 of 104 MB written (fifo 100%).=0DTr=
ack 01: 40 of 104 MB written (fifo 100%).=0DTrack 01: 41 of 104 MB writte=
n (fifo 100%).=0DTrack 01: 42 of 104 MB written (fifo 100%).=0DTrack 01: =
43 of 104 MB written (fifo 100%).=0DTrack 01: 44 of 104 MB written (fifo 1=
00%).=0DTrack 01: 45 of 104 MB written (fifo 100%).=0DTrack 01: 46 of 104=
MB written (fifo 100%).=0DTrack 01: 47 of 104 MB written (fifo 100%).=0DT=
rack 01: 48 of 104 MB written (fifo 100%).=0DTrack 01: 49 of 104 MB writt=
en (fifo 100%).=0DTrack 01: 50 of 104 MB written (fifo 100%).=0DTrack 01: =
51 of 104 MB written (fifo 100%).=0DTrack 01: 52 of 104 MB written (fifo =
100%).=0DTrack 01: 53 of 104 MB written (fifo 100%).=0DTrack 01: 54 of 10=
4 MB written (fifo 100%).=0DTrack 01: 55 of 104 MB written (fifo 100%).=0D=
Track 01: 56 of 104 MB written (fifo 100%).=0DTrack 01: 57 of 104 MB writ=
ten (fifo 100%).=0DTrack 01: 58 of 104 MB written (fifo 100%).=0DTrack 01:=
59 of 104 MB written (fifo 100%).=0DTrack 01: 60 of 104 MB written (fifo=
100%).=0DTrack 01: 61 of 104 MB written (fifo 100%).=0DTrack 01: 62 of 1=
04 MB written (fifo 100%).=0DTrack 01: 63 of 104 MB written (fifo 100%).=
=0DTrack 01: 64 of 104 MB written (fifo 100%).=0DTrack 01: 65 of 104 MB w=
ritten (fifo 100%).=0DTrack 01: 66 of 104 MB written (fifo 100%).=0DTrack =
01: 67 of 104 MB written (fifo 100%).=0DTrack 01: 68 of 104 MB written (f=
ifo 100%).=0DTrack 01: 69 of 104 MB written (fifo 100%).=0DTrack 01: 70 o=
f 104 MB written (fifo 100%).=0DTrack 01: 71 of 104 MB written (fifo 100%)=
.=0DTrack 01: 72 of 104 MB written (fifo 100%).=0DTrack 01: 73 of 104 MB =
written (fifo 100%).=0DTrack 01: 74 of 104 MB written (fifo 100%).=0DTrack=
01: 75 of 104 MB written (fifo 100%).=0DTrack 01: 76 of 104 MB written (=
fifo 100%).=0DTrack 01: 77 of 104 MB written (fifo 100%).=0DTrack 01: 78 =
of 104 MB written (fifo 100%).=0DTrack 01: 79 of 104 MB written (fifo 100%=
).=0DTrack 01: 80 of 104 MB written (fifo 100%).=0DTrack 01: 81 of 104 MB=
written (fifo 100%).=0DTrack 01: 82 of 104 MB written (fifo 100%).=0DTrac=
k 01: 83 of 104 MB written (fifo 100%).=0DTrack 01: 84 of 104 MB written =
(fifo 100%).=0DTrack 01: 85 of 104 MB written (fifo 100%).=0DTrack 01: 86=
of 104 MB written (fifo 100%).=0DTrack 01: 87 of 104 MB written (fifo 100=
%).=0DTrack 01: 88 of 104 MB written (fifo 100%).=0DTrack 01: 89 of 104 M=
B written (fifo 100%).=0DTrack 01: 90 of 104 MB written (fifo 100%).=0DTra=
ck 01: 91 of 104 MB written (fifo 100%).=0DTrack 01: 92 of 104 MB written=
(fifo 100%).=0DTrack 01: 93 of 104 MB written (fifo 100%).=0DTrack 01: 9=
4 of 104 MB written (fifo 100%).=0DTrack 01: 95 of 104 MB written (fifo 10=
0%).=0DTrack 01: 96 of 104 MB written (fifo 100%).=0DTrack 01: 97 of 104 =
MB written (fifo 100%).=0DTrack 01: 98 of 104 MB written (fifo 100%).=0DTr=
ack 01: 99 of 104 MB written (fifo 100%).=0DTrack 01: 100 of 104 MB writte=
n (fifo 100%).=0DTrack 01: 101 of 104 MB written (fifo 100%).=0DTrack 01: 1=
02 of 104 MB written (fifo 100%).=0DTrack 01: 103 of 104 MB written (fifo 1=
00%).=0DTrack 01: 104 of 104 MB written (fifo 100%).
Track 01: Total bytes read/written: 109707264/109707264 (53568 sectors).
Writing time: 354.789s
Fixating...
Fixating time: 122.510s
Graver le CD ---------------------------END
Thu Aug 29 09:30:09 CEST 2002
Tester la descente / le montage du CD -----
Tester la descente / le montage du CD --END
voila ca marche mieux de suite
avec un CD neuf et sans faute de frappe dans le script...
Marsh Posté le 29-08-2002 à 08:53:56
linux:~ # mkisofs -o /tmp/New_bckp.iso -J -r -R -Graft-points -l \
> -l -L -no-bak -allow-multidot -q \
> db/=/home/db \
> docs/=/home/kneko/Documents \
> bgd1/=/home/operator/backgrounds.4.Xwin \
> bgd1/=/home/operator/backgrounds2.4.Xwin \
> dbkp/=/home/kneko/sql.backup \
> seti/=/home/kneko/seti \
> snc2/=/home/kneko/setiNuxCommander-0.1-pre2 \
> >> /var/log/backup_on_CDRW.log
Warning: creating filesystem that does not conform to ISO-9660.
mkisofs: No such file or directory. Invalid node - db/=/home/db
d'ou vient ce message ???????
sachant que quelque soit 1er repertoire de la liste il me mets la meme erreur et ce quel qu'en soit le user proprietaire. Meme lance hors du script c'est pareil.
je lance le gravage dans un script sous ROOT.
dans le crontab.
pour info voila voila le script
---------------------- ----------------------
linux:~ # cat backup_on_CDRW.sh
#!/bin/sh
rm /var/log/backup_on_CDRW.log
date > /var/log/backup_on_CDRW.log
echo "Creer le fichier iso-----------------------" >> /var/log/backup_on_CDRW.log
mkisofs -o /tmp/New_bckp.iso -J -r -R -Graft-points -l \
-l -L -no-bak -allow-multidot -q \
db/=/home/db \
docs/=/home/kneko/Documents \
bgd1/=/home/operator/backgrounds.4.Xwin \
bgd1/=/home/operator/backgrounds2.4.Xwin \
dbkp/=/home/kneko/sql.backup \
seti/=/home/kneko/seti \
snc2/=/home/kneko/setiNuxCommander-0.1-pre2 \
>> /var/log/backup_on_CDRW.log
echo "Creer le fichier iso--------------------END" >> /var/log/backup_on_CDRW.log
echo "Effacer le CDRW actuel---------------------" >> /var/log/backup_on_CDRW.log
cdrecord -v -pad speed=4 dev=1,0,0 blank=fast >> /var/log/backup_on_CDRW.log
echo "Effacer le CDRW actuel------------------END" >> /var/log/backup_on_CDRW.log
echo "Graver le CD ------------------------------" >> /var/log/backup_on_CDRW.log
cdrecord -v speed=4 dev=1,0,0 /tmp/New_bckp.iso >> /var/log/backup_on_CDRW.log
echo "Graver le CD ---------------------------END" >> /var/log/backup_on_CDRW.log
date >> /var/log/backup_on_CDRW.log
echo "Tester la descente / le montage du CD -----" >> /var/log/backup_on_CDRW.log
umount /media/cdrecorder >> /var/log/backup_on_CDRW.log
mount /dev/sr3 /media/cdrecorder >> /var/log/backup_on_CDRW.log
echo "Tester la descente / le montage du CD --END" >> /var/log/backup_on_CDRW.log
mutt -a /var/log/backup_on_CDRW.log -s "backup on CDRW report" root < /root/mailbosy.txt
mutt -a /var/log/backup_on_CDRW.log -s "backup on CDRW report" kneko < /root/mailbosy.txt
mutt -a /var/log/backup_on_CDRW.log -s "backup on CDRW report" toila < /root/mailbosy.txt
--------------------------------------------------------
voila le script
de m'aider
PUT1 faut que j'arrete de me lever tot (avant 16h30 du mat quoi!!!)
c'est -graft-point en minuscule et en plus mon CDRW de backup qui est desormais mort...il etait en service depuis le 1/1/2002....a raison de 4 backups par semaines dessus.
Message édité par kuroineko le 29-08-2002 à 09:42:56
---------------
[:kuroineko] Francois.P tel: (+33)617230820 http://www.ifrance.com/fpussault fpussault@caramail.com