Skip to content

bad interference with systemd automount #157

@tomilov

Description

@tomilov

Created two files:

# vim /etc/systemd/system/mnt-s3-my\\x2dstorage.automount
[Unit]
Description=Automount my-storage
After=network-online.target
Wants=network-online.target

[Automount]
Where=/mnt/s3/my-storage

[Install]
WantedBy=multi-user.target

and

# vim /etc/systemd/system/mnt-s3-my\\x2dstorage.mount
[Unit]
Description=Yandex S3 (geesefs) Mount for my-storage
After=network-online.target
Wants=network-online.target

[Mount]
What=my-storage
Where=/mnt/s3/my-storage
Type=fuse.geesefs
Options=_netdev,allow_other,--endpoint=https://example.com,--file-mode=0666,--dir-mode=0777

[Install]
WantedBy=multi-user.target

Then mkdir -p /mnt/s3/my-storage and systemctl start mnt-s3-my\\x2dstorage.automount.
After that I run ls /mnt/s3/my-storage and geesefs process stalls forever (and ls too).
It seems fuse and automount on mount points has some conflict.
If automount is disabled, then ls after systemctl start mnt-s3-my\\x2dstorage.mount (note: not "auto") works fine.

geesefs version 0.43.2

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