cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11352
Views
10
Helpful
7
Replies

PI 3.2 /var full 100%

AK002
Level 1
Level 1

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

7 Replies 7

Sandeep Choudhary
VIP Alumni
VIP Alumni

chekc this post...it may help:

 

https://supportforums.cisco.com/t5/network-management/cisco-prime-infrastructure-3-1-var-full/td-p/3040240

 

Regards

Dont forget to rate helpful posts

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

Well done!

Thanks.. 

Arun has best answer. Adding another drive and rebooting DOES NOT WORK in this case.

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.-

patoberli
VIP Alumni
VIP Alumni
Is it a physical or virtual machine?
If virtual, assign an additional disk to it, with at least 300GB and reboot the server. It will automatically expand it's filesystems on the first boot (might take a while), afterwards you might have again enough free space.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: