SRX Services Gateway
SRX Services Gateway

please confirm if system storage is ok or it can hamper services

‎04-26-2017 02:46 AM

node0:

--------------------------------------------------------------------------

Filesystem              Size       Used      Avail  Capacity   Mounted on

/dev/ad0s1a             891M       576M       243M       70%  /

devfs                   1.0K       1.0K         0B      100%  /dev

/dev/md0                522M       522M         0B      100%  /junos

/cf                     891M       576M       243M       70%  /junos/cf

devfs                   1.0K       1.0K         0B      100%  /junos/dev/

procfs                  4.0K       4.0K         0B      100%  /proc

/dev/ad0s1e              99M        36K        91M        0%  /config

/dev/ad2s1f              12G       1.0G       9.9G        9%  /var

/dev/md1               1006M       1.0M       924M        0%  /mfs

/var/jail                12G       1.0G       9.9G        9%  /jail/var

/var/log                 12G       1.0G       9.9G        9%  /jail/var/log

devfs                   1.0K       1.0K         0B      100%  /jail/dev

 

 

 

node1:

--------------------------------------------------------------------------

Filesystem              Size       Used      Avail  Capacity   Mounted on

/dev/ad0s1a             891M       576M       243M       70%  /

devfs                   1.0K       1.0K         0B      100%  /dev

/dev/md0                522M       522M         0B      100%  /junos

/cf                     891M       576M       243M       70%  /junos/cf

devfs                   1.0K       1.0K         0B      100%  /junos/dev/

procfs                  4.0K       4.0K         0B      100%  /proc

/dev/ad0s1e              99M        36K        91M        0%  /config

/dev/ad2s1f              12G       615M        10G        6%  /var

/dev/md1               1006M        11M       914M        1%  /mfs

/var/jail                12G       615M        10G        6%  /jail/var

/var/log                 12G       615M        10G        6%  /jail/var/log

devfs                   1.0K       1.0K         0B      100%  /jail/dev

7 REPLIES 7
SRX Services Gateway

Betreff: please confirm if system storage is ok or it can hamper services

‎04-26-2017 06:20 AM

Hi,

what Hardware do you have?

 

With "request System storage cleanup" you can clean up some old logs etc.

Maybe run "request System storage cleanup dry-run" first to see what files will be deleted.

 

 

Regards
Chris
Twitter: @chsjuniper
SRX Services Gateway

Betreff: please confirm if system storage is ok or it can hamper services

‎04-27-2017 11:53 PM

SRX 1400 is the h/w.

By the way is the current status is ok?e

 

SRX Services Gateway

Betreff: please confirm if system storage is ok or it can hamper services

‎04-28-2017 12:24 AM

Hi Swati,

 

What exactly are you looking for in the System storage.

The space looks okay but if you are planning to upgrade the devise to the latest version then the space is not enough and you need to clean up the space for the process.

From the output I couid see that you have around 240 MB space free and for upgrade it will ask you for atleast 260 MB and hence the upgrade would fail.

 

 

 

regards,

Guru Prasad

SRX Services Gateway

Betreff: please confirm if system storage is ok or it can hamper services

‎04-28-2017 05:21 AM

will the current memory impact services?

system storage status in this o/p which filesystem needs to be checked from service perspective?

SRX Services Gateway
Solution
Accepted by topic author swati.pandya@ericsson.com
‎04-28-2017 06:18 AM

Betreff: please confirm if system storage is ok or it can hamper services

‎04-28-2017 06:00 AM

Hi Swati,

 

These 2 are the main folders which are used in the devise.

/cf 891M 576M 243M 70% /junos/cf
/var/log 12G 615M 10G 6% /jail/var/log

 

I can see enough space in that for the devise to function properly.

However as updated in my previous update, if you are planning to upgrade the devise then you need to free us space in the below directory.

/cf                     891M       576M       243M       70%  /junos/cf

the latest image requires 260 MB of space however you only have about 243 MB free.

 

other than that I do not think there is any issues.

 

regards,

Guru prasad

SRX Services Gateway

Betreff: please confirm if system storage is ok or it can hamper services

‎05-01-2017 10:55 PM


devfs                   1.0K       1.0K         0B      100%  /junos/dev/

procfs                  4.0K       4.0K         0B      100%  /proc


/dev/md0                522M       522M         0B      100%  /junos


devfs                   1.0K       1.0K         0B      100%  /dev

 

devfs                   1.0K       1.0K         0B      100%  /jail/dev

 

 

what does above directories represent?

100% can cause any impact?

 

SRX Services Gateway

Betreff: please confirm if system storage is ok or it can hamper services

‎05-02-2017 06:51 AM

Hi,

 

Folders such as /dev those are a device files "dev=device" , and its ok to be at 100% usage .

Notice if you issue the request storage cleanup command those files will stay at 100% usage because this command mostly will affect the /var /tmp /log .. folders .

 

 

