TASK ERROR: missing 'rootfs' configuration

ntangelo

New Member
May 5, 2017
6
0
1
42
Hi, I've been trying to migrate from OpenVZ to Proxmox and I was able to migrate a sample vps from my OpenVZ to Proxmox, but I encounter this error, when I tried to initiate it from proxmox. It's already showing on my web panel but with this error message. what should I do? what could possibly wrong?


TASK ERROR: missing 'rootfs' configuration
 
proxmox 4.4

from openvz what I did is this. the vps is already stop before I did this

vzdump <VEID>

from here

scp veid.tar <target location>

then restore it from the web panel
 
I see, so this will be impossible to do then? migrating from openvz/opennode to proxmox
 
You can try to restore using the command line tools, where you can specify the size and localtion of the root file system:

# pct restore ...

see 'man pct' for details.
 
pct restore 101 vzdump-openvz-156245-2017_05_04-20_18_50.tar --storage vm

I did it with pct restore but still end up with the same result
 
@dietmar so it is impossible to migrate from OpenNode(OpenVZ) to Proxmox?

I was hoping that I can migrate all my existing vps at proxmox.
 
you can always migrate if you know what you are doing. but yes, there are is no "automatic" importer for this case.

depending on the existing solution, you need to move the data and you need to create the new config.
 
@tom at the recent I encounter this issue
lxc-start: tools/lxc_start.c: main: 365 The container failed to start.
lxc-start: tools/lxc_start.c: main: 367 To get more details, run the container in foreground mode.
lxc-start: tools/lxc_start.c: main: 369 Additional information can be obtained by setting the --logfile and --logpriority options.
TASK ERROR: command 'lxc-start -n 103' failed: exit code 1


and saw this error as well


root@prox01:~# lxc-start -F -n 100
mount: special device /dev/pve/vm-100-disk-1 does not exist
command 'mount /dev/pve/vm-100-disk-1 /var/lib/lxc/100/rootfs//' failed: exit code 32
lxc-start: conf.c: run_buffer: 347 Script exited with status 32
lxc-start: start.c: lxc_init: 450 Failed to run lxc.hook.pre-start for container "100".
lxc-start: start.c: __lxc_start: 1313 Failed to initialize container "100".
lxc-start: tools/lxc_start.c: main: 365 The container failed to start.
lxc-start: tools/lxc_start.c: main: 369 Additional information can be obtained by setting the --logfile and --logpriority options.
root@prox01:~#