Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st June 2006, 08:24 PM
GreyGoose Offline
Registered User
 
Join Date: Nov 2004
Posts: 6
Thumbs down Improper shutdown question...

Greetings

No modern operating system (Windows, Linux, etc) likes to be shut down improperly which is why you should always shut it down from the start/system menu but what happens when you have multiple power outages, crashes, programs freeze up, etc over a period of weeks or months and you have no other choice but to just shut your computer off at the switch (manually)?.

In cases like this, would it be better to simply hit the "reset" button on the front of your PC or does'nt it matter?.

How do you "gracefully" recover from crashes/freezes/outages without corrupting your OS and ending up with all kinds of errors (ie; kernel panic, bad_geometry, disk error, etc) until it is so screwed up that it is no longer bootable and you have to start all over again with a complete reinstallation?.

Also, is there some way to whip your system back into shape after such crashes or some way of running an integrity check and correcting any/all problems?. I just hating having to do fresh installs every month or so.

Incidentally, I'm using Fedora Core 5 w/Gnome. Thank's for any assistance I can get on this (I really do appreciate it!).

- Regards, GG
Reply With Quote
  #2  
Old 1st June 2006, 08:45 PM
dshaw256 Offline
Registered User
 
Join Date: Mar 2006
Location: Virginia
Age: 59
Posts: 246
Back in the bad old days I believe you'd have to run fsck on your disk system to clean up after a bad shut-down. This would troll through the inodes and get everything back in a consistent state.

My understanding is that with the ext3 file system, this is no longer necessary. The journals help the OS put it all back in shape at the next boot without the need for an extensive sweep.

I've had to do a power-cycle restart on my system a number of times in a row due to an infinite loop in a bad driver under development, and I've not noticed any ill effects. But perhaps others will have different information.
__________________
Dave Shaw
Registered Linux user #412525
Dell Latitude D610 / FC13
dshaw256@centurylink.net

no problem is so bad that a moron with root can't make it much worse
Reply With Quote
  #3  
Old 1st June 2006, 09:24 PM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,219
If you can somehow get to a text interface of any kind, typing 'poweroff' will shut it down properly. Otherwise, you gotta do what you gotta do! I've had a couple of times in the last year where the automatic check didn't solve it and a manual fsck was necessary.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #4  
Old 1st June 2006, 09:31 PM
centos_x Offline
Registered User
 
Join Date: Apr 2005
Location: italia
Posts: 157
As for me the journals have done the trick, never had to do a extensive check



For power outages and other power related instances a UPS is not a really expensive item these days. Recomend one with a regulator so power is 99.X% at constant 120/240 depending on where you live.....




This also works
/sbin/shutdown -h now (or specified time in seconds)
Reply With Quote
  #5  
Old 1st June 2006, 09:38 PM
jbannon Offline
Registered User
 
Join Date: Dec 2005
Posts: 909
Or Ctrl-Alt Del and then power off as it recycles the power. I sometimes have to power off at the switch if I log out of X without rebooting as the ATI driver locks out and never had a problem that I couldn't recover either automatically on startup or fsck from runlevel 1 or the rescue disk. Mind you, I'm not on a production machine so downtime doesn't really matter. If it does then I suggest a properly regulated power supply with a UPS as backup.
__________________
Best regards,
Jim Bannon
(Registered Linux User #405603 :) )
Reply With Quote
Reply

Tags
improper, question, shutdown

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Improper Shutdown, Restart, ect YaKillaCJ Using Fedora 5 4th January 2009 07:37 PM
FC 8 Shutdown Question.... Captn Using Fedora 14 25th November 2007 04:45 AM
Shutdown question? xploder Using Fedora 3 12th February 2007 02:16 AM
no text console, improper video mode? Beomoss Using Fedora 3 27th May 2006 09:56 AM
Errors after improper shutdown galexy19 Using Fedora 1 13th November 2005 08:19 AM


Current GMT-time: 11:49 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat