Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2006 11:11:49 -0600
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Olivier Nicole" <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reading crashed SCSI disk
Message-ID:  <d7195cff0611070911u2dbae581w4090cf3b78875405@mail.gmail.com>
In-Reply-To: <200611060153.kA61rLNt026020@banyan.cs.ait.ac.th>
References:  <200611060153.kA61rLNt026020@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/5/06, Olivier Nicole <on@cs.ait.ac.th> wrote:
> 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).
If you have an idea of how full the drive was you can save reading
all of the empty blocks with bs=xxx count=xxx which may speed
things up considerably.

-- 
--



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