fsck'ing that filesystem should be no different from any other fsck - it
should find what it finds and fix what it can. The fs must be unmounted
of course which means you have to do it in single-user mode, or from
booting a rescue system (I prefer the second, I find it easier as none
of the production filesystems are required to be mounted).
fsck.resiserfs has several modes, IIRC there's --rebuild-tree or similar
that does an extensive checks but takes ages. I needed to do this 2 or 3
times when I was still using reiser. There's also an option to do not
writes if you want a sanity check first.
I'm not convinced a power outage broke the fs so that you now can't
umount it, I'm having a hard time imaging how that would happen. More
likely some other script file elsewhere is damaged and leaves files open
when the system wants to umount /var.
You have some options:
This requires considerable downtime, easily an hour or more. You can dd
/var somewhere to get a copy you can experiment on with another host. At
least you will then know how much downtime to schedule.
You should do a full check and repair on all filesystems to be 100% certain.
For the umount issues, that is trickier as you won't have log files in
/var after the fact. Any clues on the Alt-F12 console whilst shutting
down? Try configure your syslogger to send logs to another host, you
might be lucky enough to get some logs that way that describe what is
going on.
--
Alan McKinnon
alan.m...@gmail.com