
David Haller schrieb:
Was für ein I/O-Error genau?
In /var/log/messages steht u.a.: --------------------------- Apr 10 19:00:22 pc51329 smartd[4041]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors Apr 10 19:30:22 pc51329 smartd[4041]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors (diese Medlungen tauchen relativ oft auf, im 30minütigem Abstand ... Apr 20 14:22:39 pc51329 kernel: [ 3432.110631] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 Apr 20 14:22:39 pc51329 kernel: [ 3432.110635] ata1.00: BMDMA stat 0x25 Apr 20 14:22:39 pc51329 kernel: [ 3432.110640] ata1.00: failed command: WRITE DMA EXT Apr 20 14:22:39 pc51329 kernel: [ 3432.110647] ata1.00: cmd 35/00:08:a2:c3:14/00:00:1e:00:00/e0 tag 0 dma 4096 out Apr 20 14:22:39 pc51329 kernel: [ 3432.110648] res 00/00:00:00:00:00/01:01:01:01:01/00 Emask 0x2 (HSM violation) Apr 20 14:22:39 pc51329 kernel: [ 3432.110677] ata1: soft resetting link Apr 20 14:22:44 pc51329 kernel: [ 3437.308017] ata1: link is slow to respond, please be patient (ready=0) Apr 20 14:22:45 pc51329 kernel: [ 3438.528865] ata1.00: configured for UDMA/100 Apr 20 14:22:45 pc51329 kernel: [ 3438.528878] ata1: EH complete ... Apr 20 14:53:54 pc51329 kernel: [ 5307.872457] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 Apr 20 14:53:54 pc51329 kernel: [ 5307.872462] ata1.00: BMDMA stat 0x25 Apr 20 14:53:54 pc51329 kernel: [ 5307.872467] ata1.00: failed command: WRITE DMA EXT Apr 20 14:53:54 pc51329 kernel: [ 5307.872474] ata1.00: cmd 35/00:18:a2:61:a8/00:00:21:00:00/e0 tag 0 dma 12288 out Apr 20 14:53:54 pc51329 kernel: [ 5307.872476] res 00/00:00:00:00:00/01:01:01:01:01/00 Emask 0x2 (HSM violation) Apr 20 14:53:54 pc51329 kernel: [ 5307.872504] ata1: soft resetting link Apr 20 14:53:56 pc51329 kernel: [ 5309.596171] ata1.00: NODEV after polling detection Apr 20 14:53:56 pc51329 kernel: [ 5309.596176] ata1.00: revalidation failed (errno=-2) Apr 20 14:54:01 pc51329 kernel: [ 5314.932020] ata1: soft resetting link Apr 20 14:54:03 pc51329 kernel: [ 5316.040169] ata1.00: NODEV after polling detection Apr 20 14:54:03 pc51329 kernel: [ 5316.040173] ata1.00: revalidation failed (errno=-2) Apr 20 14:54:10 pc51329 kernel: [ 5323.616022] ata1: soft resetting link Apr 20 14:54:10 pc51329 kernel: [ 5323.805106] ata1.00: configured for UDMA/100 Apr 20 14:54:10 pc51329 kernel: [ 5323.805122] ata1: EH complete ... Apr 21 11:31:05 pc51329 kernel: [ 423.766090] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 Apr 21 11:31:05 pc51329 kernel: [ 423.766095] ata1.00: BMDMA stat 0x25 Apr 21 11:31:05 pc51329 kernel: [ 423.766100] ata1.00: failed command: WRITE DMA EXT Apr 21 11:31:05 pc51329 kernel: [ 423.766107] ata1.00: cmd 35/00:18:32:45:a8/00:00:21:00:00/e0 tag 0 dma 12288 out Apr 21 11:31:05 pc51329 kernel: [ 423.766109] res 00/00:00:00:00:00/01:01:01:01:01/00 Emask 0x2 (HSM violation) Apr 21 11:31:05 pc51329 kernel: [ 423.766137] ata1: soft resetting link Apr 21 11:31:06 pc51329 kernel: [ 424.088177] ata1.00: NODEV after polling detection Apr 21 11:31:06 pc51329 kernel: [ 424.088182] ata1.00: revalidation failed (errno=-2) Apr 21 11:31:12 pc51329 kernel: [ 430.097027] ata1: soft resetting link Apr 21 11:31:12 pc51329 kernel: [ 430.288438] ata1.00: configured for UDMA/100 Apr 21 11:31:12 pc51329 kernel: [ 430.288453] ata1: EH complete Apr 21 11:32:20 pc51329 kernel: [ 498.988083] ata1: lost interrupt (Status 0x50) Apr 21 11:32:20 pc51329 kernel: [ 498.988109] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen Apr 21 11:32:20 pc51329 kernel: [ 498.988114] ata1.00: failed command: WRITE DMA Apr 21 11:32:20 pc51329 kernel: [ 498.988121] ata1.00: cmd ca/00:08:8a:0d:9a/00:00:00:00:00/e7 tag 0 dma 4096 out Apr 21 11:32:20 pc51329 kernel: [ 498.988123] res 40/00:00:00:00:00/01:01:01:01:01/00 Emask 0x4 (timeout) Apr 21 11:32:20 pc51329 kernel: [ 498.988126] ata1.00: status: { DRDY } Apr 21 11:32:20 pc51329 kernel: [ 498.988153] ata1: soft resetting link Apr 21 11:32:21 pc51329 kernel: [ 499.176861] ata1.00: configured for UDMA/100 Apr 21 11:32:21 pc51329 kernel: [ 499.176872] ata1: EH complete ----------------------------- Was haltet Ihr davon ?
Was sagt 'fdisk -l /dev/sda'? Evtl. hat's die Partitionstabelle zerrupft.
--------------------------- root@Knoppix:~# fdisk -l /dev/hda
Platte /dev/hda: 500.1 GByte, 500107862016 Byte 255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x3a5a1556
Gerät boot. Anfang Ende Blöcke Id System /dev/hda1 1 262 2104483+ 82 Linux Swap / Solaris /dev/hda2 * 263 4178 31455270 83 Linux /dev/hda3 4179 43340 314568765 8e Linux LVM ---------------------------- Sieht gut aus.
Das fdisk auf das Image sieht allerdings etwas anders aus:
---------------------------- root@Knoppix:~# fdisk -l /media/sda2/hda.img Sie müssen angeben Zylinder. Sie können dies im Zusatzfunktionsmenü tun.
Platte /media/sda2/hda.img: 0 MByte, 0 Byte 255 Köpfe, 63 Sektoren/Spuren, 0 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x3a5a1556
Gerät boot. Anfang Ende Blöcke Id System /media/sda2/hda.img1 1 262 2104483+ 82 Linux Swap / Solaris /media/sda2/hda.img2 * 263 4178 31455270 83 Linux Partition 2 hat unterschiedliche phys./log. Enden: phys=(1023, 254, 63) logisch=(4177, 254, 63) /media/sda2/hda.img3 4179 43340 314568765 8e Linux LVM Partition 3 hat unterschiedliche phys./log. Anfänge (nicht-Linux?): phys=(1023, 254, 63) logisch=(4178, 0, 1) Partition 3 hat unterschiedliche phys./log. Enden: phys=(1023, 254, 63) logisch=(43339, 254, 63) -----------------------------
Ist das normal ?
Mittlerweile komme ich auch an die LV's ran. Anregungen dazu gibt's hier: http://blog.ncsa.uiuc.edu/aashish/2009/01/21/mounting-lvm-disk-image/ Ich hab's allerdings etwas anders gemacht. Mit fdisk und mmls die Sektorengrenzen des PV rauskriegen. Untere Sektorengrenze mit 512 multiplizieren (512 Bytes pro Sektor), und dann die betr. Partition mittels losetup dem Betriebssystem als Blockdevice klarmachen: losetup /dev/loop1 -o 34365219840 /media/sda2/hda.img (-o ist der Offset in Bytes, aus der vorherigen Multiplikation). Anschließend funktioniert pvscan, vgscan und lvscan. Die LV's lassen sich dann mounten. Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671 -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org