Skip to content

ZFS root dataset is not mounted #755

Open
@gronke

Description

@gronke

When a ZFS dataset is created with an ancestor without mountpoint, libioc detects the dataset as not mounted, although it technically is.

zfs = libzfs.ZFS()
zfs.get_pool("zroot").create_dataset("zroot/test")
d = zfs.get_dataset("zroot/test")
d.mountpoint is None // True
d.properties["mountpoint"].value = "/tmp/test"
d.properties["mounted"].value == "yes" // False
d2 = zfs.get_dataset("zroot/test")
d2.properties["mounted"].value == "yes" // True

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions