Hi,
After upgraded to Proxmox 6.2-10 I created a new CT with debian 10 template but is not working. This is the log output when I launch it in debug mode with
and this is the ouput for pct mount 101:
Any help or clue??
After upgraded to Proxmox 6.2-10 I created a new CT with debian 10 template but is not working. This is the log output when I launch it in debug mode with
lxc-start -n 101 -F -l DEBUG -o /tmp/101.log
Code:
lxc-start 101 20200801083912.726 INFO confile - confile.c:set_config_idmaps:2051 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start 101 20200801083912.727 INFO confile - confile.c:set_config_idmaps:2051 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start 101 20200801083912.728 INFO lsm - lsm/lsm.c:lsm_init:29 - LSM security driver AppArmor
lxc-start 101 20200801083912.728 INFO conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "101", config section "lxc"
lxc-start 101 20200801083914.147 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start produced output: mount:
lxc-start 101 20200801083914.147 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start produced output: /var/lib/lxc/.pve-staged-mounts/rootfs: can't read superblock on /dev/mapper/pve-vm--101--disk--0.
lxc-start 101 20200801083914.147 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start produced output:
lxc-start 101 20200801083914.155 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start produced output: command 'mount /dev/dm-8 /var/lib/lxc/.pve-staged-mounts/rootfs' failed: exit code 32
lxc-start 101 20200801083914.188 ERROR conf - conf.c:run_buffer:323 - Script exited with status 32
lxc-start 101 20200801083914.188 ERROR start - start.c:lxc_init:804 - Failed to run lxc.hook.pre-start for container "101"
lxc-start 101 20200801083914.188 ERROR start - start.c:__lxc_start:1903 - Failed to initialize container "101"
lxc-start 101 20200801083914.189 INFO conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "101", config section "lxc"
lxc-start 101 20200801083915.620 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 101 lxc post-stop produced output: umount:
lxc-start 101 20200801083915.621 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 101 lxc post-stop produced output: /var/lib/lxc/101/rootfs: not mounted
lxc-start 101 20200801083915.622 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 101 lxc post-stop produced output:
lxc-start 101 20200801083915.626 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 101 lxc post-stop produced output: command 'umount --recursive -- /var/lib/lxc/101/rootfs' failed: exit code 1
lxc-start 101 20200801083915.771 ERROR conf - conf.c:run_buffer:323 - Script exited with status 1
lxc-start 101 20200801083915.772 ERROR start - start.c:lxc_end:971 - Failed to run lxc.hook.post-stop for container "101"
lxc-start 101 20200801083915.772 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start 101 20200801083915.772 ERROR lxc_start - tools/lxc_start.c:main:314 - Additional information can be obtained by setting the --logfile and --logpriority options
and this is the ouput for pct mount 101:
Code:
mount: /var/lib/lxc/101/rootfs: can't read superblock on /dev/mapper/pve-vm--101--disk--0.
mounting container failed
command 'mount /dev/dm-8 /var/lib/lxc/101/rootfs//' failed: exit code 32
Code:
➜ ~ lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotzD- 10.00g 100.00 50.65
root pve -wi-ao---- <214.61g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-a-tz-- 80.00g data 12.32
vm-101-disk-0 pve Vwi-a-tz-- 16.00g data 0.90
vm-222-disk-0 pve Vwi-aotz-- 8.00g data 0.00
Code:
➜ ~ pct config 101
arch: amd64
cores: 1
hostname: pihole
lock: mounted
memory: 512
nameserver: 192.198.2.1
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=6E:46:9C:5E:09:1F,ip=dhcp,type=veth
ostype: debian
rootfs: local-lvm:vm-101-disk-0,size=16G
swap: 512
unprivileged: 1
Code:
➜ ~ pct fsck 101
fsck from util-linux 2.33.1
/dev/mapper/pve-vm--101--disk--0: recovering journal
fsck.ext4: Input/output error while recovering journal of /dev/mapper/pve-vm--101--disk--0
/dev/mapper/pve-vm--101--disk--0 contains a file system with errors, check forced.
/dev/mapper/pve-vm--101--disk--0: Entry 'etc' in / (2) has deleted/unused inode 786433. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'run' in / (2) has deleted/unused inode 262145. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'proc' in / (2) has deleted/unused inode 393217. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'sys' in / (2) has deleted/unused inode 917505. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'home' in / (2) has deleted/unused inode 655361. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'bin' in / (2) has deleted/unused inode 131073. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'tmp' in / (2) has deleted/unused inode 393218. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'mnt' in / (2) has deleted/unused inode 786435. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'opt' in / (2) has deleted/unused inode 655362. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'usr' in / (2) has deleted/unused inode 917506. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'media' in / (2) has deleted/unused inode 786436. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'dev' in / (2) has deleted/unused inode 262148. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'sbin' in / (2) has deleted/unused inode 393219. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'lib64' in / (2) has deleted/unused inode 655363. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'srv' in / (2) has deleted/unused inode 655365. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'root' in / (2) has deleted/unused inode 786437. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'boot' in / (2) has deleted/unused inode 262149. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'lib' in / (2) has deleted/unused inode 393324. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry 'var' in / (2) has deleted/unused inode 262150. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry '..' in <927846>/<12> (12) has deleted/unused inode 927846. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry '..' in <927846>/<14> (14) has deleted/unused inode 927846. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry '..' in <927846>/<16> (16) has deleted/unused inode 927846. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry '..' in <927846>/<18> (18) has deleted/unused inode 927846. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry '..' in <927846>/<20> (20) has deleted/unused inode 927846. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Entry '..' in <927846>/<22> (22) has deleted/unused inode 927846. CLEARED.
/dev/mapper/pve-vm--101--disk--0: Directory inode 24, block #0, offset 0: directory has no checksum.
FIXED.
/dev/mapper/pve-vm--101--disk--0: Directory inode 24, block #0, offset 0: directory corrupted
/dev/mapper/pve-vm--101--disk--0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
command 'fsck -a -l /dev/pve/vm-101-disk-0' failed: exit code 4
Any help or clue??
Last edited: