Re: copier le disque de mon pc

Startseite

Nachricht beantworten
Autor: anne.guilde@free.fr
Datum:  
To: xmarc, guilde
Betreff: Re: copier le disque de mon pc
Le 02/09/2015 00:46, Marc a écrit :
> Le 01/09/2015 21:23, Olivier Allard-Jacquin a écrit :
>>     La commande d'Anne a au moins le mériter de backuper le MBR et le
>> secteur de boot. Ainsi que les éventuels tatouages du disque par la
>> constructeur.

>
> Pour la difficulté, il me semble qu'Anne n'est plus tout à fait une
> débutante et qu'elle a mis en oeuvre des trucs bcp plus compliqués :-)
>


oui et non.
Il y a tellement longtemps que je n'ai pas bidouillé avec linux que j'ai
beaucoup de mal à me souvenir...

La commande que j'ai faite a duré de 21h à 5h du matin et c'est terminé par
dd: reading `/dev/sda': Input/output error

------
# dd if=/dev/sda | gzip > sauv-20150901

dd: reading `/dev/sda': Input/output error
410821552+0 records in
410821552+0 records out
210340634624 bytes (210 GB) copied, 23126.8 s, 9.1 MB/s
-----
log de messages

Sep  2 05:21:31 localhost kernel: [23715.633827] ata1.00: configured for 
UDMA/100
Sep  2 05:21:31 localhost kernel: [23715.633887] ata1: EH complete
Sep  2 05:21:34 localhost kernel: [23718.414820] ata1.00: configured for 
UDMA/100
Sep  2 05:21:34 localhost kernel: [23718.414876] ata1: EH complete
Sep  2 05:21:37 localhost kernel: [23721.161642] ata1.00: configured for 
UDMA/100
Sep  2 05:21:37 localhost kernel: [23721.161698] ata1: EH complete
Sep  2 05:21:40 localhost kernel: [23723.909600] ata1.00: configured for 
UDMA/100
Sep  2 05:21:40 localhost kernel: [23723.909656] ata1: EH complete
Sep  2 05:21:42 localhost kernel: [23726.639919] ata1.00: configured for 
UDMA/100
Sep  2 05:21:42 localhost kernel: [23726.639975] ata1: EH complete
Sep  2 05:21:45 localhost kernel: [23729.396131] ata1.00: configured for 
UDMA/100
Sep  2 05:21:45 localhost kernel: [23729.396247] sd 0:0:0:0: [sda] 
Unhandled sense code
Sep  2 05:21:45 localhost kernel: [23729.396256] sd 0:0:0:0: [sda] 
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Sep  2 05:21:45 localhost kernel: [23729.396267] sd 0:0:0:0: [sda] 
Sense Key : Medium Error [current] [descriptor]
Sep  2 05:21:45 localhost kernel: [23729.396281] Descriptor sense data 
with sense descriptors (in hex):
Sep  2 05:21:45 localhost kernel: [23729.396288]         72 03 11 04 00 
00 00 0c 00 0a 80 00 00 00 00 00
Sep  2 05:21:45 localhost kernel: [23729.396313]         18 7c a3 b3
Sep  2 05:21:45 localhost kernel: [23729.396325] sd 0:0:0:0: [sda]  Add. 
Sense: Unrecovered read error - auto reallocate failed
Sep  2 05:21:45 localhost kernel: [23729.396341] sd 0:0:0:0: [sda] CDB: 
Read(10): 28 00 18 7c a2 e0 00 01 00 00
Sep  2 05:21:45 localhost kernel: [23729.396479] ata1: EH complete
Sep  2 05:21:48 localhost kernel: [23732.150902] ata1.00: configured for 
UDMA/100
Sep  2 05:21:48 localhost kernel: [23732.150956] ata1: EH complete
Sep  2 05:21:51 localhost kernel: [23734.890833] ata1.00: configured for 
UDMA/100
Sep  2 05:21:51 localhost kernel: [23734.890887] ata1: EH complete
Sep  2 05:21:53 localhost kernel: [23737.662514] ata1.00: configured for 
UDMA/100
Sep  2 05:21:53 localhost kernel: [23737.662569] ata1: EH complete
Sep  2 05:21:56 localhost kernel: [23740.393943] ata1.00: configured for 
UDMA/100
Sep  2 05:21:56 localhost kernel: [23740.393997] ata1: EH complete
Sep  2 05:21:59 localhost kernel: [23743.140775] ata1.00: configured for 
UDMA/100
Sep  2 05:21:59 localhost kernel: [23743.140829] ata1: EH complete
Sep  2 05:22:02 localhost kernel: [23745.880480] ata1.00: configured for 
UDMA/100
Sep  2 05:22:02 localhost kernel: [23745.880534] sd 0:0:0:0: [sda] 
Unhandled sense code
Sep  2 05:22:02 localhost kernel: [23745.880543] sd 0:0:0:0: [sda] 
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Sep  2 05:22:02 localhost kernel: [23745.880554] sd 0:0:0:0: [sda] 
Sense Key : Medium Error [current] [descriptor]
Sep  2 05:22:02 localhost kernel: [23745.880567] Descriptor sense data 
with sense descriptors (in hex):
Sep  2 05:22:02 localhost kernel: [23745.880574]         72 03 11 04 00 
00 00 0c 00 0a 80 00 00 00 00 00
Sep  2 05:22:02 localhost kernel: [23745.880599]         18 7c a3 b3
Sep  2 05:22:02 localhost kernel: [23745.880611] sd 0:0:0:0: [sda]  Add. 
Sense: Unrecovered read error - auto reallocate failed
Sep  2 05:22:02 localhost kernel: [23745.880627] sd 0:0:0:0: [sda] CDB: 
Read(10): 28 00 18 7c a3 b0 00 00 08 00
Sep  2 05:22:02 localhost kernel: [23745.880745] ata1: EH complete
-----


Je pense qu'il va falloir que je recommence avec la commande d'olivier.

dd if=/dev/sda bs=4096| gzip -9 > /media/sauv-dd/dd-am/dd-20150901.img.gz

mais que faire pour ne plus avoir d'erreur?

Cela me parait très long pour sauvegarder un disque. C'est normal ou pas?

Anne