Reading crashed SCSI disk

Olivier Nicole on at cs.ait.ac.th
Wed Nov 8 05:24:22 UTC 2006


> > I am wondering if there is a way to read the physical blocks (those
> > that are readable) and save the data, from that I could be able to
> > rebuild some of the mailboxes.
> 
> dd if=/scsi_drive of=/some/file/name
> 
> Should read anything readable, though without bs=xxx it may be
> quite slow.  You can usually then mount the file via mdconfig(8).
> If the partition table is intact you can specify that instead of the
> whole disk. This can make the fiddly bit with trying to figure out
> exactly what part will mount under md(4).

I tried

dd if=/dev/da0s1 of=/somefile

dd stopped after a short while with I/O error, after a number of SCSI
reading errors.

best regards,

Olivier


More information about the freebsd-questions mailing list