weird info in logs

pattonb

Active Member
Oct 20, 2020
32
0
26
59
I have been seeing this in the logs on the proxmox host ( which I call pve-backup). It is a simple setup with 1 vm, here is the relevant info.
first the error message

Oct 08 21:18:50 pve-backup pvestatd[1409]: 5:185m5:185munable to activate storage 'data1' - directory is expected to be a mount point but is not mounted: '/mnt/pve/data1'

Oct 08 21:19:00 pve-backup pvestatd[1409]: 5:185m5:185munable to activate storage 'data1' - directory is expected to be a mount point but is not mounted: '/mnt/pve/data1'
Oct 08 21:19:10 pve-backup pvestatd[1409]: 5:185m5:185munable to activate storage 'data1' - directory is expected to be a mount point but is not mounted: '/mnt/pve/data1'

so I started digging. here are the disks I have installed, sdb, sdc, sdd are all set as pci passthrough to a vm.

root@pve-backup:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 7.3T 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 1G 0 part
├─sda3 8:3 0 511G 0 part
│ ├─pve-swap 252:0 0 8G 0 lvm [SWAP]
│ ├─pve-root 252:1 0 96G 0 lvm /
│ ├─pve-data_tmeta 252:2 0 3.9G 0 lvm
│ │ └─pve-data-tpool 252:4 0 383.2G 0 lvm
│ │ ├─pve-data 252:5 0 383.2G 1 lvm
│ │ └─pve-vm--100--disk--0 252:6 0 125G 0 lvm
│ └─pve-data_tdata 252:3 0 383.2G 0 lvm
│ └─pve-data-tpool 252:4 0 383.2G 0 lvm
│ ├─pve-data 252:5 0 383.2G 1 lvm
│ └─pve-vm--100--disk--0 252:6 0 125G 0 lvm
└─sda4 8:4 0 6.8T 0 part
sdb 8:16 0 3.6T 0 disk
└─sdb1 8:17 0 3.6T 0 part
sdc 8:32 0 7.3T 0 disk
└─sdc1 8:33 0 7.2T 0 part
sdd 8:48 0 3.6T 0 disk
└─sdd1 8:49 0 3.6T 0 part
sr0 11:0 1 1024M 0 rom

so I did also find this entry in the /dev/disk hierarchy

root@pve-backup:/dev/disk/by-partlabel# ls -l
total 0
lrwxrwxrwx 1 root root 10 Oct 8 20:35 data1 -> ../../sdc1

because I saw an error message about data1, and it led me to look at the mount points, which are

root@pve-backup:/# ls -l /mnt/
total 20
drwxr-xr-x 2 root root 4096 Sep 6 20:31 sda
drwxr-xr-x 5 root root 4096 Sep 8 18:06 tmp1
drwxr-xr-x 2 root root 4096 Jul 25 19:04 tmp2
drwxr-xr-x 5 root root 4096 Sep 9 15:17 velocity
drwxr-xr-x 2 root root 4096 Jul 14 05:50 wd-red-3tb

I don't have anything mounted other than that which is required to boot.
root@pve-backup:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 3.0M 6.3G 1% /run
/dev/mapper/pve-root 94G 8.5G 81G 10% /
tmpfs 32G 46M 32G 1% /dev/shm
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /tmp
/dev/fuse 128M 24K 128M 1% /etc/pve
tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service
tmpfs 6.3G 8.0K 6.3G 1% /run/user/0

so, I am confused, any ideas ?
 
Hi,
it means you have a directory storage called data1 configured (see Datacenter > Storage in the UI) which expects that its data is mounted at /mnt/pve/data1, but nothing is mounted there. If that was the same as data1 on sdc and you pass-through sdc, you cannot also mount it on the host at the same time. You should remove the entry for the storage from the configuration or disable it in Proxmox VE.