Re: R/W mount of / denied

2004-07-28 Thread Ruben de Groot

Why don't you do what the message says: run fsck ?

On Mon, Jul 26, 2004 at 12:12:26AM +0200, Lutz Petersen typed:
 After a system crash (e.g. a power failure), the terminal-less FreeBSD 
 5.2.1-RELEASE I run does not boot up properly any more. Here is an 
 excerpt from /var/log/messages:
 
 Jul 25 20:18:04 server kernel: Mounting root from ufs:/dev/ad0s1a
 Jul 25 20:18:04 server kernel: WARNING: / was not properly dismounted
 Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied. 
 Filesystem is not clean - run fsck
 Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied. 
 Filesystem is not clean - run fsck
 Jul 25 20:18:04 server kernel: WARNING: /home was not properly dismounted
 Jul 25 20:18:04 server kernel: WARNING: /tmp was not properly dismounted
 Jul 25 20:18:04 server kernel: WARNING: /usr was not properly dismounted
 Jul 25 20:18:04 server kernel: WARNING: /var was not properly dismounted
 
 As a result, BIND does not start up any more, which leaves my FreeBSD 
 box in an unusable state (no internet connection, no network connections 
 that use DNS). I did not experience this behaviour with 4-STABLE. What's 
 wrong here?
 
 The other day I read about a misconfiguration of /etc/fstab (wrong 
 fs_passno), which prevented FreeBSD from doing the usual consistency 
 checking at startup time. My fstab is looking fine however.
 
 Any help is greatly appreciated,
 Lutz
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: R/W mount of / denied

2004-07-28 Thread Steve Bertrand

 Why don't you do what the message says: run fsck ?

I get from the OP's message that it is a 'headless' (quote
terminal-less) server, and it's difficult for him to run fsck. I believe
he is asking how to mitigate this problem so it doesn't continue to happen
(fix so fsck runs by itself?).

We have ~15 FBSD servers, and I only ever had one do this to me. I never
did find out the problem, but the box was with old hardware and we simply
replaced it.

I'm curious to know if someone else has an answer.

OP, I hope I understand what you are saying properly.

Steve


 On Mon, Jul 26, 2004 at 12:12:26AM +0200, Lutz Petersen typed:
 After a system crash (e.g. a power failure), the terminal-less FreeBSD
 5.2.1-RELEASE I run does not boot up properly any more. Here is an
 excerpt from /var/log/messages:

 Jul 25 20:18:04 server kernel: Mounting root from ufs:/dev/ad0s1a
 Jul 25 20:18:04 server kernel: WARNING: / was not properly dismounted
 Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied.
 Filesystem is not clean - run fsck
 Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied.
 Filesystem is not clean - run fsck
 Jul 25 20:18:04 server kernel: WARNING: /home was not properly
 dismounted
 Jul 25 20:18:04 server kernel: WARNING: /tmp was not properly dismounted
 Jul 25 20:18:04 server kernel: WARNING: /usr was not properly dismounted
 Jul 25 20:18:04 server kernel: WARNING: /var was not properly dismounted

 As a result, BIND does not start up any more, which leaves my FreeBSD
 box in an unusable state (no internet connection, no network connections
 that use DNS). I did not experience this behaviour with 4-STABLE. What's
 wrong here?

 The other day I read about a misconfiguration of /etc/fstab (wrong
 fs_passno), which prevented FreeBSD from doing the usual consistency
 checking at startup time. My fstab is looking fine however.

 Any help is greatly appreciated,
 Lutz
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


R/W mount of / denied

2004-07-27 Thread Lutz Petersen
After a system crash (e.g. a power failure), the terminal-less FreeBSD 
5.2.1-RELEASE I run does not boot up properly any more. Here is an 
excerpt from /var/log/messages:

Jul 25 20:18:04 server kernel: Mounting root from ufs:/dev/ad0s1a
Jul 25 20:18:04 server kernel: WARNING: / was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied. 
Filesystem is not clean - run fsck
Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied. 
Filesystem is not clean - run fsck
Jul 25 20:18:04 server kernel: WARNING: /home was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: /tmp was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: /usr was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: /var was not properly dismounted

As a result, BIND does not start up any more, which leaves my FreeBSD 
box in an unusable state (no internet connection, no network connections 
that use DNS). I did not experience this behaviour with 4-STABLE. What's 
wrong here?

The other day I read about a misconfiguration of /etc/fstab (wrong 
fs_passno), which prevented FreeBSD from doing the usual consistency 
checking at startup time. My fstab is looking fine however.

Any help is greatly appreciated,
Lutz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


R/W mount of / denied

2004-07-26 Thread Lutz Petersen
After a system crash (e.g. a power failure), the terminal-less FreeBSD
5.2.1-RELEASE I run does not boot up properly any more. Here is an
excerpt from /var/log/messages:
Jul 25 20:18:04 server kernel: Mounting root from ufs:/dev/ad0s1a
Jul 25 20:18:04 server kernel: WARNING: / was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied.
Filesystem is not clean - run fsck
Jul 25 20:18:04 server kernel: WARNING: R/W mount of / denied.
Filesystem is not clean - run fsck
Jul 25 20:18:04 server kernel: WARNING: /home was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: /tmp was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: /usr was not properly dismounted
Jul 25 20:18:04 server kernel: WARNING: /var was not properly dismounted
As a result, BIND does not start up any more, which leaves my FreeBSD
box in an unusable state (no internet connection, no network connections
that use DNS). I did not experience this behaviour with 4-STABLE. What's
wrong here?
The other day I read about a misconfiguration of /etc/fstab (wrong
fs_passno), which prevented FreeBSD from doing the usual consistency
checking at startup time. My fstab is looking fine however.
Any help is greatly appreciated,
Lutz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]