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.
Created two files:
and
Then
mkdir -p /mnt/s3/my-storageandsystemctl start mnt-s3-my\\x2dstorage.automount.After that I run
ls /mnt/s3/my-storageandgeesefsprocess stalls forever (andlstoo).It seems fuse and automount on mount points has some conflict.
If automount is disabled, then
lsaftersystemctl start mnt-s3-my\\x2dstorage.mount(note: not "auto") works fine.