Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'iocell rollback' mistargets ZFS dataset for rollback #27

Open
biochemie opened this issue Jun 28, 2017 · 0 comments · May be fixed by #47
Open

'iocell rollback' mistargets ZFS dataset for rollback #27

biochemie opened this issue Jun 28, 2017 · 0 comments · May be fixed by #47

Comments

@biochemie
Copy link

Running iocell verison 2017-01-24 on FreeBSD.
Issuing iocell rollback <tag>@<snapshot> fails with the response,
cannot open 'zroot/iocell/jails/<uuid>@<snapshot>': dataset does not exist
Issuing iocell -v rollback <tag>@<snapshot> responds with the following:

* Rolling back to zroot/iocell/jails/<uuid>@<snapshot>
+ zfs rollback -r zroot/iocell/jails/<uuid>@<snapshot>
cannot open 'zroot/iocell/jails/<uuid>@<snapshot>': dataset does not exist

Inspecting the actual dataset setup with zfs list -r -t snapshot zroot/iocell/jails/<uuid> reports that the snapshots are actually assigned to zroot/iocell/jails/<uuid>/root, not zroot/iocell/jails/<uuid>.

Can manually achieve rollback by issuing zfs rollback -r zroot/iocell/jails/<uuid>/root@<snapshot>.

@biochemie biochemie changed the title iocell rollback mistargets ZFS dataset for rollback 'iocell rollback' mistargets ZFS dataset for rollback Jun 28, 2017
@rostwald rostwald linked a pull request Feb 19, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant