How to restart a mounted container.

karlos

Renowned Member
Apr 11, 2010
51
0
71
Somehow or other a ubuntu container will not start, when I restart it it's status just returns to mounted. Something may have happened when I was doing a migration between nodes.

I'm a novice but I entered 'qm reseume 102' and it said unable to read config

The log just states that it has started...
 
Somehow or other a ubuntu container will not start, when I restart it it's status just returns to mounted. Something may have happened when I was doing a migration between nodes.

you need to wait about 5 minutes, then the container should start.

I'm a novice but I entered 'qm reseume 102' and it said unable to read config

The log just states that it has started...

with 'qm' you can only manage KVM guests.
the tool you are looking for is 'vzctl', see http://pve.proxmox.com/wiki/Vzctl_manual

try:
Code:
vzctl start 102
 
thanks for the reply Tom, does the vzctl command do the same as the web interface start command? I had left it there for a while but it didnt start, the sys log says it has started...
 
yes. do you get any logs?
 
ahh sorry:

edit:
/usr/sbin/vzctl start 102
Starting container ...
Container is unmounted
Container is mounted
Adding IP address(es): 192.168.1.206
Setting CPU units: 1000
Setting CPUs: 1
Configure meminfo: 131072
Set hostname: 102.com
File resolv.conf was modified
Setting quota ugidlimit: 0
Container start in progress...
VM 102 started
 
Last edited:
Any hint in the init log? Use the web interface, or do:

# cat /var/lib/vz/private/102/var/log/init.log
 
I did that command but it came up No such file or directory, I don't think theres been a log there since the mount error.
I'm not sure what happened here but it makes me a bit worried about cluster migration because thats where the problem started.

Under storage it shows Used 7.35GB and Capacity 9.35, this is the default plus 3 containers. When I migrated at one point this read Used 9.35.

How and should this be expanded?
I'm running in vmware and made the HDD 20gb so I figure 9.35 is some sort of default.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!