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.
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to