01-19-2018 02:57 AM - edited 07-05-2021 08:07 AM
Hi Guys,
Can anyone help on the Prime infrastructure disk utilisation /var.
it prevents NCS application to start. To get NCS application to start manually deleted some small log files, ncs cleanup also done but same 100% in /var..
ade # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/smosvg-rootvol 3.9G 327M 3.4G 9% / tmpfs 5.9G 2.0G 3.9G 34% /dev/shm /dev/mapper/smosvg-altrootvol 124M 5.6M 113M 5% /altroot /dev/sda1 485M 71M 389M 16% /boot /dev/mapper/smosvg-home 124M 5.9M 112M 5% /home /dev/mapper/smosvg-localdiskvol 44G 181M 41G 1% /localdisk /dev/mapper/smosvg-optvol 203G 78G 115G 41% /opt /dev/mapper/smosvg-recvol 124M 5.6M 113M 5% /recovery /dev/sda2 97M 5.6M 87M 7% /storedconfig /dev/mapper/smosvg-storeddatavol 9.7G 151M 9.0G 2% /storeddata /dev/mapper/smosvg-tmpvol 2.0G 52M 1.8G 3% /tmp /dev/mapper/smosvg-usrvol 6.8G 1.2G 5.3G 18% /usr /dev/mapper/smosvg-varvol 3.9G 3.8G 0 100% /var
Regards,
AK
01-19-2018 04:25 AM
chekc this post...it may help:
Regards
Dont forget to rate helpful posts
01-22-2018 01:45 AM
Thanks did the below steps and cleared the unwanted data's.
1. SSH to your Prime Infrastructure
2. Login and then typ: shell and login again
3. Run sudo su -
4. run df -h to check the diskspace
5. run cd /var/cache/logwatch/
6. run ls -l to view files
7. run rm -rf logwatch.{filename} to delete a file or logwatch.* to delete all
Regards,
AK
01-22-2018 01:47 AM
Well done!
01-22-2018 02:57 AM
Thanks..
02-27-2019 08:58 AM - edited 02-27-2019 09:00 AM
Arun has best answer. Adding another drive and rebooting DOES NOT WORK in this case.
01-19-2018 04:40 AM
Hi,
Inside /var we have all this sub-directories:
ade # ls
cache cvs db empty ftp games lib local lock log lost+found mail nis opt pari preserve run spool tmp yp
Usually, /log can be a problem.
ade # du -h log
28M log/audit
4.0K log/mail
28K log/prelink
32K log/ade
4.0K log/ConsoleKit
4.0K log/ntpstats
4.0K log/pluto/peer
8.0K log/pluto
38M log/sa
183M log
On this server, /var/log is not a problem apparently.
But, if I do the same para /cache, we can see much more volume
du -h cache
2.7G cache/logwatch
2.7G cache
Try to identify where do you have more files using the same logic and delete it accordingly.
-If I helped you somehow, please, rate it as useful.-
01-19-2018 07:22 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide