[O/S][Solved] Too many mounts

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
ZanyScum
Posts: 17
Joined: 2025-01-05 05:47
Has thanked: 2 times
Been thanked: 1 time

[O/S][Solved] Too many mounts

#1 Post by ZanyScum »

My virtual server had the following output for the mount command and I am pretty sure this is wrong.
I did not do anything manually with the mounts and normally only use "apt-get update/upgrade/dist-upgrade" to change the system.
Could someone tell me if this is really wrong, how this might have happened and how I fix this? Please?

Code: Select all

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=215048k,nr_inodes=53762,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=46832k,mode=755,inode64)
/dev/vda1 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13747)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=46832k,nr_inodes=11708,mode=700,inode64)
Btw, this is how my /etc/fstab looks like:

Code: Select all

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/vda1 during installation
/dev/vda1        /               ext4    errors=remount-ro 0       1
# swap was on /dev/vda2 during installation
/dev/vda2        none            swap    sw              0       0
Last edited by ZanyScum on 2025-01-05 07:01, edited 1 time in total.

lindi
Debian Developer
Debian Developer
Posts: 628
Joined: 2022-07-12 14:10
Has thanked: 2 times
Been thanked: 128 times

Re: [O/S] Too many mounts

#2 Post by lindi »

The output looks normal.

User avatar
ZanyScum
Posts: 17
Joined: 2025-01-05 05:47
Has thanked: 2 times
Been thanked: 1 time

Re: [O/S] Too many mounts

#3 Post by ZanyScum »

Thank you. I'll set it to solved and create another post to search for my real problem.

mrmazda
Posts: 569
Joined: 2023-06-02 02:22
Has thanked: 15 times
Been thanked: 70 times

Re: [O/S][Solved] Too many mounts

#4 Post by mrmazda »

I believe what happened happened years ago with the implementation of systemd. I found the naked mount command to have become worthless for my usage, so created the following to use instead:

Code: Select all

# alias | grep Mnt
alias Mnt='mount | egrep -v "cgroup|rpc|ramfs|tmpfs|^sys|on /dev|on /proc|on /sys|on /var" | sort '
#

Post Reply