Hi.
I'm running a 3 nodes cluster, running latest PVE 5.2. As storage, I use iSCSI, but, as I don't fully trust the storage operators, I've added a dm-crypt layer. And on top of this dm-crypt, I've created an LVM VG which is shared on all node, and used as LVM storage. So, for every node, it's like
iscsi <-> dm-crypt <-> LVM VG
(on every boot of a node I simply manually unlock the storage using dm-crypt before LVM is seen as available in PVE)
Everything works nicely, I can live migrate etc...
Except that, sometime, LVM metadata operations are painfuly slow on some of the nodes (not always the same node). Eg, if I move a disk from one storage to another, it can takes several minutes to create the LV on the dest storage. Once this is done though, the transfert speed is OK. Same for live migration, starting the VM on the dest node can take several minutes (I guess it's hanging on activating the LV). And once migration is over, performance in the VM is normal. How could I debug this ? Anyone else has this kind of problem ?
I'm running a 3 nodes cluster, running latest PVE 5.2. As storage, I use iSCSI, but, as I don't fully trust the storage operators, I've added a dm-crypt layer. And on top of this dm-crypt, I've created an LVM VG which is shared on all node, and used as LVM storage. So, for every node, it's like
iscsi <-> dm-crypt <-> LVM VG
(on every boot of a node I simply manually unlock the storage using dm-crypt before LVM is seen as available in PVE)
Everything works nicely, I can live migrate etc...
Except that, sometime, LVM metadata operations are painfuly slow on some of the nodes (not always the same node). Eg, if I move a disk from one storage to another, it can takes several minutes to create the LV on the dest storage. Once this is done though, the transfert speed is OK. Same for live migration, starting the VM on the dest node can take several minutes (I guess it's hanging on activating the LV). And once migration is over, performance in the VM is normal. How could I debug this ? Anyone else has this kind of problem ?