Open tomarus opened 1 year ago
I am having a similar issue whereby no disks show up on an Ubuntu 18.04.6 server (btop version 1.2.13). However swap
does show up in the disk box.
I tried with no btop.conf
file, with the disks I want specified with disks_filter
in btop.conf
, and with disks I don't want specified using exclude=
with disks_filter
in btop.conf
.
Disks do show up (and are properly included or excluded via btop.conf) on Ubuntu 22.04 (btop version 1.2.3) and MacOS (btop version 1.2.13) machines.
Note: I am not using ZFS
(ext4
on ubuntu and apfs
and hfs
on macos).
I've got the same issue, but in my case it's propably because it's running inside a lxc container.
Similarly, on btop v1.3.2 on OpenWrt, the root overlayfs cannot show up in btop:
root@U35WF:~# btop --version
btop version: 1.3.2
root@U35WF:~# lsblk -o +label,fstype,uuid
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
LABEL FSTYPE UUID
sda 8:0 0 14.6T 0 disk /home homebackup ext4 4b41b3ca-9e12-48cd-8d01-7cbdd88c1261
mtdblock0 31:0 0 192K 1 disk
mtdblock1 31:1 0 64K 1 disk
mtdblock2 31:2 0 64K 1 disk
mtdblock3 31:3 0 15.7M 0 disk
mtdblock4 31:4 0 2.2M 1 disk
mtdblock5 31:5 0 13.5M 1 disk /rom squashfs
mtdblock6 31:6 0 6.3M 0 disk /overlay
zram0 254:0 0 128M 0 disk [SWAP] swap
root@U35WF:~# mount
/dev/root on /rom type squashfs (ro,relatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock6 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
/dev/sda on /home type ext4 (rw,relatime)
root@U35WF:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 7.3M 7.3M 0 100% /rom
tmpfs 59.7M 1.0M 58.7M 2% /tmp
/dev/mtdblock6 6.3M 388.0K 5.9M 6% /overlay
overlayfs:/overlay 6.3M 388.0K 5.9M 6% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/sda 14.4T 3.6T 10.1T 26% /home
root@U35WF:~#
I've tried explicitly specifying both "/" and "/overlay" but neither will show it in the graph.
And yet on other systems (raspbian) I always have to "exclude=/proc" - a useless 0B mount - every time.
Describe the bug
I installed btop on 4 different servers, they have a slightly different disk layout. They all have a /data and a /zfs partition. On one of them /data is not showing in btop. Probably because the "filesystem" (zfs) has the same name as the other disks "mountpoint" (/zfs). This is just my wild random guess.
This is the problematic server's mountpoints:
The other servers have a different filesystem for /data and they seem to work ok.
Expected behavior
I expected /data to be present in the first screenshot :)
Info (please complete the following information):
Additional context
contents of
~/.config/btop/btop.log
: