I have installed Proxmox VE 1.5 on my server. The server has two raid arrays. One for my System and one for die virtual machines.
Now I want to install drbd for life replication on a second server with the same hardware configuration. I used this Tutorial. It works fine at runtime. But at the next reboot, it fails. Because the LVM initialize his devices before the services of drbd are started.
The configuration is
Raid 10 /dev/sdb1
DRBD Device /dev/drbd0 -> run on /dev/sdb1
Virtual Group storage -> run on /dev/drbd0
Virtual Volume data -> run on vg storage
Mount Point /var/lib/vz -> run on lv data
The volume group storage is initialized before /dev/drbd0 is generated.
How I can change the order of initialization?
Now I want to install drbd for life replication on a second server with the same hardware configuration. I used this Tutorial. It works fine at runtime. But at the next reboot, it fails. Because the LVM initialize his devices before the services of drbd are started.
The configuration is
Raid 10 /dev/sdb1
DRBD Device /dev/drbd0 -> run on /dev/sdb1
Virtual Group storage -> run on /dev/drbd0
Virtual Volume data -> run on vg storage
Mount Point /var/lib/vz -> run on lv data
The volume group storage is initialized before /dev/drbd0 is generated.
How I can change the order of initialization?