Re: Checking the sanity of SATA disks

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

 



>         dd if=/dev/sd[abcd] of=/dev/null

the only thing really wrong with that is that you're using 512 byte IOs,
which is ridiculously inefficient.  disks these days don't do IO in 512B
chunks, so there's no justification for this.  (the last time I did a scan
of a sick disk, IIRC the minimum data size was actually 8K - that was an 
old deathstar that someone had flopping around loose inside a case...)

using, say, 128KB chunks will consume less overhead.  using O_DIRECT will
also treat the rest your system a bit nicer.

-
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