microsoft / lis-test

Contains test infrastructure for testing Linux virtual machines on Windows Azure and Hyper-V.
32 stars 72 forks source link

Could you please check FC_MultipathDetection.ps1 #301 is correct test step by Get-Disk? #1083

Open lixuemin2016 opened 6 years ago

lixuemin2016 commented 6 years ago

Hi Chris,

Looks that https://github.com/LIS/lis-test/blob/master/WS2012R2/lisa/setupscripts/FC_MultipathDetection.ps1 #301 is getting the Fibre Channel disk in the host, it depends on host FC set up. In the test script FC_multipath_detect.sh line #174, use this number to compare with fcDiskCount in VM, it seems unreasonable?

$fcDisks = Get-Disk | Where-Object -FilterScript {$_.BusType -Eq "Fibre Channel"} $fcCount = $fcDisks.Length

Could you please help to check whether this line is correct step to get the expected multipath disk number? I'm not sure how to change it, so create this issue request.

Thank you so much.

chvalean commented 6 years ago

Thank you for the question @lixuemin2016 . Let me follow-up internally on this topic.