Date: Wed, 31 Dec 2014 01:18:08 +0000 (UTC) From: "Thomas Mueller" <mueller6724@bellsouth.net> To: freebsd-questions@freebsd.org Subject: repeated fsck_ffs error Message-ID: <376098.98467.bm@smtp116.sbc.mail.ne1.yahoo.com>
next in thread | raw e-mail | index | archive | help
I accidentally hit the Reset button when trying to push the DVD drive tray button, a finger error easy to make on the NZXT Zero2 (now superseded by newer models) case. When rebooting, file system checks repaired root partition successfully, but I was unable to mount the desired home partition. My command was fsck_ffs -y /dev/gpt/Sea1-06 I ran it repeatedly (first without -y) and seemed to get partial fix, was able to mount read-only and rsync to another directory on another partition. Latter part of message that came repeatedly, so there was no point in running fsck any more: CYLINDER GROUP 356: BAD MAGIC NUMBER REBUILD CYLINDER GROUP? yes CYLINDER GROUP 357: BAD MAGIC NUMBER REBUILD CYLINDER GROUP? yes CYLINDER GROUP 358: BAD MAGIC NUMBER REBUILD CYLINDER GROUP? yes CYLINDER GROUP 359: BAD MAGIC NUMBER REBUILD CYLINDER GROUP? yes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=3 OWNER=root MODE=100000 SIZE=67108864 MTIME=Jun 24 04:22 2014 RECONNECT? yes NO lost+found DIRECTORY CREATE? yes CYLINDER GROUP 0: BAD MAGIC NUMBER REBUILD CYLINDER GROUP? yes fsck_ffs: bad inode number 0 to ginode Now what is that last line about bad inode number 0 to ginode, and is there any way around? Do I need to reformat and rsync back? I can also boot my NetBSD installation from last June (current, 6.99.44 amd64) and run NetBSD's fsck_ffs from there. Even if that really messes up, I still have the rsync copy to rsync back from. Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?376098.98467.bm>