Page 1 of 1

New Install Disk Usage wrong

PostPosted: Wed Apr 15, 2020 9:42 am
by GenXOutsourcing
Ok, did a new scratch install of Vicidial onto Centos7, which I have done 100 times. System works as expected however on the Server Stats and Reports page shows the Disk Usage at 24%. When looking in the CLI shows the actual usage as 1%. The 24% is for the /boot partition. Is there a way to have Vici look at the correct partion?

SERVER - DESCRIPTION IP ACT LOAD CHAN AGNT DISK
Agent XXXXXX.XXXXXXX.XXXX XX.X.XXX.XXX Y / Y / Y 2 - 0% 0 0 24%

From Server Modify page:
Disk Usage: 1 - 0% 2 - 0% 3 - 1% 4 - 0% 5 - 7% 6 - 24% 7 - 0%

[root@agent ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 9.2M 7.8G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/centos-root 128G 5.1G 123G 4% /
/dev/sda1 1014M 237M 778M 24% /boot
tmpfs 1.6G 0 1.6G 0% /run/user/0

This is on an HP380 with hard RAID1.

I also have Vicidial on other servers with SoftRaid1, and those show the disk usage correct.

Re: New Install Disk Usage wrong

PostPosted: Wed Apr 15, 2020 7:02 pm
by GenXOutsourcing
UPDATE:

Just used the ViciBox 9.0.1 ISO, and has the same issue. Showing Disk Usage of the /boot partition.

SERVER + DESCRIPTION IP ACT LOAD CHAN AGNT DISK OUTBOUND INBOUND
blacktie Server blacktie 192.168.44.100 Y / Y / Y 39 - 1% 0 0 6% LINK LINK

Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 7.9G 9.2M 7.9G 1% /run
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/sda3 131G 3.3G 121G 3% /
tmpfs 6.0G 0 6.0G 0% /var/spool/asterisk/monitor
/dev/sda2 20M 1.1M 19M 6% /boot/efi
tmpfs 1.6G 0 1.6G 0% /run/user/0

Re: New Install Disk Usage wrong

PostPosted: Fri Apr 17, 2020 10:33 am
by seekerx
I got ViciBox 9.0.1 ISO same as yours.

SERVER + DESCRIPTION IP ACT LOAD CHAN AGNT DISK OUTBOUND INBOUND
vici9 Server vici9 X.X.X.X Y / Y / Y 19 - 2% 0 0 8% LINK LINK

Disk Usage: 1 - 0% 2 - 0% 3 - 8% 4 - 0% 5 - 2% 6 - 0% 7 - 6% 8 - 0%

vici9:/ # df -h | grep -v Filesystem | nl
1 devtmpfs 3.9G 0 3.9G 0% /dev
2 tmpfs 3.9G 0 3.9G 0% /dev/shm
3 tmpfs 3.9G 281M 3.6G 8% /run <---- Corresponding to 8%, see above.
4 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
5 /dev/sda3 455G 4.8G 427G 2% /
6 tmpfs 6.0G 0 6.0G 0% /var/spool/asterisk/monitor
7 /dev/sda2 20M 1.2M 19M 6% /boot/efi
8 tmpfs 784M 0 784M 0% /run/user/0
vici9:/ #

The magic I did here:
vici9:/ # cd /run; fallocate -l 1G test.img

SERVER + DESCRIPTION IP ACT LOAD CHAN AGNT DISK OUTBOUND INBOUND
vici9 Server vici9 X.X.X.X Y / Y / Y 7 - 2% 0 0 34% LINK LINK

Disk Usage: 1 - 0% 2 - 0% 3 - 34% 4 - 0% 5 - 2% 6 - 0% 7 - 6% 8 - 0%

vici9:/ # df -h | grep -v Filesystem | nl
1 devtmpfs 3.9G 0 3.9G 0% /dev
2 tmpfs 3.9G 0 3.9G 0% /dev/shm
3 tmpfs 3.9G 1.3G 2.6G 34% /run <---- Corresponding to 34%, see above.
4 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
5 /dev/sda3 455G 4.8G 427G 2% /
6 tmpfs 6.0G 0 6.0G 0% /var/spool/asterisk/monitor
7 /dev/sda2 20M 1.2M 19M 6% /boot/efi
8 tmpfs 784M 0 784M 0% /run/user/0
vici9:/ #

Hope this helps!


Setup details: Single server | openSUSE Leap 15.1 - Linux 4.12.14-lp151.28.44-default, x86-64 | Vicibox 9.0.1 | Vicidial 2.14-743a, Build 200331-1148 | Asterisk 13.29.2-vici | Digium/Sangoma hardware: none | Software after Installation: none | Hardware: Dell OptiPlex 3050

Thank you!
SeekerX

Re: New Install Disk Usage wrong

PostPosted: Fri Apr 17, 2020 10:55 am
by GenXOutsourcing
Yes, but yours should be showing off of the /dev/sda3 which is the / partition and shows only 2%.

For some reason, the installation is not pointing to or reading the /dev/sda3 partition

Re: New Install Disk Usage wrong

PostPosted: Fri Apr 17, 2020 12:13 pm
by seekerx
Agreed, if this is supposed to show / usage and not showing, must be a bug.
My finding was about which corresponding value changes.

Setup details: Single server | openSUSE Leap 15.1 - Linux 4.12.14-lp151.28.44-default, x86-64 | Vicibox 9.0.1 | Vicidial 2.14-743a, Build 200331-1148 | Asterisk 13.29.2-vici | Digium/Sangoma hardware: none | Software after Installation: none | Hardware: Dell OptiPlex 3050

Thank you!
SeekerX