]> xenbits.xensource.com Git - xcp/xen-api.git/commit
Call /opt/xensource/sm/mpathcount.py after xapi started if root disk is multipathed
authorAlex Zeffertt <alex.zeffertt@eu.citrix.com>
Wed, 26 Jan 2011 17:39:04 +0000 (17:39 +0000)
committerAlex Zeffertt <alex.zeffertt@eu.citrix.com>
Wed, 26 Jan 2011 17:39:04 +0000 (17:39 +0000)
commit0d8da431aca3b9199edd460455cc36b937439fb3
treec0481a296ae0489a744a067a67114f4f621a2896
parent6b394ebc828ce5788ac560fe67ef574abb0f1edf
Call /opt/xensource/sm/mpathcount.py after xapi started if root disk is multipathed

mpathcount.py now updates the host object when the root disk is multipathed as well
as updating pbd objects.  (It writes values into other-config to show XenCenter
how many paths are active and how many are failed.)

Normally it is multipathd  that calls mpathcount.py, but in the case of the root
disk the /dev/mapper node is created by the initrd before multipathd is started.

Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
scripts/init.d-xapi