Skip to content

'iocell rollback' mistargets ZFS dataset for rollback #27

Description

@biochemie

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>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions