[SOLVED] LXC fails to start

avidesh

New Member
Dec 28, 2023
12
0
1
Hello, I am relatively a newbie. I have a single node proxmox setup Virtual Environment 8.2.4 on X86 with 128gb SSD
I have a frigate LXC that has been running for a while. upon proxmox restart, this LXC fails to start. When I search around I found a few commands to get a detailed debug message. I have posted it here.

Code:
root@pve:~# pct start 104 --debug
run_buffer: 571 Script exited with status 1
lxc_init: 845 Failed to run lxc.hook.pre-start for container "104"
__lxc_start: 2034 Failed to initialize container "104"
art-hook" for container "104", config section "lxc"
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 104 lxc pre-start produced output: closing file '/etc/network/interfaces.tmp.4167' failed - No space left on device

DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 104 lxc pre-start produced output: error in setup task PVE::LXC::Setup::pre_start_hook

ERROR    utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 1
ERROR    start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "104"
ERROR    start - ../src/lxc/start.c:__lxc_start:2034 - Failed to initialize container "104"
INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "104", config section "lxc"
startup for container '104' failed

appreciate some help in resolving this issue.
 
DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 104 lxc pre-start produced output: closing file '/etc/network/interfaces.tmp.4167' failed - No space left on device
The storage that you use for the container is full. Move it to another storage or free some space.
 
  • Like
Reactions: avidesh
Thanks. I freed up space. Now I see that the local-lvm has 29gb free now (45%). but the error persists, even after restarting proxmox.
 
closing file '/etc/network/interfaces.tmp.4167' failed - No space left on device
Now I see that the local-lvm has 29gb free now (45%).
Wrong "full." your CONTAINER disk is full, not the host store. you need to either increase the container disk size, OR mount the disk manually (pct mount vmid) and clear up stuff.
 
Wrong "full." your CONTAINER disk is full, not the host store. you need to either increase the container disk size, OR mount the disk manually (pct mount vmid) and clear up stuff.
issue solved. thank you.
Learnt a few things about lvm disks and container disks sizing. also learnt a few Pct commands by using those :)
 

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!