I have a IS5100 Mellanox 108 ports infiniband switch.
I have receiving plenty of messages saying the /var is ending.
How can increase the free space in this partition from CLI command line?
Thanks in advance.
I have a IS5100 Mellanox 108 ports infiniband switch.
I have receiving plenty of messages saying the /var is ending.
How can increase the free space in this partition from CLI command line?
Thanks in advance.
Hello,
There is no way to increase the free space.
You can try to delete some files using the below:
sftp admin@
The password is the admin user password
If the connection is refused, try again until will succeed
After successfully login via sftp, navigate to the below directories and delete files.
List of directories:
/var/opt/tms/images/
/var/opt/tms/sysdumps/
/var/opt/tms/snapshots/
/var/opt/tms/temp_images/
sftp> cd /var/opt/tms/images/
sftp > ls
sftp > rm *
sftp> cd /var/opt/tms/sysdumps/
sftp > ls
sftp > rm *
sftp> cd /var/opt/tms/snapshots/
sftp > ls
sftp > rm *
sftp> cd /var/opt/tms/temp_images/
sftp > ls
sftp > rm *
Sftp> cd /var/log
Sftp > ls -1afhlnrSt
Sftp> rm messages
Thanks marlon1,
I did that you suggested me. Additionally I have removed messages.* and web_error_log.*
Now I have 6% of free space and the annoying message have disappeared.
SW116 > show files system
Statistics for /config filesystem:
Bytes Total 100 MB
Bytes Used 3 MB
Bytes Free 97 MB
Bytes Percent Free 97%
Bytes Available 97 MB
Inodes Total 0
Inodes Used 0
Inodes Free 0
Inodes Percent Free 0%
Statistics for /var filesystem:
Bytes Total 400 MB
Bytes Used 376 MB
Bytes Free 24 MB
Bytes Percent Free 6%
Bytes Available 24 MB
Inodes Total 0
Inodes Used 0
Inodes Free 0
Inodes Percent Free 0%
At the moment the problem seems solved.
Finally I have connected through sftp and I have found a directory /var/home/root/dead.letters plenty of old files (since first day installation). Removing them I have reached 37% of free space at the moment.
No dead.letter Max age parameter was defined:
SW116 [standalone: unknown] (config) # show email
…
Dead letter settings:
Save dead.letter files: yes
Dead letter max age: (none)
…
I have defined at the moment 1year dead.letter longevity.
SW116 [standalone: unknown] (config) # email dead-letter cleanup max-age 365d
That’s the trick finally
Thanks again marlon1 to show me howto remove non-necessary files.