VM's disappear after Proxmox shutdown

Ralf

New Member
Mar 30, 2014
18
0
1
Germany
Hello,
I have a new server with fresh installed Proxmox 3.2 and I created a Debian VM. I shutdown the VM and thereafter shutdown the Proxmox host, then I started the Proxmox host and tried to start the VM, but got the message "TASK ERROR: volume 'local:iso/debian-7.6.0-amd64-CD-1.iso' does not exist". I checked the directory /var/lib/vz/template/iso/ and it was empty, and the directory /var/lib/vz/Images/ was also empty. The problem is reproducible. I have never observed such a behaviour and it would be great if someone could help me.
Kind regards,
Ralf.
 
Just remove the CD from the vm or change the boot order.

Also check errorlog. Because if you have just installed Debian from an ISO stored locally, the directory /var/lib/vz/template/iso should not be empty. Something is up with your storage.
 
Thank you very much for the hints!

Also check errorlog. Because if you have just installed Debian from an ISO stored locally, the directory /var/lib/vz/template/iso should not be empty. Something is up with your storage.

According to that, I started with a look at /var/log/syslog. In fact, there are lines like
Aug 10 14:48:49 81-7-13-161 kernel: sd 0:0:0:0: [sda] Unhandled error code
Aug 10 14:48:49 81-7-13-161 kernel: sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Aug 10 14:48:49 81-7-13-161 kernel: sd 0:0:0:0: [sda] CDB: Write(10): 2a 00 00 3d 09 00 00 00 02 00
Aug 10 14:48:49 81-7-13-161 kernel: md/raid1:md0: Disk failure on sda1, disabling device.
Aug 10 14:48:49 81-7-13-161 kernel: md/raid1:md0: Operation continuing on 1 devices.
I have contacted the provider and sent him the syslog and he told me they will replace the hardware.

But what I do not understand: I used the time till the replacement starts and did a "smartctl -d ata -t long /dev/sda". After it has finished "smartctl -d ata -l selftest /dev/sda" provided

Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 236 -
Why doesn't smartctl show the disk problem?

Kind regards, Ralf.
 
Last edited:
The server was replaced by a new one and since then the described problem has not occured anymore. Thanks for your help.