Restore an unprivileged container - need help

kamanwu

New Member
May 7, 2023
12
0
1
I have unprivileged containers running, not managed by PVE.

Recreantly, I installed PVE and want to import these unprivileged containers.

I have export them from my old server as *.tar.gz file, and upload them to storage which can hold CT templates.

When I create a new unprivileged CT in PVE by using one template, I get following errors:

Code:
Filesystem UUID: ff3e9f82-10d8-4ed8-8ed5-ed3be74f27bb
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
extracting archive '/mnt/pve/nas-meme/template/cache/proxy.tar.gz'
tar: backup/snapshots/snap0/rootfs/bin: Cannot change ownership to uid 1000000, gid 1000000: Invalid argument
tar: backup/snapshots/snap0/rootfs/boot: Cannot change ownership to uid 1000000, gid 1000000: Invalid argument
tar: backup/snapshots/snap0/rootfs/dev/console: Cannot mknod: Operation not permitted
tar: backup/snapshots/snap0/rootfs/dev/full: Cannot mknod: Operation not permitted
tar: backup/snapshots/snap0/rootfs/dev/mapper/control: Cannot mknod: Operation not permitted
tar: backup/snapshots/snap0/rootfs/dev/mapper: Cannot change ownership to uid 1000000, gid 1000000: Invalid argument
tar: backup/snapshots/snap0/rootfs/dev/null: Cannot mknod: Operation not permitted

I just check my old container, and saw:
Code:
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'

It is 1000000 (6 zero), NOT 5 zero.

Is this the reason cause this error?

If it is, how can I fix this?

Thanks.
 
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!