How to get application associated with SMB volume
search cancel

How to get application associated with SMB volume

book

Article ID: 400236

calendar_today

Updated On:

Products

VMware Tanzu Platform

Issue/Introduction

Several SMB volumes on Diego Cells are reporting high consumption. But what is the app, org and space associated with these volume.

Resolution

Retrieve the mount point for SMB volume on the Diego Cell.

The last 24 digits contain the Container ID/Instance ID, aaaaaaaa-bbbb-cccc-dddd-eeee in this example

# df -h | grep smb
//<SMB server>   12T   11T  1.2T  90% /var/vcap/data/volumes/smb/########-####-####-####-############-################################_aaaaaaaa-bbbb-cccc-dddd-eeee

 

Use cfdot on the Diego cell to retrieve details of the application, org and space while filtering on the Container ID/Instance ID.

# cfdot actual-lrps | jq '.metric_tags.process_instance_id, .metric_tags.app_name, .metric_tags.organization_name, .metric_tags.space_name' | grep -A3 aaaaaaaa-bbbb-cccc-dddd-eeee
"aaaaaaaa-bbbb-cccc-dddd-eeee"
"smb-app"
"smb-org"
"smb-space"