root> show system storage 
fpc0:
--------------------------------------------------------------------------
Filesystem              Size       Used      Avail  Capacity   Mounted on
/dev/da0s1a             183M       112M        57M       66%  /
devfs                   1.0K       1.0K         0B      100%  /dev
/dev/md0                 58M        58M         0B      100%  /packages/mnt/jbase
/dev/md1                2.6M       2.6M         0B      100%  /packages/mnt/fips-mode-arm-12.3R9.4
/dev/md2                 11M        11M         0B      100%  /packages/mnt/jcrypto-ex-12.3R9.4
/dev/md3                5.0M       5.0M         0B      100%  /packages/mnt/jdocs-ex-12.3R9.4
/dev/md4                 87M        87M         0B      100%  /packages/mnt/jkernel-ex-2200-12.3R9.4
/dev/md5                 18M        18M         0B      100%  /packages/mnt/jpfe-ex22x-12.3R9.4
/dev/md6                 31M        31M         0B      100%  /packages/mnt/jroute-ex-12.3R9.4
/dev/md7                 18M        18M         0B      100%  /packages/mnt/jswitch-ex-12.3R9.4
/dev/md8                 24M        24M         0B      100%  /packages/mnt/jweb-ex-12.3R9.4
/dev/da0s3e             123M       1.3M       112M        1%  /var
/dev/md9                126M        14K       116M        0%  /tmp
/dev/da0s3d             369M       146K       339M        0%  /var/tmp
/dev/da0s4d              62M        48K        57M        0%  /config
/dev/md10                59M        19M        35M       35%  /var/rundb
procfs                  4.0K       4.0K         0B      100%  /proc
/var/jail/etc           123M       1.3M       112M        1%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/etc
/var/jail/run           123M       1.3M       112M        1%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/run
/var/jail/tmp           123M       1.3M       112M        1%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/tmp
/var/tmp                369M       146K       339M        0%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/tmp/uploads
devfs                   1.0K       1.0K         0B      100%  /packages/mnt/jweb-ex-12.3R9.4/jail/dev

{master:0}
root> request system storage cleanup 
Please check the list of files to be deleted using the dry-run option. i.e.
request system storage cleanup dry-run
Do you want to proceed ? [yes,no] (no) yes 

fpc0:
--------------------------------------------------------------------------

List of files to delete:

         Size Date         Name
    11B Feb 12 14:28 /var/jail/tmp/alarmd.ts
   112B Feb 12 16:05 /var/log/default-log-messages.0.gz
  5252B Feb 12 14:25 /var/log/dhcp_logfile.0.gz
  9169B Feb 12 14:16 /var/log/dhcp_logfile.1.gz
  5969B Feb 12 16:05 /var/log/interactive-commands.0.gz
  21.0K Feb 12 16:05 /var/log/messages.0.gz
   129B Feb 12 14:17 /var/log/wtmp.0.gz
   130B Feb 12 14:08 /var/log/wtmp.1.gz
  3898B Feb 12 14:11 /var/tmp/ex_autod_config
  2998B Feb 12 14:11 /var/tmp/ex_autod_rollback_cfg
 124.0K Feb 12 14:11 /var/tmp/gres-tp/env.dat
     0B Feb 12 14:05 /var/tmp/gres-tp/lock
     0B Feb 12 14:11 /var/tmp/rtsdb/if-rtsdb

{master:0}
root> show system storage               
fpc0:
--------------------------------------------------------------------------
Filesystem              Size       Used      Avail  Capacity   Mounted on
/dev/da0s1a             183M       112M        57M       66%  /
devfs                   1.0K       1.0K         0B      100%  /dev
/dev/md0                 58M        58M         0B      100%  /packages/mnt/jbase
/dev/md1                2.6M       2.6M         0B      100%  /packages/mnt/fips-mode-arm-12.3R9.4
/dev/md2                 11M        11M         0B      100%  /packages/mnt/jcrypto-ex-12.3R9.4
/dev/md3                5.0M       5.0M         0B      100%  /packages/mnt/jdocs-ex-12.3R9.4
/dev/md4                 87M        87M         0B      100%  /packages/mnt/jkernel-ex-2200-12.3R9.4
/dev/md5                 18M        18M         0B      100%  /packages/mnt/jpfe-ex22x-12.3R9.4
/dev/md6                 31M        31M         0B      100%  /packages/mnt/jroute-ex-12.3R9.4
/dev/md7                 18M        18M         0B      100%  /packages/mnt/jswitch-ex-12.3R9.4
/dev/md8                 24M        24M         0B      100%  /packages/mnt/jweb-ex-12.3R9.4
/dev/da0s3e             123M       1.1M       112M        1%  /var
/dev/md9                126M        14K       116M        0%  /tmp
/dev/da0s3d             369M       138K       339M        0%  /var/tmp
/dev/da0s4d              62M        48K        57M        0%  /config
/dev/md10                59M        19M        35M       35%  /var/rundb
procfs                  4.0K       4.0K         0B      100%  /proc
/var/jail/etc           123M       1.1M       112M        1%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/etc
/var/jail/run           123M       1.1M       112M        1%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/run
/var/jail/tmp           123M       1.1M       112M        1%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/tmp
/var/tmp                369M       138K       339M        0%  /packages/mnt/jweb-ex-12.3R9.4/jail/var/tmp/uploads
devfs                   1.0K       1.0K         0B      100%  /packages/mnt/jweb-ex-12.3R9.4/jail/dev

 

/proc/ directory contains a number of directories with numerical names.

These directories are called process directories, as they are named after a program's process ID and contain information specific to that process. So this kind of directory also you cannot manage its usage and it is not affected by the request storage cleanup command .

 

root@:RE:0% cd /proc/
root@:RE:0% ls
0       1214    1230    1242    1253    17      2208    304     4       50
1       1215    1231    1243    1265    18      2231    31      40      6
10      1216    1232    1244    13      180     23      32      41      7
100     1217    1233    1245    14      19      24      33      43      8
11      1223    1234    1246    140     2       25      34      44      80
12      1224    1235    1247    15      20      26      340     45      856
120     1225    1236    1248    16      200     27      35      46      9
1209    1226    1237    1249    160     21      28      36      47      949
1210    1227    1238    1250    1669    22      29      37      48      curproc
1211    1228    1239    1251    1687    220     3       38      49
1213    1229    1241    1252    1688    2207    30      39      5

More useful information to read about this folder can be found here

 

 

 

Regards,
A'bed AL-R.
[JNCSP-SEC JNCDA JNCIS-ENT Ingenious Champion|Sec]
https://srxtech.wordpress.com