disk recovery problem(s)

Roland Smith rsmith at xs4all.nl
Fri Feb 6 12:24:24 PST 2009


On Fri, Feb 06, 2009 at 02:48:41PM -0500, Robert Huff wrote:
> 
> 	Had a power outage recently; when trying to fsck several
> external hard drives I'm getting unexpected errors.
> 	For example:
> 
> huff@>> fsck /dev/da3a
> ** /dev/da3a
> ** Last Mounted on /backup
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ROOT INODE UNALLOCATED
> ALLOCATE? [yn] 
> 
> 	a) what's probably happened?

Error messages are explained in Appendix A of
/usr/share/doc/smm/03.fsck/paper.ascii.gz

Unfortunately it says that this error "should never happen". :-/

Is the drive connected by USB? Some USB disk interface chips are quite quirky.

> 	b) is there a way to recover the data?

Answer y, and all directorys and files found in the root will appear in
lost+found, unless the attempt to allocate the root inode fails.. 

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090206/8b73d842/attachment.pgp


More information about the freebsd-questions mailing list