Virtualmin installation results in disk error report every 5 minutes

Hi

Centos 7.2 Installation

This is on a dedicated server with a custom installation provided by OVH, the hosting provider

On first boot, I saw a message like this (once):

May 12 17:16:36 mail2 systemd: Device dev-disk-by\x2dpartlabel-primary.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 May 12 17:16:37 mail2 systemd: Device dev-disk-by\x2dpartlabel-primary.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb4 May 12 17:16:37 mail2 systemd: Device dev-disk-by\x2dpartlabel-primary.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb1 May 12 17:16:37 mail2 systemd: Device dev-disk-by\x2dpartlabel-primary.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb2 May 12 17:16:37 mail2 systemd: Device dev-disk-by\x2dpartlabel-primary.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb3 May 12 17:16:39 mail2 systemd: Device dev-disk-by\x2dpartlabel-primary.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 May 12 17:16:39 mail2 systemd: Device dev-disk-by\x2dpartlabel-primary.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3

Googling suggests this is benign and can be ignored

After I installed Virtualmin and did some configuration, I subsequently noticed this message was appearing every 5 minutes.

I then did a clean Centos installation and carefully monitored the log to discover which install/change was causing the message to start appearing every 5 mins. It was the installation of Virtualmin itself. Could you advise please. I assume some form of disk monitoring has been enabled, and would prefer to turn this off to avoid swamping the log.

Thanks

Status: 
Active

Comments

Howdy -- that message could indicate a setup/configuration problem with the particular images your provider is offering. It means two different disks have been added which each have the same disk ID.

Though some people have suggested trying a different kernel, that could always be worth a try. Some VPS providers offer a series of kernels to choose from.

Note that Virtualmin doesn't have any sort of disk monitoring by default.

However, some other program that's running may be triggering that message to display.

My suggestion would be to work with your provider to look into what might be causing the message. Fixing the root cause would eliminate that message from appearing.

However, the only activity in Virtualmin that runs every 5 minutes is collectinfo. It's possible some command it's running for stats collection is triggering that message. If you don't wish to work with your provider regarding that issue, you could try configuring collectinfo to run less frequently.

You can do that in System Settings -> Virtualmin Config -> Interval between status collection job runs.

This change isn't fixing the problem, but would prevent messages from showing up so frequently in your logs.