zfs holds wrongly says there are no datasets available
zfs - Zettabyte File System
If none of the arguments passed to zfs holds exist it will wrongly complain that there are "no datasets available":
$ zfs holds -H nonExistentPool/nonExistentDataset@nonExistentSnapshot cannot open 'nonExistentPool/nonExistentDataset@nonExistentSnapshot': dataset does not exist no datasets available
I believe this message was copied from the zfs list code by mistake and should be removed.
Updated by Electric Monk 4 months ago
- Status changed from In Progress to Closed
commit cfcb628093a526b143a37c1a2f112f2c7591ed70 Author: Andrew Stormont <email@example.com> Date: 2021-07-08T16:03:01.000Z 13906 zfs holds wrongly says there are no datasets available Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Vitaliy Gusev <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>