• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Watchdog extension disk moniroting error - "is not block device"

EveMauta

Basic Pleskian
Hi,
I'm using watchdog extention to check disk space of the server:
disk_status__notcheck.gif
/dev/mapper/vg01-lv_root /
-
-
-
disk_status__normal.gif
/dev/sda1 /boot
80%
80%
-


As filesystem are lvm2, extention give me an error:
"Erreur: The /dev/mapper/vg01-lv_root is not block device"

In cli same problem:
/usr/local/psa/admin/bin/modules/watchdog/wd --monit-disk=/dev/mapper/vg01-lv_root
The /dev/mapper/vg01-lv_root is not block device

Have you some idea how to set up this check ?

Best regards
Vince

PS:
df -vh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg01-lv_root 38G 3,2G 33G 9% /
tmpfs 935M 12K 935M 1% /dev/shm
/dev/sda1 477M 71M 381M 16% /boot

[root@assprem ~]# lvdisplay
--- Logical volume ---
LV Path /dev/vg01/lv_root
LV Name lv_root
VG Name vg01
LV UUID A3lbwC-JaIV-doXD-iJK3-lj3i-biug-ByLe0X
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2014-06-04 09:36:01 +0100
LV Status available
# open 1
LV Size 38,50 GiB
Current LE 9857
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Path /dev/vg01/lv_swap
LV Name lv_swap
VG Name vg01
LV UUID 84fxkS-CSFt-5Wcd-KGh8-G84g-xjCG-ZBnYtb
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2014-06-04 09:36:05 +0100
LV Status available
# open 1
LV Size 1,00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
 
Hi,
Anyone have some idea about this ?
Does extention are suported by Parallels/Odin ?
Best regards
Vince
 
I've also experienced this issue. As in the post you had above you can workaround it by editing the database directly. I'm not exactly sure why Parallels doesn't fix this.
 
Your right !
Thanks

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e 'INSERT INTO `module_watchdog_disk` VALUES ("","/dev/mapper/vg01-lv_root",80,"percent",80,"percent",NULL);'

/usr/local/psa/admin/bin/modules/watchdog/wd --disk-status=/dev/mapper/vg01-lv_root
normal
 
Could we have a official answer about this please ?
(lvdisplay could be used too, to check if it's a device to be checked...).
Vince
 
Back
Top