start VM's before lvm and iscsi attached

kvone

New Member
Sep 18, 2013
6
0
1
I met a problem:
During run proxmox host system, VMs start before disk array (iscsi=> lvm) attached to host-system.
Mar 2 18:57:31 vds-2 task UPID:vds-2:00000C1C:00000845:531346D8:startall::root@pam:: starting task UPID:vds-2:00000C26:00000977:531346DB:qmstart:101:root@pam:
Mar 2 18:57:31 vds-2 task UPID:vds-2:00000C1C:00000845:531346D8:startall::root@pam:: start VM 101: UPID:vds-2:00000C26:00000977:531346DB:qmstart:101:root@pam:
Mar 2 18:57:33 vds-2 task UPID:vds-2:00000C1C:00000845:531346D8:startall::root@pam:: storage 'nas2-n2' is not online
Mar 2 18:57:42 vds-2 pvestatd[3071]: WARNING: storage 'nas2-n2' is not online

But after several time from web-interface i can run VM successful..
How i can edit ordering attached iscsi and lvm storages and run VM's?

proxmox-ve-2.6.32: 3.1-121 (running kernel: 2.6.32-27-pve) pve-manager: 3.1-43 (running version: 3.1-43/1d4b0dfb) pve-kernel-2.6.32-27-pve: 2.6.32-121 pve-kernel-2.6.32-26-pve: 2.6.32-114 lvm2: 2.02.98-pve4 clvm: 2.02.98-pve4 corosync-pve: 1.4.5-1 openais-pve: 1.1.4-3 libqb0: 0.11.1-2 redhat-cluster-pve: 3.2.0-2 resource-agents-pve: 3.9.2-4 fence-agents-pve: 4.0.5-1 pve-cluster: 3.0-12 qemu-server: 3.1-15 pve-firmware: 1.1-2 libpve-common-perl: 3.0-13 libpve-access-control: 3.0-11 libpve-storage-perl: 3.0-19 pve-libspice-server1: 0.12.4-3 vncterm: 1.1-6 vzctl: 4.0-1pve4 vzprocps: 2.0.11-2 vzquota: 3.1-2 pve-qemu-kvm: 1.7-4 ksm-control-daemon: 1.1-1 glusterfs-client: 3.4.2-1
 
Last edited:
proxmox mount iscsi target via internal method, not host system. but, the time of launch VM is not yet done, and I get the error:
Tue Mar 4 03:55:02 2014: Starting VM 100 failed: status
Tue Mar 4 03:55:02 2014: Starting VM 101 Tue Mar 4 03:55:05 2014: Starting VM 101 failed: status
 
Last edited:
perhaps can you bypass using per-vm startup delay?

see vm -> options -> start/shutdown order
double clik the item, the config panel allows you to set delays, too, although it seems only related to "the order"

Marco
 
Set on the pve host -> options -> Start on boot delay.
Setze auf dem PVE unter Options -> Start on boot delay.
 
  • Like
Reactions: anbischo

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!