Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2006 12:24:20 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        illoai@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reading crashed SCSI disk
Message-ID:  <200611080524.kA85OKN2068574@banyan.cs.ait.ac.th>
In-Reply-To: <d7195cff0611070911u2dbae581w4090cf3b78875405@mail.gmail.com> (illoai@gmail.com)
References:  <200611060153.kA61rLNt026020@banyan.cs.ait.ac.th> <d7195cff0611070911u2dbae581w4090cf3b78875405@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611080524.kA85OKN2068574>