On 15 July 2014 02:55, Sachin Garg <sgarg.bugreporter@xxxxxxxxx> wrote: > Hi, > > I want to be able to identify the exact device creating truble for my > RAID-5 backed LVM. > > The issue: > > I have a 4 disc RAID-5 array that holds my /home asan LVM volume > group. Recently, I am getting errors like: > > Buffer I/O error on device dm-7, logical block 10526729 > > So, I do: > > # dmsetup table /dev/dm-7 > 0 251658240 linear 9:127 2048 > > Major 9, Minor 127 is my MD device "/dev/md127" > > My /dev/md127 is made up of 4 disk partitions. > > I want to know on what disk does "logical block 10526729" lie so that > I can identify the culprit and replace that disk. > > Any ideas? > Best, > Sachin > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html That's an odd way of going about it. Why not just scrub/check the array and see what MD comes back with? Also, "smartctl -t long /dev/sdX" tests. Regards, Mathias -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html