High Mount Space per Chassis and Blade for Cisco Nexus

Vendor

Cisco

Description

Alert when Disk usage is high

Remediation Steps

Review the contents of the mount points to see what can be deleted or moved and attempt to identify whether there's a specific cause for this.

1. Run the "show system internal flash" NX-OS command to display the file system utilization (the output is similar to df -hT included in the memory alerts log)

Note: When reviewing this output, the value of "none" in the Filesystem column means that it is a tmpfs type, so the files exist in RAM only.

3. Determine what types of files are filling the partition and where they came from (cores/debugs/etc).

4. Delete the files to reduce disk utilization, but you should try to determine what type of files are taking up the space and what process left them in tmpfs.

5. Use the next commands to further troubleshoot the issue:

a. "show system internal dir " command lists all the files and sizes for the specified path (hidden command)

b. "filesys delete " command deletes a specific file (hidden command)

Note: Use caution when using this command. You cannot recover a deleted file.

How does this work?

This script logs into the Cisco Nexus switch using SSH and uses the "show system internal flash" command to collect information about the device's file systems.

Why is this important?

This script logs into the Cisco Nexus switch using SSH and uses the "show system internal flash" command to collect information about the device's file systems.

Without Indeni how would you find this?

It is not possible to poll this data through SNMP or Syslog.


View Source Code