Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  var partition usage is high

    Posted 01-15-2015 03:09

    hi all,

    When I execute the command  -  show system alarms

     

    I get the following output :

     

     1 alarms currently active
    Alarm time Class Description
    2014-03-19 13:39:00 IST Minor Host 0 /var partition usage is high

     

    I used the command - request system storage cleanup  ,and it did not help me solve the problem.

    how can i slove it?

    Thanks



  • 2.  RE: var partition usage is high

     
    Posted 01-15-2015 03:28

    And how much free space do you actually have?

     

    As far as I recall, there was a change in threshold level on which you trigger this alarm. In this case it was lowered, so the alarm is triggered faster.

     

    You can change the threshold using this configuration:

     

    {master:0}[edit]
    root@EX# set chassis disk-partition /var level high free-space ?
    Possible completions:
      <thres-free>         Enter free space threshold value (0..100)
      mb                   Free space threshold in MB
      percent              Free space threshold in %
    {master:0}[edit]
    root@EX#



    =====

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.



  • 3.  RE: var partition usage is high

    Posted 01-15-2015 04:44

    show system storage all-members

     

    Filesystem                 Size           Used         Avail    Capacity        Mounted on

    -ex-12.3R6.6/jail/var/tmp

    /var/tmp                     369M           26K         339M        0%             /packages/mnt/jweb  

     

    When I do the operation of the "request system storage cleanup" size use does not come off, would not help me increase the warning, that the partition is almost full.
    The current situation can cause dysfunction switch?

     

    And is there a way to increase the size of the current folder has storage?

    Thanks



  • 4.  RE: var partition usage is high

     
    Posted 01-15-2015 04:50
    You actually sent the output showing /var/tmp, not /var.

    These two are mounted on different partitions.

    You can see what files you have on /var. Some of them are not subject of
    deletion when 'request system storage cleanup' is run. But maybe you
    don't need them and you can safely delete them.

    If you don't have any other files to delete, then you will either have
    to live with the alarm or increase the threshold.

    There is no problem if you have this alarm if you don't end up in having
    no disk space at all.


  • 5.  RE: var partition usage is high

    Posted 01-18-2015 01:02

    Okay, how can I delete the var/tmp, if i want ?

    thanks



  • 6.  RE: var partition usage is high

     
    Posted 01-18-2015 23:23

    root@EX:RE:0% cd /var/tmp
    root@EX:RE:0% ls
    .snap        install        rtsdb
    gres-tp        pics        vi.recover
    root@EX:RE:0% rm -rf *

    root@EX:RE:0% ls
    .snap
    root@EX:RE:0%



    =====

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.



  • 7.  RE: var partition usage is high

    Posted 01-26-2015 08:42
    You can use Unix/Linux du command to check which folder have big size.