On Sep 16, 2012, at 5:35 PM, Niccolò Belli wrote: > > then I read this on the smartmontools mailing list: > > << > Possibly what is happening is that because he is only writing a partial > block, the OS is first trying to read the the original block so that it > can preserve the parts that won't be changing. When this operation fails, > it blocks the write that would trigger reallocation of the bad sector. > Writing using the OS blocksize (typically 4096 on linux systems) properly > aligned should work around that issue. > >> > > so I tried with > > dd if=/dev/zero of=/dev/sda bs=4096 > > and ta-daaa! Useful info. Obviously Secure Erasing a disk takes a while and is overkill for just one sector. But I'm still curious if anyone knows if for sure ATA Secure Erase will remove bad sectors from use. Chris Murphy-- 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