zfs.tier.rewrite_job_status =========================== Subscribe to real-time status updates for a ZFS rewrite job on the specified dataset. Polls every 2 seconds and emits a CHANGED event when status or statistics change. This event is generated by a dynamic source. If you want to specify subscription params, subscribe to it using the name in the following format `zfs.tier.rewrite_job_status:{"param": "value"}` .. raw:: html
ZFS dataset to subscribe to (e.g. tank/data). Receives updates whenever the job status or statistics change.
Must be at least 1 characters long
Current status and statistics for the dataset's active rewrite job.
No Additional PropertiesRewrite job identifier in dataset_name@job_uuid format.
Must be at least 1 characters long
ZFS dataset this job is operating on.
Must be at least 1 characters long
Unique identifier for this rewrite job.
Must be at least 1 characters long
Current lifecycle state of the job.
COMPLETE - All files in the dataset have been processed.RUNNING - Job is actively processing files.QUEUED - Job is waiting for a free execution slot (see max_concurrent_jobs).CANCELLED - Job was stopped via zfs_tier_job.cancel. Not resumable.STOPPED - Job was RUNNING but its process is no longer active (e.g. daemon restart). This state is computed on read and is never written to persistent storage.ERROR - Job halted due to an unrecoverable error. Use zfs_tier_job.recover to retry failed files.Progress statistics, or null if no statistics have been recorded yet.
Unix timestamp (seconds) when the current run started. Reset each time the job is resumed or recovered.
Unix timestamp (seconds) when the job was first created. Preserved across resumes.
Unix timestamp (seconds) of the most recent statistics update.
Number of files processed in the current run. Reset to zero on each resume.
Bytes processed in the current run. Reset to zero on each resume.
Total number of files to process across the entire dataset.
Total bytes to process across the entire dataset.
Cumulative count of files that failed rewriting across all runs of this job.
Cumulative count of files successfully rewritten across all runs of this job.
Directory path of the file currently being processed. Also used as the resume checkpoint if the job is interrupted.
Name of the file currently being processed.
Error message describing why the job entered ERROR state, otherwise null.