This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "pool-degraded-scrub",
|
||||
"name": "Btrfs pool degraded scrub",
|
||||
"description": "A Btrfs pool keeps its identity and redundancy metadata while one member is missing and scrub reports errors.",
|
||||
"initialState": {
|
||||
"pool": {
|
||||
"id": "fixture-cache",
|
||||
"filesystem": "btrfs",
|
||||
"state": "degraded",
|
||||
"profile": "raid1",
|
||||
"memberStates": ["online", "missing"],
|
||||
"scrub": {"state": "failed", "errors": 3}
|
||||
}
|
||||
},
|
||||
"timeline": [{"atSeconds": 30, "action": "set-metric", "payload": {"metric": "storage.pool.utilization", "entity": "fixture-cache", "value": 91}}],
|
||||
"expectedOutcomes": [
|
||||
{"bySeconds": 0, "assertion": "Pool remains degraded and the missing member is visible."},
|
||||
{"bySeconds": 0, "assertion": "Scrub errors are visible as a warning/critical reason without exposing a scrub control."}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user