Re: Why does one get mismatches?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/20/2010 05:30 PM, Majed B. wrote:
He needs to run a full offline or long test before checking with
smartctl -a -- since it won't show any sector errors if those tests
weren't run at least once.

Not sure I agree with that. The md checks he's been doing will cause a read of all data regions of the relevant partition and if the disk is throwing errors, those sectors should be marked probational. Then, if a subsequent repair ends up remapping them, those sectors will show up as remapped.

The grep will show both probational and remapped sector counts for each drive.

BTW, the cmd should also include an echo so it's easy to tell which drive is being reported:

for di in a b c d e f g; do echo $di; smartctl -a /dev/sd$di | grep -i _sect; done

-BR

--
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux