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 10 months ago
- Status changed from In Progress to Closed
commit cfcb628093a526b143a37c1a2f112f2c7591ed70 Author: Andrew Stormont <firstname.lastname@example.org> Date: 2021-07-08T16:03:01.000Z 13906 zfs holds wrongly says there are no datasets available Reviewed by: Toomas Soome <email@example.com> Reviewed by: Vitaliy Gusev <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>