Can't login with /var was not properly dismounted

Amer Alhabsi ahalhabsi at
Tue Jun 7 21:56:20 GMT 2005

>On Tue, Jun 07, 2005 at 12:23:59PM -0500, Amer Alhabsi wrote:
>> Hi,
>> My FreeBSD 5.4 machine stopped responding and I pressed the reset button
>> (even SSH from a different machine didn't work). After restart, I got
>> and /var were not properly dismounted message and it hangs. I logged on
>> single mode and done
>> fsck -y /usr         as suggested in a google search. /usr was cleaned.
>> when I try to do the same on /var the machine hangs. At first I thought
>> was taking a long time, but there is no disk activity. Please help me so
>> that I can log back to the machine.
>Press ^T to find out what state the fsck process is in.  Are there any
>other messages displayed on the console before or during?

doing fsck -y /var (using signle user mode) I get
** /dev/ar0s4d
** Last Mounted on /var
** Phase 1 - Check Block and Sizes

pressing ^T right after issueing the command I get
load : 0.42  cmd: fsck_ufs 70 [physrd] 0.00u 0.00s 0% 1336k
then it hangs. It doesn't respond to further pressing of  ^T.

More information about the freebsd-questions mailing list