unable to open file - Input/output error

docent

Renowned Member
Jul 23, 2009
96
1
73
I have an issue with pve.
Code:
root@pm1:/etc/pve/local/qemu-server# ls -l
total 4
-rw-r----- 1 root www-data 267 May  3 21:37 100.conf
-rw-r----- 1 root www-data 183 Mar  7 19:32 101.conf
-rw-r----- 1 root www-data 207 Jan 12 19:48 106.conf
-rw-r----- 1 root www-data 205 Feb 13 20:02 109.conf
-rw-r----- 1 root www-data 252 Mar  6 19:03 111.conf
-rw-r----- 1 root www-data 210 Feb 28 00:26 112.conf
-rw-r----- 1 root www-data 199 May 26 04:00 113.conf
-rw-r----- 1 root www-data   0 May 26 04:12 113.conf.tmp.702903
-rw-r----- 1 root www-data 229 May 24 09:46 114.conf

root@pm1:/etc/pve/local/qemu-server# cat 113.conf
bootdisk: ide0
cores: 4
ide0: vg2:vm-113-disk-1
ide2: none,media=cdrom
localtime: 1
lock: backup
memory: 1024
name: zabbix
net0: e1000=22:5E:6D:E0:EC:69,bridge=vmbr1
onboot: 1
ostype: l26
sockets: 2

root@pm1:/var/log/pve/tasks/1# cat UPID:pm1:0003A99D:0402AD75:4FC7E9E1:vzdump::root@pam:
INFO: starting new backup job: vzdump 113 --quiet 1 --mailto michaels@localhost --mode snapshot --compress lzo --maxfiles 3 --storage local
INFO: Starting Backup of VM 113 (qemu)
INFO: status = running
INFO: VM is locked (backup)
ERROR: Backup of VM 113 failed - command 'qm set 113 --lock backup' failed: exit code 25
INFO: Backup job finished with errors
TASK ERROR: job errors

root@pm1:/var/log/pve/tasks/1# qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID
       100 Aurum                running    3072               0.00 2139
       101 bak                  stopped    1024               8.00 0
       106 Win                  stopped    1024              50.00 0
       109 mail-server          stopped    1024               2.00 0
       111 Backup               stopped    1024               8.00 0
       112 nimb                 stopped    512                8.00 0
       113 zabbix               running    1024              20.00 6006
       114 Zabbix2              running    2048              32.00 6771

root@pm1:/var/log/pve/tasks/1# qm unlock 113
unable to open file '/etc/pve/nodes/pm1/qemu-server/113.conf.tmp.459756' - Input/output error

root@pm1:/var/log/pve/tasks/1# pveversion --verbose
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-16
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1

root@pm1:/var/log/pve/tasks/1# uname -a
Linux pm1 2.6.32-7-pve #1 SMP Thu Feb 16 09:00:32 CET 2012 x86_64 GNU/Linux
 
unlock your VM with

> qm unlock 113

and update your host to latest 2.1
 
unlock your VM with

> qm unlock 113

and update your host to latest 2.1

Hi!

Look at my first post.
I already tried to unlock this VM and I have the latest version of PVE. :-(

This is a single node.

--

Best regards, Michael
 
Yes, it helped.
Thanks.

Code:
root@pm1:/var/log/pve/tasks/1# qm unlock 113
unable to open file '/etc/pve/nodes/pm1/qemu-server/113.conf.tmp.250990' - Input/output error
root@pm1:/var/log/pve/tasks/1# /etc/init.d/pve-cluster restart
Restarting pve cluster filesystem: pve-cluster.
root@pm1:/var/log/pve/tasks/1# qm unlock 113
root@pm1:/var/log/pve/tasks/1#
 
Hi,
My question is if pve-cluster restart is save operation. I have situation where proxmox host locks disk from writing data. Even backup is impossible to do. Im considering to restart node or file system (single node installation) but worried if after restart i will get VMs.

Regards
Lukasz
 

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!