cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
11.05k stars 1.1k forks source link

incorrect mount status #20632

Open onlineapps-cloud opened 3 months ago

onlineapps-cloud commented 3 months ago

Explain what happens

hi, i have incorrect mount status in cockpit, my disk is mounted, but in one place say that is not mounted, in another place, say that is mounted: image

df -h
Filesystem        Size  Used Avail Use% Mounted on
udev               12G     0   12G   0% /dev
tmpfs             2.4G  1.6M  2.4G   1% /run
rpool/ROOT/pve-1   58G  3.2G   54G   6% /
tmpfs              12G   46M   12G   1% /dev/shm
tmpfs             5.0M     0  5.0M   0% /run/lock
efivarfs          256K   40K  212K  16% /sys/firmware/efi/efivars
rpool              54G  128K   54G   1% /rpool
rpool/var-lib-vz   54G  128K   54G   1% /var/lib/vz
rpool/ROOT         54G  128K   54G   1% /rpool/ROOT
rpool/data         54G  128K   54G   1% /rpool/data
log2ram           500M   54M  447M  11% /var/log
/dev/fuse         128M   20K  128M   1% /etc/pve
/dev/dm-0         1.9T  1.2T  652G  64% /mnt
tmpfs             2.4G     0  2.4G   0% /run/user/1000
tmpfs             2.4G     0  2.4G   0% /run/user/0

image and here not showing mount point and free/used status like this: image

Version of Cockpit

287.1-0+deb12u2

Where is the problem in Cockpit?

Storage

Server operating system

Debian

Server operating system version

12

What browsers are you using?

Firefox

System log

No response

jelly commented 3 months ago

Is /mnt in /etc/fstab, if so could you share that entry?

onlineapps-cloud commented 3 months ago
cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=3e54...ca202 /mnt/ auto noauto,x-cockpit-never-auto,x-parent=a4ea5...a4ea 0 0

image image

jelly commented 2 months ago

Sorry for not getting back to you earlier, 287 is one year old, the whole storage page got re-designed and re-worked. Backports has 318 which might not have this issue, if it does I'm happy to further investigate.

onlineapps-cloud commented 2 months ago

hi, thanks, i installed cockpit using "apt install cockpit" but to get latest version i need to install using guide from here?

jelly commented 2 months ago

hi, thanks, i installed cockpit using "apt install cockpit" but to get latest version i need to install using guide from here?

Yes, see backports section.