Re: Freebsd filesystem ( hard reboot )



Randy Ramsdell wrote:
Robert Huff wrote:
Randy Ramsdell writes:
> What is the value of background_fsck in /etc/rc.conf ?
> This isn't set. Was is supposed to be? So far, I have only
installed applications we need. And everything seem fine except
the reboot issue.

I'm going to jump in here.
Based on what you've said, it sounds like:

the system was running
there was power outage, the system did not have a UPS
when the system rebooted, fsck complained but nothing was done
about the errors

Let me clarify. All our servers are on UPSes, however the power outage outlasted the UPSes. That is why I stated prolonged power outage.
Fsck did complain, but everything was fixed as I sat there and dealt with it. We do not want to deal with it in an offsite location and that is why this thread.

IF THAT'S TRUE ...
... then the "seems" in your description is applicable,
and should be a red flag. Get someone to the system, reboot it into single user mode, and
run (and re-run) fsck until it runs without error. (Answer 'y' to
all prompts.) This should be done whenever the file system is not
shutdown cleanly.
The filesystem is fine. Our set up just does not recover gracefully on hard reboots.
(And consider a UPS, even it it only keeps the system alive for
the few minutes necessary for a clean shutdown.)
Is a dirty file system causing the reboots?
No. a power prolonged power failure caused the last shutdown.
Possibly; wiser
heads than mine would have to lay out scearios. But it may also be
responsible for other damage, more subtle but equally unpleasant. A
fix is available. Use it.
I understand this will not be easy, and I sympathize. Balance
that pain against the small but non-trivial chance to catastrophic
data loss, and choose wisely.



Robert Huff


Thanks for the reply.

I think I will just set the rc.conf variable to answer "Y" to fsck questions unless there is a better way.
A side note, this system has been hard shutdown two times and each time required intervention. We also use several Linux system ( reiserfs and ext3 ) and raely do I have to interact with the systems on reboot. There is a differnce and I am in the fisrt stages trying to understand this.


PS. I am confused about why so many people are replying to the list and my personal e-mail. This one was sent to me only. Others were sent to me and the list. Actually, every other reply. Is this normal for the list as I am new as of today?
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"

Aloha,

If the power outages are prolonged and outlast the UPS you can parallel the small battery in the UPS with a 100 amp hour stationary battery if you have the room. We can get 9 hours on a stationery battery for our servers if we lose power here in Hawaii. (which just happened this week during a winter storm.)


~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740
+ http://hawaiidakine.com + http://freebsdinfo.org + noc@xxxxxxxx +
+ http://aloha50.net - Supporting - FreeBSD 6.* - 7.* +
"All that's really worth doing is what we do for others."- Lewis Carrol


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Freebsd filesystem ( hard reboot )
    ... the reboot issue. ... All our servers are on UPSes, however the power outage outlasted the UPSes. ... Fsck did complain, but everything was fixed as I sat there and dealt with it. ... the few minutes necessary for a clean shutdown.) ...
    (freebsd-questions)
  • Re: [SLE] harddisk failure
    ... and Linux tells me that something is wrong. ... That would work to reboot the machine immediately but not to complete ... I mean this is an option on the shutdown man page so therefore its gotta ... IT would be a nice thing to force the fsck on reboot but perhaps you are ...
    (SuSE)
  • Re:
    ... Every-time I reboot, I get errors that say the ... > drives were not shut-down properly and it runs fsck. ... or am I doing some thing wrong to shutdown ...
    (freebsd-newbies)
  • Re: Directory Size problem
    ... the default for ext3 partitions is to never run a full fsck unless you ask for it), you can use something like shutdown -rF (reboot, force fsck) to reboot and run one. ... Verify that the full backup is intact and complete. ...
    (Fedora)
  • Re: Is this an easy fix or complicated one?
    ... You'll find people pretty evenly split about the shutdown ... >>> power outage, it might damage your system beyond repair. ... >>> connection active, perhaps sending out information beyond what is normal, ... >>> In memory of our dear friend, ...
    (microsoft.public.windowsxp.help_and_support)

Quantcast