Subject: Strange fs crash
To: None <port-i386@netbsd.org>
From: Ryan M. McConahy <rm@m-net.arbornet.org>
List: port-i386
Date: 06/22/2002 23:47:29
Hello!

I have NetBSD-1.5.2, full install, with X11 (built from source). I keep /usr/pkg and /usr/pkgsrc in /usr/local (/usr/local/pkg, /usr/local/pkgsrc), and /usr/local is it's own fs. /usr is mounted read-only by default, with no specal options. I have Gnome installed from pkgsrc-current. I had just installed Mozailla-1.0, and was running it as an unpriviliged user. It froze repeatedly, and repeatedly, I 'skill -9'ed it as root. Then when I ran skill, I got a 'skill: not found', and upon investigation, found the entire /usr fs unaccessible. I rebooted, and the entire fs was crashed. After a 'fsck -y /dev/rwd0e', I just had a pile of inode numbers in /usr/lost+found. They appeared to total up to what had been there. I have re-installed base.tgz, comp.tgz, and text.tgz (they were stored in /home, YAY!) and will be rebuilding from source tonight.

Any idea why this happened?
BTW: I was running CFS and the Mozilla-using user had a home in /crypt.
BTW2: Is there a BSD equivelant of Linux losetup?

Thanks,

Ryan M. McConahy