OpenVZ Forum


Home » Mailing lists » Users » possible container states/statuses
possible container states/statuses [message #42727] Mon, 16 May 2011 13:43 Go to previous message
knawnd is currently offline  knawnd
Messages: 27
Registered: April 2011
Junior Member
Hi!

I wonder what the possible container states/statuses are and how they
can be detected?
I read about 'status' option in 'man vzctl' which is below:

================
status
Shows a container status. This is a line with five or six words,
separated by spaces.

First word is literally CTID.

Second word is the numeric CT ID.

Third word is showing whether this container exists or not,
it can be either exist or deleted.

Fourth word is showing the status of the container
filesystem, it can be either mounted or unmounted.

Fifth word shows if the container is running, it can be
either running or down.

Sixth word, if exists, is suspended. It appears if both a
container and its dump file exist (see chkpnt).
[...]
================

So I tried to summarize possible CT states as the following ('+' means
states is possible and '-' it is impossible):
exist mounted down (-)
exist mounted running (+)
exist unmounted down (+)
exist unmounted running (-)
exist unmounted down suspended (+)
deleted unmounted down (+)
deleted mounted down (-)
deleted mounted running (-)
deleted unmounted down (-)

Could someone confirms these are all possible container states, please?
Can container for some reason crash? If it can then what the 'vzctl
status' shows for it?

Thanks,
Nikolay.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Slackware 13 weirdness
Next Topic: how to get the current HN CPU utilization by particular CT
Goto Forum:
  


Current Time: Sun Sep 15 18:18:23 GMT 2024

Total time taken to generate the page: 0.03541 seconds