New Install Disk Usage wrong

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

New Install Disk Usage wrong

Postby GenXOutsourcing » Wed Apr 15, 2020 9:42 am

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.
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: New Install Disk Usage wrong

Postby GenXOutsourcing » Wed Apr 15, 2020 7:02 pm

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
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: New Install Disk Usage wrong

Postby seekerx » Fri Apr 17, 2020 10:33 am

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
seekerx
 
Posts: 9
Joined: Tue Jan 21, 2020 1:54 pm

Re: New Install Disk Usage wrong

Postby GenXOutsourcing » Fri Apr 17, 2020 10:55 am

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
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: New Install Disk Usage wrong

Postby seekerx » Fri Apr 17, 2020 12:13 pm

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
seekerx
 
Posts: 9
Joined: Tue Jan 21, 2020 1:54 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 96 guests