Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > 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 18th March 2008, 06:23 AM
jlixfeld Offline
Registered User
 
Join Date: Mar 2008
Posts: 2
Why do shutdown -h and shutdown -r behave so differently?

I have a Fedora 8 box running as vmware host. It seems that if I run shutdown -r (or reboot), it causes vmware and it's guests to come down rather ungracefully. The vmware init script is called, but it just seems to kill the guest processes without waiting for the guests to shutdown first.

shutdown -h behaves very differently - the init script is called, but this time it patiently waits for the guests to shut themselves down before it proceeds to kill all the vmware processes and interfaces.

The problem is that this server lives in a colo, so shutdown -h isn't a good command to run if you're not close to the power button to turn the server back on afterwards.

So the question is why are shutdown -h and shutdown -r so different and is there a way to get the best of both worlds - reboot my vmware host machine while gracefully taking down the guests.
Reply With Quote
  #2  
Old 18th March 2008, 06:00 PM
jlixfeld Offline
Registered User
 
Join Date: Mar 2008
Posts: 2
I did a little more digging and it seems that shutdown -r gracefully shuts down the guests as shutdown -h did. So it appears as though reboot is more harsh than shutdown.

The thing that still confuses me is this snippet from the reboot man page:

Quote:
If halt or reboot is called when the system is not in runlevel 0 or 6,
in other words when it’s running normally, shutdown will be invoked
instead (with the -h or -r flag). For more info see the shutdown(8)
manpage.
If I'm issuing a reboot from runlevel 3, by the manual's own definition, it should call shutdown -r anyway which gracefully shuts down the guests. It apparently doesn't though. Any ideas as to why?
Reply With Quote
Reply

Tags
behave, differently, 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
F8 : No Shutdown in menu, Login Screen is weird, Can't Shutdown only reboot megat Using Fedora 5 19th November 2007 11:00 AM
Shutdown doesn't shutdown completely, not ACPI related... MasterC Using Fedora 2 12th February 2007 06:07 PM
Why shutdown does not shutdown the computer yinglcs Using Fedora 3 5th December 2006 08:13 PM
How to hide FC6 shutdown messages or use shutdown spash renjoyhenry Using Fedora 0 5th November 2006 05:09 AM
Shutdown -h vs. Poweroff / Shutdown -r vs. Reboot aab45 Using Fedora 1 19th July 2005 01:29 PM


Current GMT-time: 18:31 (Wednesday, 20-08-2014)

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