Hi,
I'm using watchdog extention to check disk space of the server:
/dev/mapper/vg01-lv_root /
-
-
-
/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
I'm using watchdog extention to check disk space of the server:
-
-
-
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