4

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ddrescue or testdrive in any reasonable fashion.

2 Answers 2

4

With FreeBSD 9+ the camcontrol utility can be used to control if either a SATA or a SCSI drive is disconnected, or not, in such circumstances:

camcontrol negotiate /dev/<dev> -D disable
4

Use gmountver; configure it (gmountver create /dev/adaX) and use ddrescue on /dev/adaX.mountver. The mountver device will stay there while adaX`` disappears, and all the disk IO operations will get retried after it reappears.

1
  • 1
    nice! that'll go into my toolbox. Jan 28, 2015 at 17:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .