pve running in a kvm issues

RobFantini

Famous Member
May 24, 2012
2,042
109
133
Boston,Mass
Hello,

I am using proxmox running in a kvm [ pve-in-kvm] to host a bunch of small lxc systems. They run as fast as if on a regular node.
We have a high availability setup using iscsi which currently only works using kvm. Which is why I'm trying to use pve in a kvm for lxc.

However we get ext4 warnings on a daily basis.

A daily cron job checks syslog and a few other logs. Errors like these are reported daily form the LXC's.
Code:
Aug 21 11:18:44 nodejs-pro4 kernel: [87331.513704] EXT4-fs (dm-8): initial error at time 1468580338: ext4_journal_check_start:56
Aug 21 11:18:44 nodejs-pro4 kernel: [87331.513713] EXT4-fs (dm-8): last error at time 1468602055: ext4_put_super:813
Aug 21 15:58:02 nodejs-pro4 kernel: [  324.613763] EXT4-fs (dm-6): initial error at time 1468580323: ext4_reserve_inode_write:5088

and the pve host kern.log has these:
Code:
pve-in-kvm  /var/log # grep EXT4-fs kern.log|grep error|grep -v remount
Aug 21 14:59:48 pve-in-kvm kernel: [  343.329102] EXT4-fs (dm-7): error count since last fsck: 18
Aug 21 14:59:48 pve-in-kvm kernel: [  343.329127] EXT4-fs (dm-7): initial error at time 1468580323: ext4_reserve_inode_write:5088
Aug 21 14:59:48 pve-in-kvm kernel: [  343.329134] EXT4-fs (dm-7): last error at time 1468602060: ext4_put_super:813
Aug 21 15:00:32 pve-in-kvm kernel: [  387.360170] EXT4-fs (dm-8): error count since last fsck: 7
Aug 21 15:00:32 pve-in-kvm kernel: [  387.360277] EXT4-fs (dm-8): initial error at time 1468580338: ext4_journal_check_start:56
Aug 21 15:00:32 pve-in-kvm kernel: [  387.360296] EXT4-fs (dm-8): last error at time 1468602055: ext4_put_super:813
Aug 21 15:28:00 pve-in-kvm kernel: [  85.805472] EXT4-fs (dm-7): warning: mounting fs with errors, running e2fsck is recommended
Aug 21 15:53:01 pve-in-kvm kernel: [  24.267963] EXT4-fs (dm-6): warning: mounting fs with errors, running e2fsck is recommended
Aug 21 16:17:27 pve-in-kvm kernel: [  25.623662] EXT4-fs (dm-6): warning: mounting fs with errors, running e2fsck is recommended
Aug 21 16:22:28 pve-in-kvm kernel: [  325.967810] EXT4-fs (dm-6): initial error at time 1468580323: ext4_reserve_inode_write:5088


these systems ran without ext4 errors when hosted on a regular node..

this is the .conf file for pve-in-kvm :
Code:
bootdisk: virtio0
cores: 4
ide2: none,media=cdrom
memory: 6144
name: pve-in-kvm
net0: virtio=62:64:38:37:34:63,bridge=vmbr0
net1: virtio=32:38:33:61:30:32,bridge=vmbr1
net2: virtio=66:38:38:37:39:33,bridge=vmbr1,tag=20
net3: virtio=66:38:64:35:64:66,bridge=vmbr1,tag=7
net4: virtio=32:34:66:38:30:39,bridge=vmbr3
numa: 0
onboot: 1
ostype: l26
smbios1: uuid=c3a13e40-7e4d-4267-9709-7907f953720e
sockets: 2
virtio0: kvm-zfs:vm-109-disk-1,size=500G

kvm-zfs is a local zfspool. Originally I was using zfs: iscsi-sys5 . I switched to local zfs to try to prevent ext4 issues. The ext4 issues are if anything worse on local zfspool.


Does anyone have a suggestion to prevent the ext4 errors?