Re: Can't login with /var was not properly dismounted

2005-06-08 Thread Alex Zbyslaw

Kris Kennaway wrote:


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.
   



I wonder if you have hardware failure..it seems to be hung trying to
read from the disk.
 

Is your disk SMART compliant, I wonder (many are)?  Does you BIOS show 
SMART status on boot?  (Mine does, but it insists on clearing the screen 
just after it shows it, requiring deft use of Pause-other key-Pause-... 
to see it properly).  If the BIOS is no help then try booting single 
user and taking /var out of fstab, then installing smartmontools (you'd 
need to have network stuff configured so probably need to go multi-user 
before doing this).


I also notice that this looks like a RAID disk (/dev/ar* is IDE raid is 
it not?).  I'm not that familiar with RAID setups (yet), but is this 
hardware RAID and does the controller not tell you anything?  If it's 
mirrored, can you try un-raiding and then seeing if any disk alone works?


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't login with /var was not properly dismounted

2005-06-07 Thread Amer Alhabsi

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 /usr
and /var were not properly dismounted message and it hangs. I logged on in
single mode and done
fsck -y /usr as suggested in a google search. /usr was cleaned. But
when I try to do the same on /var the machine hangs. At first I thought it
was taking a long time, but there is no disk activity. Please help me so
that I can log back to the machine.

Thanks,

Amer,

PS. I run amd64 FreeBSD 5.4 release generic kernel. /var is about 1GB and
/usr is 30GB.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't login with /var was not properly dismounted

2005-06-07 Thread Kris Kennaway
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 /usr
 and /var were not properly dismounted message and it hangs. I logged on in
 single mode and done
 fsck -y /usr as suggested in a google search. /usr was cleaned. But
 when I try to do the same on /var the machine hangs. At first I thought it
 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?

Kris


pgp6oYiOwvPCo.pgp
Description: PGP signature


Can't login with /var was not properly dismounted

2005-06-07 Thread Amer Alhabsi

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
/usr
 and /var were not properly dismounted message and it hangs. I logged on
in
 single mode and done
 fsck -y /usr as suggested in a google search. /usr was cleaned.
But
 when I try to do the same on /var the machine hangs. At first I thought
it
 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?

Kris

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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't login with /var was not properly dismounted

2005-06-07 Thread Kris Kennaway
On Tue, Jun 07, 2005 at 04:56:18PM -0500, Amer Alhabsi wrote:
 
 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
 /usr
  and /var were not properly dismounted message and it hangs. I logged on
 in
  single mode and done
  fsck -y /usr as suggested in a google search. /usr was cleaned.
 But
  when I try to do the same on /var the machine hangs. At first I thought
 it
  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?
 
 Kris
 
 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.

I wonder if you have hardware failure..it seems to be hung trying to
read from the disk.

Kris



pgpHC2akzx7E7.pgp
Description: PGP signature