LXC container ran out of space and couldnt start, now I get manual repair required

DoorTruck

New Member
Feb 13, 2025
11
0
1
My docker container ran out of space, at least I think so as I got
kernel: Buffer I/O error on dev dm-9, logical block 83935220, lost async page write
, so I tried

lvresize -L +50G /dev/pve/vm-101-disk-0

But restarting the container it still failed at startup, then I tried it restart the proxmox server, but now I get

Check of pool pve/data failed (status:1). Manual repair required!

When I try to start the LXC container I get
TASK ERROR: activating LV 'pve/data' failed: Check of pool pve/data failed (status:1). Manual repair required!

It running on a mini pc with a 1TB disk if thats relevant

Edit:
I ran lvconvert --repair pve/data and now at least the other LXC containers can start, but my docker container gives me
[CODE]run_buffer: 571 Script exited with status 32
lxc_init: 845 Failed to run lxc.hook.pre-start for container "101"
__lxc_start: 2034 Failed to initialize container "101"
TASK ERROR: startup for container '101' failed[/CODE]
 
Last edited:
Hi,

Could you please provide more details i.e., the output of the below commands:
Bash:
lvs -a
pvesm status
And the LX config `pct config 101`
 
  • Like
Reactions: DoorTruck
Hi,

Could you please provide more details i.e., the output of the below commands:
Bash:
lvs -a
pvesm status
And the LX config `pct config 101`

arch: amd64
cores: 8
description: <div align='center'>%0A <a href='https://helper-scripts.com' target='_blank' rel='noopener noreferrer'>%0A <img src='https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width%3A81px;height%3A112px;'/>%0A </a>%0A%0A <h2 style='font-size%3A 24px; margin%3A 20px 0;'>Docker LXC</h2>%0A%0A <p style='margin%3A 16px 0;'>%0A <a href='https://ko-fi.com/community_scripts' target='_blank' rel='noopener noreferrer'>%0A <img src='https://img.shields.io/badge/&#x2615;-Buy us a coffee-blue' alt='spend Coffee' />%0A </a>%0A </p>%0A %0A <span style='margin%3A 0 10px;'>%0A <i class="fa fa-github fa-fw" style="color%3A #f5f5f5;"></i>%0A <a href='https://github.com/community-scripts/ProxmoxVE' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>GitHub</a>%0A </span>%0A <span style='margin%3A 0 10px;'>%0A <i class="fa fa-comments fa-fw" style="color%3A #f5f5f5;"></i>%0A <a href='https://github.com/community-scripts/ProxmoxVE/discussions' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>Discussions</a>%0A </span>%0A <span style='margin%3A 0 10px;'>%0A <i class="fa fa-exclamation-circle fa-fw" style="color%3A #f5f5f5;"></i>%0A <a href='https://github.com/community-scripts/ProxmoxVE/issues' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>Issues</a>%0A </span>%0A</div>%0A
dev0: /dev/net/tun
features: keyctl=1,nesting=1
hostname: docker
memory: 16384
mp0: /mnt/samba/SeagateExternal,mp=/mnt/SeagateExternal
mp1: /mnt/samba/Backup,mp=/mnt/Backup
mp2: /docker-mounts,mp=/docker-mounts
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:3D:99:E4,ip=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-101-disk-0,size=350G
swap: 512
tags: community-script;docker
unprivileged: 1
lxc.idmap: u 0 100000 1000
lxc.idmap: u 1000 1000 2000
lxc.idmap: u 65534 165534 1
lxc.idmap: g 0 100000 100
lxc.idmap: g 100 100 1
lxc.idmap: g 101 100100 899
lxc.idmap: g 1000 1000 2000

1753464886576.png