On Fri, Oct 07, 2011 at 06:51:00PM +0200, Helmut Hullen wrote:
> Oct 7 18:16:55 Arktur kernel: ata5.00: exception Emask 0x0 SAct 0x0
> SErr 0x0 action 0x0
> Oct 7 18:16:55 Arktur kernel: ata5.00: BMDMA2 stat 0x80d2009
> Oct 7 18:16:55 Arktur kernel: ata5.00: failed command: READ DMA
> Oct 7 18:16:55 Arktur kernel: ata5.00: cmd c8/00:40:57:d0:34/00:00:00:00:00/ee tag 0 dma 32768 in
> Oct 7 18:16:55 Arktur kernel: res 51/40:40:57:d0:34/00:03:0e:00:00/fe Emask 0x9 (media error)
> Oct 7 18:16:55 Arktur kernel: ata5.00: status: { DRDY ERR }
> Oct 7 18:16:55 Arktur kernel: ata5.00: error: { UNC }
> Oct 7 18:16:55 Arktur kernel: ata5.00: configured for UDMA/100
> Oct 7 18:16:55 Arktur kernel: ata5: EH complete
>
> (repeating every 3 seconds)
>
> The files contain no valuable data (*.mpeg files, reproducable). But how
> can I tell the disk not to use the damaged sector(s)?
>
> On an ext2/3 system I used "badblocks" - is there some comparable tool
> for btrfs?
No there isn't, but it's a good topic for a btrfs project :)
(I see lots of interesting problems like relocating superblocks, damaged
allocator structures, ...)
david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html