Message ID | D8C50530D6022F40A817A35C40CC06A7064B4604BB@DUBX7MCDUB01.EMEA.DELL.COM (mailing list archive) |
---|---|
State | Deferred, archived |
Headers | show |
--- a/multipathd/main.c 2010-12-07 08:02:23.000000000 +0200 +++ b/multipathd/main.c 2011-02-10 10:51:57.000000000 +0200 @@ -1050,4 +1050,11 @@ &(pp->checker.timeout)); newstate = checker_check(&pp->checker); + if (newstate != PATH_DOWN) { + unsigned long long size = 0; + + sysfs_get_size(sysfs_path, pp->dev, &size); + if (size == 0) + newstate = PATH_DOWN; + } } Since the path is down, the path groups no longer compete on LUN ownership and things remain stable.