Skip to content

[Bug]: Binary agent only detects one EXTRA_FILESYSTEMS mount when multiple systemd automount filesystems are configured #1931

@ririsoft

Description

@ririsoft

Welcome!

  • I have read the Documentation
  • I have checked the Common Issues Guide and my problem was not mentioned there.
  • I have searched open and closed issues and my problem was not mentioned before.
  • I have verified I am using the latest version available. You can check the latest release here.

Component

Agent

Problem Description

Description

I am using the Beszel binary agent on Linux with two additional filesystems configured through EXTRA_FILESYSTEMS:

  • /media/video__Video
  • /media/backup__Backup

Only Video appears in Beszel. Backup does not appear in the UI and is also missing from the agent debug output, even though the mount exists and is accessible.

Both mount points are configured in /etc/fstab with noauto,x-systemd.automount,x-systemd.idle-timeout=10min.

Only /media/video is detected.

/etc/fstab

UUID=6e53019c-b9a6-4958-8225-cf6bc8fb6f5d /media/backup ext4 noauto,x-systemd.automount,x-systemd.idle-timeout=10min 0 2
UUID=E7DE-D1A1 /media/video exfat noauto,uid=1000,gid=1000,x-systemd.automount,x-systemd.idle-timeout=10min 0 2

Mount state

mount shows both automount layers and both real mounted filesystems:

systemd-1 on /media/backup type autofs (...)
systemd-1 on /media/video type autofs (...)
/dev/sdc1 on /media/video type exfat (...,x-systemd.automount,...)
/dev/sdb1 on /media/backup type ext4 (...,x-systemd.automount,...)

Additional checks

The backup filesystem is accessible:

ls /media/backup
lost+found/  restic/  timemachine/

Restarting the agent after explicitly accessing /media/backup still does not make it appear.

Expected Behavior

Both /media/video and /media/backup should be detected and exposed as extra filesystems.

Steps to Reproduce

  1. Setup 2 automount point in /etc/fstab
  2. Add them to EXTRA_FILESYSTEM
  3. Start beszel agent
  4. Only the first one is detected.

OS / Architecture

linux/amd64 (Debian Trixie)

Beszel version

0.18.7

Installation method

Binary

Configuration

HUB_URL=http://localhost:8090
KEY=...
TOKEN=...
EXTRA_FILESYSTEMS=/media/video__Video,/media/backup__Backup
DISABLE_SSH=true
EXCLUDE_CONTAINERS=true
SKIP_GPU=true
LOG_LEVEL=debug

Hub Logs

Agent Logs

2026/04/17 14:38:48 DEBUG 0.18.7
2026/04/17 14:38:48 DEBUG Disk partitions="[...]"
2026/04/17 14:38:48 DEBUG Disk I/O diskstats="map[dm-0:{...}]"
2026/04/17 14:38:48 INFO Detected disk name=Video device=systemd-1 mount=/media/video io=systemd-1 root=false
2026/04/17 14:38:48 INFO Detected disk name=dm-0 device=dm-0 mount=/ io=dm-0 root=true
2026/04/17 14:38:48 WARN Device not found in diskstats name=systemd-1
2026/04/17 14:38:48 DEBUG Extra FS data=map[Video:0x11a7fd12af00]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions