Status: Backlog (View Workflow)
Affects Version/s: 7.3, 7.4, 7.5
Fix Version/s: None
We are taking snapshots of running vm every night on a pool of 3 Xenservers 7.2 (fully patched) connected to 2 iscsi SR with multipath.
Internal JIRA Reference:XSI-108
I'm currently tracking bugs while taking snapshots of running vm every night on a LVM backend storage with multipath (see
I noticed that mpathcount service was running on every change of a SR. In my case, it coould run more thant 500 times during a nightly backup. In some case, it could break the lvm command running on a sr and induce a lvm metadata corruption (only 2 processes were running at this time : a lvm command and mpathcount.py).
Mpathcount should not run at every sr change and should run only while there is a real multiipath activity.
This is a patched version I'm currently testing to limit unnecessary mpathcount invocations (/etc/udev/rules.d/40-multipath.rules) :
The logic is to call mpathcount only on event "PATH_REINSTATED" and "PATH_FAILED"...