Skip to content

Support 'destroy' with btrfs backend #5

@Chromablue

Description

@Chromablue

When destroying a container created using btrfs support, llxc fails with the error:

rm: cannot remove //var/lib/lxc/impact/rootfs': Directory not empty rm: skipping/var/lib/lxc/impact/rootfs', since it's on a different device
impact successfully destroyed

to fix:

btrfs subvolume delete /rootfs

should be run before / instead of the rm statements.

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