On Fri, 6 Feb 2009 14:48:41 -0500, Robert Huff <roberth...@rcn.com> 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? > b) is there a way to recover the data? I can scrub the disk > and restore, but would like to avoid that if at all possible.
I really hope you don't get into the trouble that I have (allthough you mentioned that you've got backups)... Your fsck output seems to indicate that fsck can handle the damage. You could now let it continue. If a parent inode has disappeared, its child inodes (orphaned ones) - or, to be correct, the files or directories they represent - get restored in the lost+found/ directory where their name (probably lost) gets replaced by the inode number. If it's a directory, it content will usually be present with the file names, only the topmost part of a hierarchy will be affected. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"