Date: Mon, 19 Sep 2022 21:40:42 -0600 From: Gary Aitken <freebsd@dreamchaser.org> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: disk non-destructive bad-block write/fix? Message-ID: <d687eb29-a3fb-7d91-a2c6-c1e4e1dc7e31@dreamchaser.org>
next in thread | raw e-mail | index | archive | help
I have a system I need to back up and my only available backup disk is throwing a lot of errors like: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 3c fd e5 68 00 00 40 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 3c fd e6 68 00 00 20 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Is there a way to exercise the free blocks on a ufs disk and move all defective ones to the bad-block list? Or is that already happening in the above scenario? The command was find . | grep -iv -f ./backup_ignores.txt | cpio -pmd /mnt/backup_20220919/ The disk is about 40% full but I'm wondering if the whole rest of it is trashed. Thanks, Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d687eb29-a3fb-7d91-a2c6-c1e4e1dc7e31>