Skip to content

a few snapshot problems #127

Description

@Curley-Joe

I'm having a few problems accessing the snapshots I've created using the .zfs/snapshots directory.

The first issue is minor. "ls -l" always returns an "Invalid argument" error, but otherwise works fine. Using ltrace and strace, it seems that "ls" is calling lgetfilecon(), which is calling lgetxattr(path, "security.selinux", ...) and failing.

The more serious problem is that many of the directories cannot be opened. E.g. from strace:

open("MS_raw", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EINVAL (Invalid argument)

Also, the .zfs directory is not accessible at all through NFS:

stat(".zfs", 0x121e1568)                = -1 EIO (Input/output error)

But the good news is that cloning a snapshot seems to work.

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