[LU-12836] target's degraded property not reset after drive replaced Created: 08/Oct/19 Updated: 09/Nov/21 Resolved: 02/Jun/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0, Lustre 2.12.1, Lustre 2.12.2 |
| Fix Version/s: | Lustre 2.12.8, Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Christopher Voltz (Inactive) | Assignee: | Tony Hutter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | HA, LTS12, zfs | ||
| Environment: |
x86_64 |
||
| Attachments: |
|
| Severity: | 2 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
| Comments |
| Comment by Peter Jones [ 08/Oct/19 ] |
|
Nathaniel Could you please advise on this one? Thanks Peter |
| Comment by Christopher Voltz (Inactive) [ 09/Oct/19 ] |
|
Verified the behavior is the same with ZFS 0.7.9. Was there a test plan for this feature? If so, where is it? |
| Comment by Nathaniel Clark [ 09/Oct/19 ] |
|
This looks like it's a ZFS issue. zfs::vdev_set_state() seems to not be posting the statechange event to ZED. I think the "filter out state change due to initial vdev_open" is filtering out the DEGRADED -> ONLINE state change also. |
| Comment by Christopher Voltz (Inactive) [ 09/Oct/19 ] |
|
The state change event is generated if the pool goes from DEGRADED to ONLINE when the drive in the VDEV changes from OFFLINE instead of FAULTED. I don't have any proof that the state change event was ever generated for this scenario so I'm not convinced your theory is correct but I'll go ahead and create a ZFS issue for the problem. |
| Comment by Christopher Voltz (Inactive) [ 09/Oct/19 ] |
|
Created ZFS issue statechange event not always generated when VDEV state changes #9437. |
| Comment by Christopher Voltz (Inactive) [ 25/Oct/19 ] |
|
Created ZFS pull request 9513. |
| Comment by Christopher Voltz (Inactive) [ 28/Oct/19 ] |
|
Replaced ZFS pull request 9513 with 9523. |
| Comment by Gerrit Updater [ 05/May/21 ] |
|
Tony Hutter (hutter2@llnl.gov) uploaded a new patch: https://review.whamcloud.com/43552 |
| Comment by Gerrit Updater [ 02/Jun/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43552/ |
| Comment by Peter Jones [ 02/Jun/21 ] |
|
Landed for 2.15 |
| Comment by Gerrit Updater [ 04/Jun/21 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43929 |
| Comment by Gerrit Updater [ 07/Jul/21 ] |
|
Gian-Carlo DeFazio (defazio1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/44171 |
| Comment by Gerrit Updater [ 10/Aug/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/43929/ |
| Comment by Gerrit Updater [ 09/Nov/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44171/ |