Commit 2d3046e
committed
Prevent shared FC/iSCSI LUNs from being used simultaneously across hosts
Use WWNs in the disk fixture to:
- Mark a LUN unavailable on all hosts if it is already in use on any host
(cross-host deduplication for shared FC/iSCSI LUNs).
- Deprioritize LUNs listed in LVMOHBA_DEVICE_CONFIG or LVMOISCSI_DEVICE_CONFIG
so they are only selected when no other disk is available.
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>1 parent 2c2cba1 commit 2d3046e
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
438 | 475 | | |
439 | 476 | | |
440 | 477 | | |
| |||
0 commit comments