My software raid just failed, but I still have backups of all the containers.
But I'm having issues restoring those containers due to the idmap failing.
Configuration:
Restore log:
My /etc/subuid and /etc/subgid look like this:
I unfortunately don't have a backup of the subuid/gid files, so I'm not sure if I'm missing something in there.
But I'm having issues restoring those containers due to the idmap failing.
Configuration:
Code:
arch: amd64
cores: 4
features: nesting=1
hostname: radarr
memory: 2048
mp0: /mnt/plex-media,mp=/plex-media
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=7E:3C:B1:B6:46:46,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local:100/vm-100-disk-0.raw,size=32G
swap: 0
unprivileged: 1
lxc.idmap: u 0 100000 1000
lxc.idmap: g 0 100000 1000
lxc.idmap: u 1000 1000 1
lxc.idmap: g 1000 1000 1
lxc.idmap: u 1001 101001 64530
lxc.idmap: g 1001 101001 64530
lxc.idmap: g 65534 165534 1
Restore log:
Code:
recovering backed-up configuration from 'local:backup/vzdump-lxc-100-2023_08_05-21_00_00.tar.zst'
Formatting '/var/lib/vz/images/100/vm-100-disk-0.raw', fmt=raw size=34359738368 preallocation=off
Creating filesystem with 8388608 4k blocks and 2097152 inodes
Filesystem UUID: c10b590b-8180-4838-ba17-d3e9fa18f50f
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624
restoring 'local:backup/vzdump-lxc-100-2023_08_05-21_00_00.tar.zst' now..
extracting archive '/var/lib/vz/dump/vzdump-lxc-100-2023_08_05-21_00_00.tar.zst'
tar: ./etc/vzdump/pct.conf: Cannot change ownership to uid 65534, gid 65534: Invalid argument
tar: ./etc/vzdump/pct.fw: Cannot change ownership to uid 65534, gid 65534: Invalid argument
tar: ./proc: Cannot change ownership to uid 65534, gid 65534: Invalid argument
tar: ./sys: Cannot change ownership to uid 65534, gid 65534: Invalid argument
Total bytes read: 9326305280 (8.7GiB, 787MiB/s)
tar: Exiting with failure status due to previous errors
My /etc/subuid and /etc/subgid look like this:
Code:
root:100000:65536
root:1000:1
I unfortunately don't have a backup of the subuid/gid files, so I'm not sure if I'm missing something in there.