• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Health monitor report wrong /var size?

raytracy

Basic Pleskian
I have extended my /var volume from 200GB to 350GB, but the panel seems still recognize only the original size not extended total size:

This is the health monitoring detected /var size, the red frame shown 211GB Total, 181GB used :
160913-wrong-var-size.png

But I actually have 400GB /var volume in system:

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg1-root 28G 3.9G 25G 14% /
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 9.8M 7.8G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/vda1 1.9G 218M 1.7G 12% /boot

/dev/mapper/vg1-var 361G 182G 180G 51% /var
tmpfs 1.6G 0 1.6G 0% /run/user/0
tmpfs 1.6G 0 1.6G 0% /run/user/10008
tmpfs 1.6G 0 1.6G 0% /run/user/10013
tmpfs 1.6G 0 1.6G 0% /run/user/10030
tmpfs 1.6G 0 1.6G 0% /run/user/1000


which combined from two PV:

pvdisplay
--- Physical volume ---
PV Name /dev/vda2
VG Name vg1

PV Size 248.14 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 63522
Free PE 0
Allocated PE 63522
PV UUID umvyHh-fpcl-PbTf-BF9w-agKH-9Swm-7YDF1e

--- Physical volume ---
PV Name /dev/vda3
VG Name vg1

PV Size 150.00 GiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 38399
Free PE 1
Allocated PE 38398
PV UUID jNcBT9-UGm0-B7XT-186r-CsOw-aR2b-vcLi9H


To a single LV and mounted as /var:

--- Logical volume ---
LV Path /dev/vg1/var
LV Name var
VG Name vg1
LV UUID LcZMqs-G3ii-Pjae-mbye-b9of-6mzI-f3af45
LV Write Access read/write
LV Creation host, time 64-140-164-67.static.webnx.com, 2016-06-27 04:43:53 +0800
LV Status available
# open 1
LV Size 360.87 GiB
Current LE 92383
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:2


Is there any way to update the health monitor to the latest volume size?

plesk version
Product version: 12.5.30 Update #45
Update date: 2016/09/12 02:17
Build date: 2016/06/08 10:00
OS version: CloudLinux 7.2
Revision: 344620
Architecture: 64-bit
Wrapper version: 1.2
 
Try to run the following command to make Plesk Health Monitor recognize recent hardware configuration changes:

# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php
 
Back
Top