Date: Sat, 24 May 2003 04:00:33 -0700 (PDT) From: Hugo Saro <h_saro@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Can't fsck disk - now what? Message-ID: <20030524110033.15918.qmail@web11804.mail.yahoo.com> In-Reply-To: <Pine.LNX.4.44.0305232050090.6536-100000@shell1.aracnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
try mount -a -t ufs then /sbin/fsck in single user --- David Fleck <dcf@aracnet.com> wrote: > Using 4.6 release. > > OK, I was browsing happily in Mozilla when the > system became completely > unresponsive - couldn't ping it, couldn't get a > response from any of the > VTs. So I reboot: > > Automatic boot in progress... > [... Several filesystems found clean, messages > deleted ... ] > /dev/ad0s1f: clean, 1201402 free (522 frags, 150110 > blocks, 0.0% > fragmentation) > /dev/ad0s1f: UNKNOWN FILE TYPE I=1640145 > /dev/ad0s1f: UNEXPECTED SOFT UPDATE INCONSISTENCY; > RUN fsck MANUALLY. > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED > INCONSISTENCY: > /dev/ad0s1f (/usr) > Automatic file system check failed . . . help! > > "Help", indeed. /usr is not a partition I want to be > without. > I drop to /bin/sh, and discover, to my great unhappy > surprise, that > I don't have fsck in /bin. WTF??? > > OK, fine. I fire up the live filesystem CD. > I go to the main menu, then the Fixit option. I > start the live > filesystem, then try to fsck: > > Fixit# fsck /dev/ad0s1f > Can't stat /dev/ad0s1f: no such file or directory > > oh joy. sure enough, in /dev, there's an ad0s1, but > that's it. no > /dev/ad0s1f. > > Maybe if I copy fsck to one of the partitions that > still mount? Tried > that... > $ ./fsck /dev/ad0s1f > WARNING: R/W mount of /usr denied. Filesystem is not > clean - run fsck > fsck: /dev/ad0s1f: Operation not permitted > > > Right. The fsck on the CD works, but can't see the > partition; the fsck on > the drive sees the partition, but won't fsck the > damned thing. In short, > what the f*** do I do now? > > > -- > David Fleck > dcf@aracnet.com > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030524110033.15918.qmail>