Skip to content

Using ZFS root, mountall fails to mount /var soon enough #2

@tigloo

Description

@tigloo

Full description of the problem is here:

https://groups.google.com/a/zfsonlinux.org/forum/?fromgroups=#!topic/zfs-discuss/bmDxY24xrIg

When using a ZFS root file system with / located in rpool/ROOT/ubuntu-1 and /var located in rpool/var, /var is not available when upstart is beginning to start all daemons. This prevents many daemons from starting properly. It seems that /var is only mounted at a later stage.

The reason is unknown to me, as a workaround rpool/var can be moved to rpool/ROOT/ubuntu-1/var (so that it is a descendant of the root file system's data set). This seems to make /var immediately available at boot.

Note: the problem started to appear with ZoL RC12 (or rather, the Ubuntu packages of RC12), RC11 did not show this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions