Page MenuHomePhabricator

track growth of project and home directories
Closed, ResolvedPublic

Description

We have been filling storage on the tools NFS project share as of late, and it has grown 3% in less than 48 hours. We really need some historical perspective to track this over time.

Event Timeline

chasemp raised the priority of this task from to Medium.
chasemp updated the task description. (Show Details)
chasemp added a project: Cloud-Services.

Historical data is available in graphite.wm.o as servers.labstore1001.diskspace._srv_project_tools.byte_used:

pasted_file (308×586 px, 25 KB)

The current growth rate is ~200GB/24h:

pasted_file (308×586 px, 19 KB)

However, we probably want to know this on a user level. Could we enable quota on the NFS server to track per-user disk usage (but without actually enforcing quotas immediately)?

Change 335855 had a related patch set uploaded (by Madhuvishy):
labstore: Diamond collector to track tools home and project dir sizes

https://gerrit.wikimedia.org/r/335855

Change 335855 had a related patch set uploaded (by Madhuvishy):
labstore: Diamond collector to track directory sizes

https://gerrit.wikimedia.org/r/335855

Change 335855 merged by Madhuvishy:
labstore: Diamond collector to track directory sizes

https://gerrit.wikimedia.org/r/335855

Graphite now logs tools and misc NFS share directory sizes at labstore.labstore-secondary.DirectorySizeCollector on prod. Grafana dashboard based on this data - https://grafana.wikimedia.org/dashboard/db/labstore-nfs-directory-sizes

madhuvishy claimed this task.

The dashboard is updating fine the last 3 days - closing this.