rpool copy lxc

razorback555

Member
Mar 7, 2019
2
0
6
42
When rebooting server could not boot. Grub says unknown filesystem. The file system is zfs. I did clean installation of proxmox and plugged in the disk, mount it. I see lxc folders in /rpool(for example, subvol-101-disk-0). Tell me how to transfer them and restore to another server? Two options are desirable - if the server is with zfs and if ext4...
 
Now i can see all my lxc-containers in web-interface, but there is no config files for lxcs in /mnt (here is mounted rpool), so i can't add them. I've created a file in /etc/pve/nodes/test/lxc (113.conf), lxc appeared in web, but can' start.
Code:
 Starting PVE LXC Container: 113...
Mar  7 12:11:11 test lxc-start[27114]: lxc-start: 113: lxccontainer.c: wait_on_daemonized_start: 856 No such file or directory - Failed to receive the container state
Mar  7 12:11:11 test lxc-start[27114]: lxc-start: 113: tools/lxc_start.c: main: 330 The container failed to start
Mar  7 12:11:11 test lxc-start[27114]: lxc-start: 113: tools/lxc_start.c: main: 333 To get more details, run the container in foreground mode
Mar  7 12:11:11 test lxc-start[27114]: lxc-start: 113: tools/lxc_start.c: main: 336 Additional information can be obtained by setting the --logfile and --logpriority options
Mar  7 12:11:11 test pvedaemon[1715]: unable to get PID for CT 113 (not running?)
Mar  7 12:11:11 test systemd[1]: pve-container@113.service: Control process exited, code=exited status=1
Mar  7 12:11:11 test systemd[1]: Failed to start PVE LXC Container: 113.
Mar  7 12:11:11 test systemd[1]: pve-container@113.service: Unit entered failed state.
Mar  7 12:11:11 test systemd[1]: pve-container@113.service: Failed with result 'exit-code'.
Maybe i need to do something else?
 

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!