Skip to main content

ParitySnapshot

freshnessParityFreshnessrequired

Parity age from snapraid status.

Possible values: [green, amber, red]

lastSyncAtstring<date-time>

Last successful sync, when known.

changedSinceSyncinteger<int32>

Files changed since last sync (status / change journal).

dataDisksinteger<int32>
parityDisksinteger<int32>
guard object
wouldBlockbooleanrequired

True when the threshold guard would block a sync.

triggersParityGuardTrigger[]

Possible values: [removed-count, removed-updated-percent, zero-files]

removedCountinteger<int32>

Accounted-for removals compared against the removed-count threshold.

removedUpdatedPercentnumber<float>

Accounted removals plus updated, as a percent of files before the diff.

zeroFilesDisks object[]
  • Array [
  • diskstringrequired

    Data-disk mount point.

    filesBeforeinteger<int32>required
  • ]
  • summarystring

    Plain-language why the guard would block, when wouldBlock is true.

    groups object[]

    Present after the last explicit run-diff; omitted until then.

  • Array [
  • categoryParityDiffCategoryrequired

    One diff group; moved-by-Hoserva is a match against the relocation manifest.

    Possible values: [removed, updated, added, moved, copied, moved_by_hoserva]

    countinteger<int32>required
    pathsstring[]required

    mount/relative paths when SnapRAID named individual files. Empty when only an aggregate count is known (updated, moved).

  • ]
  • ParitySnapshot
    {
    "freshness": "green",
    "lastSyncAt": "2024-07-29T15:51:28.071Z",
    "changedSinceSync": 0,
    "dataDisks": 0,
    "parityDisks": 0,
    "guard": {
    "wouldBlock": true,
    "triggers": [
    "removed-count"
    ],
    "removedCount": 0,
    "removedUpdatedPercent": 0,
    "zeroFilesDisks": [
    {
    "disk": "string",
    "filesBefore": 0
    }
    ],
    "summary": "string"
    },
    "groups": [
    {
    "category": "removed",
    "count": 0,
    "paths": [
    "string"
    ]
    }
    ]
    }