[Bug] Can't display storage of network drive with Docker Compose
I'm running Dashdot under Docker Compose on a Debian VPS. I have a 1TB Storage Box from Hetzner that gets mounted via CIFS via an entry in fstab.
However, using a standard Docker Compose configuration:
dashdot:
image: mauricenino/dashdot:latest
restart: unless-stopped
privileged: true
volumes:
- /:/mnt/host
I only see the server's own internal SSD:
I've tried adding additional bind mounts in Compose:
/mnt/storagebox:/mnt/host/mnt/storagebox:ro/mnt/storagebox:/mnt/host/storagebox:ro/mnt/storagebox:/mnt/storagebox:ro
These all have no effect. I've also tried setting the environment variables:
environment:
DASHDOT_FS_TYPE_FILTER: ""
DASHDOT_FS_VIRTUAL_MOUNTS: "//user123.your-storagebox.de/backup"
This also doesn't change anything.
Output of df
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 775M 2.8M 773M 1% /run
/dev/sda1 75G 32G 41G 45% /
tmpfs 3.8G 0 3.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda15 244M 152K 244M 1% /boot/efi
//user123.your-storagebox.de/backup 1.0T 5.6G 1019G 1% /mnt/storagebox
System info
INFO
=========
Yarn: 3.7.0
Node: v20.17.0
Dash: 5.9.0
Cwd: /app
Hash: 696233f6378f4af6c45bf88144dcec4edb38f8ba
Platform: Linux 5953b1293e84 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux
Docker image: base
In Docker: true
In Docker (env): true
In Podman: false
Logs
Click to show/hide
dashdot-1 | listening on *:3001
dashdot-1 | Using default network interface "eth0"
dashdot-1 | Using host os version from "/mnt/host/etc/os-release"
dashdot-1 | Static Server Info: {
dashdot-1 | os: {
dashdot-1 | arch: 'arm64',
dashdot-1 | distro: 'Debian GNU/Linux',
dashdot-1 | kernel: '6.1.0-28-arm64',
dashdot-1 | platform: 'linux',
dashdot-1 | release: '12',
dashdot-1 | uptime: 76769.13,
dashdot-1 | dash_version: '5.9.0',
dashdot-1 | dash_buildhash: '696233f6378f4af6c45bf88144dcec4edb38f8ba'
dashdot-1 | },
dashdot-1 | storage: [
dashdot-1 | {
dashdot-1 | size: 81923145728,
dashdot-1 | disks: [ { device: 'sda', brand: 'QEMU', type: 'SSD' } ]
dashdot-1 | }
dashdot-1 | ],
dashdot-1 | config: {
dashdot-1 | port: 3001,
dashdot-1 | running_in_docker: true,
dashdot-1 | accept_ookla_eula: false,
dashdot-1 | use_network_interface: undefined,
dashdot-1 | speed_test_from_path: undefined,
dashdot-1 | fs_device_filter: [],
dashdot-1 | fs_type_filter: [],
dashdot-1 | fs_virtual_mounts: [ '//user123.your-storagebox.de/backup' ],
dashdot-1 | disable_integrations: false,
dashdot-1 | show_dash_version: 'icon_hover',
dashdot-1 | show_host: false,
dashdot-1 | custom_host: undefined,
dashdot-1 | page_title: 'dash.',
dashdot-1 | use_imperial: false,
dashdot-1 | network_speed_as_bytes: false,
dashdot-1 | always_show_percentages: true,
dashdot-1 | enable_cpu_temps: false,
dashdot-1 | cpu_temps_mode: 'avg',
dashdot-1 | widget_list: [ 'os', 'cpu', 'storage', 'ram', 'network' ],
dashdot-1 | os_label_list: [ 'os', 'arch', 'up_since' ],
dashdot-1 | cpu_label_list: [ 'brand', 'model', 'cores', 'threads', 'frequency' ],
dashdot-1 | storage_label_list: [ 'brand', 'type', 'size', 'raid' ],
dashdot-1 | ram_label_list: [ 'brand', 'type', 'size', 'frequency' ],
dashdot-1 | network_label_list: [ 'type', 'speed_up', 'speed_down', 'interface_speed' ],
dashdot-1 | gpu_label_list: [ 'brand', 'model', 'memory' ],
dashdot-1 | os_widget_grow: 2.5,
dashdot-1 | os_widget_min_width: 300,
dashdot-1 | cpu_widget_grow: 4,
dashdot-1 | cpu_widget_min_width: 500,
dashdot-1 | cpu_shown_datapoints: 20,
dashdot-1 | cpu_poll_interval: 1000,
dashdot-1 | cpu_cores_toggle_mode: 'toggle',
dashdot-1 | storage_widget_items_per_page: 3,
dashdot-1 | storage_widget_grow: 3.5,
dashdot-1 | storage_widget_min_width: 500,
dashdot-1 | storage_poll_interval: 60000,
dashdot-1 | ram_widget_grow: 4,
dashdot-1 | ram_widget_min_width: 500,
dashdot-1 | ram_shown_datapoints: 20,
dashdot-1 | ram_poll_interval: 1000,
dashdot-1 | speed_test_interval: 240,
dashdot-1 | speed_test_interval_cron: undefined,
dashdot-1 | network_widget_grow: 6,
dashdot-1 | network_widget_min_width: 500,
dashdot-1 | network_shown_datapoints: 20,
dashdot-1 | network_poll_interval: 1000,
dashdot-1 | gpu_widget_grow: 6,
dashdot-1 | gpu_widget_min_width: 700,
dashdot-1 | gpu_shown_datapoints: 20,
dashdot-1 | gpu_poll_interval: 1000,
dashdot-1 | override: {
dashdot-1 | os: undefined,
dashdot-1 | arch: undefined,
dashdot-1 | cpu_brand: undefined,
dashdot-1 | cpu_model: undefined,
dashdot-1 | cpu_cores: undefined,
dashdot-1 | cpu_threads: undefined,
dashdot-1 | cpu_frequency: undefined,
dashdot-1 | ram_brand: undefined,
dashdot-1 | ram_size: undefined,
dashdot-1 | ram_type: undefined,
dashdot-1 | ram_frequency: undefined,
dashdot-1 | network_type: undefined,
dashdot-1 | network_speed_up: undefined,
dashdot-1 | network_speed_down: undefined,
dashdot-1 | network_interface_speed: undefined,
dashdot-1 | network_public_ip: undefined,
dashdot-1 | storage_brands: {},
dashdot-1 | storage_sizes: {},
dashdot-1 | storage_types: {},
dashdot-1 | gpu_brands: [],
dashdot-1 | gpu_models: [],
dashdot-1 | gpu_memories: []
dashdot-1 | }
dashdot-1 | }
dashdot-1 | }
dashdot-1 | First measurement [Storage]: [ 35262971904 ]
After reverting to version 5.7, the network drive appears in split view.
@MauriceNino commented on #252 on Aug 9, 2022:
@dawesry Network drives can not be shown, as there is no physical information available. The newest version filters its size out, so that it doesn't contribute to the total size.
You can try using
DASHDOT_FS_VIRTUAL_MOUNTSwith a value ofnfs4to at least show it as a virtual mount in the split view.
Why is it not possible to include the storage of a network drive in the unified view? The pie chart only needs to incorporate space used and space available, both of which are visible in split view.
Failing that, how can I make only the network drive visible in split view, and hide the local system drive? Any attempts to do that seem to result in a 'broken' outlined local drive.
Same issue here. Seems like I am able to go up to 5.8.5. Starting with 5.8.6 the drive disappears. I would check the diff myself but it seems like the tags were removed from the repo?