Update man page description of zpool rewind

Update description of zpool import --rewind-to-checkpoint in
man/man7/zpoolconcepts.7 to explain that rewinding automatically
discards a checkpoint.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Adi Gollamudi <adigollamudi@gmail.com>
Closes #12646
Closes #17918
This commit is contained in:
Adi-Goll 2025-11-10 10:13:13 -08:00 committed by GitHub
parent baefe098ee
commit 57b1b99d31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -469,6 +469,11 @@ then rewind it during import:
.Dl # Nm zpool Cm export Ar pool
.Dl # Nm zpool Cm import Fl -rewind-to-checkpoint Ar pool
.Pp
Note that rewinding to a checkpoint will
.Sy permanently discard it.
Once the pool has been successfully imported with the above rewind command,
you cannot rewind to the same checkpoint.
.Pp
To discard the checkpoint from a pool:
.Dl # Nm zpool Cm checkpoint Fl d Ar pool
.Pp