I can’t start a container after a restore. I got the following error:
lxc start owncloud
Error: Failed preparing container for start: Failed to handle idmapped storage: Failed to change ownership of: /var/snap/lxd/common/lxd/storage-pools/thin_vg/containers/owncloud/rootfs/cloud/data/valgonzalez/files/Backups.Digicel/Digicel2017/Data_Ontap/ONTAPdeploy2.2.2.ova
Try lxc info --show-log owncloud
for more info
lxc info --show-log owncloud
Name: owncloud
Location: none
Remote: unix://
Architecture: armv7l
Created: 2020/09/17 22:47 EST
Status: Stopped
Type: container
Profiles: owncloud
Snapshots:
owncloud-24Dic2021 (taken at 2021/12/24 12:33 EST) (stateless)
owncloud-25Dic2021 (taken at 2021/12/25 16:45 EST) (stateless)
Log:
I tried to copy the container to a new one, but I got this error:
lxc copy owncloud/owncloud-25Dic2021 newcloud
Error: Create instance from copy: Failed to run: resize2fs /dev/thin_vg/containers_newcloud 9765625K: resize2fs 1.45.5 (07-Jan-2020)
resize2fs: New size smaller than minimum (108166189)
Im using lvm backend. I tried to mount the container logical volume, but I can activate it.
– Logical volume —
LV Path /dev/thin_vg/containers_owncloud
LV Name containers_owncloud
VG Name thin_vg
LV UUID TgX7ah-Ibt2-q0Bh-6fV5-2czk-NXXP-Be0jPQ
LV Write Access read/write
LV Creation host, time cloud309, 2021-12-25 19:42:19 -0500
LV Pool name LXDThinPool
LV Thin origin name containers_owncloud-owncloud–25Dic2021
LV Status NOT available
LV Size 610.00 GiB
Current LE 156160
Segments 1
Allocation inherit
Read ahead sectors auto
I read some of your post, but I can resolve this issue. Can anyone help?