Can't move a container with some dockers on it.

Forssux

Member
Mar 27, 2022
57
4
13
Hi there,

I have a container with Traefik, authelia and heimdall as a docker. On that docker I also have portainer running.
I wanted to move this to the new nvme storage but got errors.
All other containers moved without trouble.
the containers where running from a directory structure, so I had to shutdown the containers.
can somebody help me with this error, I rather not reinstall the dockers and beside I want to know what is wrong.

Code:
 Logical volume "vm-116-disk-0" created.
Creating filesystem with 8388608 4k blocks and 2097152 inodes
Filesystem UUID: 27727275-5e9e-4ccb-b6c7-4b7bcb044011
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624
rsync: [sender] get_xattr_data: lgetxattr("/var/lib/lxc/116/.copy-volume-2/var/lib/docker/overlay2/3e1704c6501206095d61dbce321eb049c27b0d3b1093a0fc5141125728f550f5/diff/var/lib/nginx/run","user.overlay.origin",0) failed: No data available (61)
rsync: [sender] get_xattr_data: lgetxattr("/var/lib/lxc/116/.copy-volume-2/var/lib/docker/overlay2/3e1704c6501206095d61dbce321eb049c27b0d3b1093a0fc5141125728f550f5/diff/var/lib/nginx/modules","user.overlay.origin",0) failed: No data available (61)
rsync: [sender] get_xattr_data: lgetxattr("/var/lib/lxc/116/.copy-volume-2/var/lib/docker/overlay2/3e1704c6501206095d61dbce321eb049c27b0d3b1093a0fc5141125728f550f5/diff/var/lib/nginx/logs","user.overlay.origin",0) failed: No data available (61)
rsync: [sender] get_xattr_data: lgetxattr("/var/lib/lxc/116/.copy-volume-2/var/lib/docker/overlay2/ac1cf798864c22bf32ae22610f0eb6950cdfb03114abb99557f8e57b2b2d9b8f/diff/var/lib/nginx/run","user.overlay.origin",0) failed: No data available (61)
rsync: [sender] get_xattr_data: lgetxattr("/var/lib/lxc/116/.copy-volume-2/var/lib/docker/overlay2/ac1cf798864c22bf32ae22610f0eb6950cdfb03114abb99557f8e57b2b2d9b8f/diff/var/lib/nginx/modules","user.overlay.origin",0) failed: No data available (61)
rsync: [sender] get_xattr_data: lgetxattr("/var/lib/lxc/116/.copy-volume-2/var/lib/docker/overlay2/ac1cf798864c22bf32ae22610f0eb6950cdfb03114abb99557f8e57b2b2d9b8f/diff/var/lib/nginx/logs","user.overlay.origin",0) failed: No data available (61)
 
Why don't you move the LX(C) container directle with PVE? It's simpler and it works. If you would have run a real VM, your machine including all containers would have been online while you're moving the storage.
 
Why don't you move the LX(C) container directle with PVE? It's simpler and it works. If you would have run a real VM, your machine including all containers would have been online while you're moving the storage.
Well I did it with the gui, but I got the error and it didn't move.
 
LX(C) containers have to be offline for that and that was the problem you were having with mounted overlayfs in the first place
For clarity:

I have a pool with zfs.
On that zfs there was a dataset called ISO-Container.
To view and use this is Proxmox 7.2 I added it as a directory via the Datacenter-->storage-->add--> choose Directory.
I added a new NVMe and this time choose lvm-thin.
I started moving my first LXC and got other warning that moving a running LXC from directory wasn't supported. I retried this time with container shut down. This worked.
Only one container in the total of 15 didn't do this and generated theerror. This is the first post.
I started removing dockers from this container until in the end only Traefik, Authelia and Portainer existed. They where shutdown to.
Now I could move the storage from this LXC from ISO-Container to virtual

All is well now.
 
Last edited:

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!