Re: disk non-destructive bad-block write/fix?
- Reply: Gary Aitken : "Re: disk non-destructive bad-block write/fix?"
- In reply to: Gary Aitken : "Re: disk non-destructive bad-block write/fix?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Sep 2022 03:13:57 UTC
> This one is harder because of blanks and other stupid characters in find -print0 xargs -0 > Or do you do the whole thing on the fly somehow and only worry about the > one overarching result? People often diff. Lots of ways and tools. And ZFS does checksums internally and emits error notices. >> dd if=/dev/da0 of=/dev/null bs=1m conv=noerror > Am I right in assuming this will skip remapped bad sectors? Just continues reading linear past errors. See manpage. Spares mapped in are transparent to user. Bad sectors mapped out are no longer accessible unless the vendor firmware modepages lets you play with them. FreeBSD might have some bad disk emulator GEOM device by now. > It's been running for several days now... If no output so far, send it a ctrl-t or kill -info, it maybe stuck or has read past end of media size already.