Bug #2201: No capacity detected when using LVM datastore
(cherry picked from commit e5b09835eed56477fc7f3ead5b1964c067af18d7)
(cherry picked from commit 5e264b74a933bb06a2cbdd38adca8cc4a26b4dd6)