Can we cleanup data sub directory
We are trying to monitor an IBM XIV ( works at this moment )
The box has +- 500 volumes ( fysical and snapshots )
we use snapshots for backups and/or acceptance environments ) ( we create and destroy a lot of snapshots )
after 3 months of monitoring: we have +- 24000 RRD files ????????????
IS THIS NORMAL AND HOW CAN WE CLEANUP THESE ( UNUSED ) RRD FILES ?
The box has +- 500 volumes ( fysical and snapshots )
we use snapshots for backups and/or acceptance environments ) ( we create and destroy a lot of snapshots )
after 3 months of monitoring: we have +- 24000 RRD files ????????????
IS THIS NORMAL AND HOW CAN WE CLEANUP THESE ( UNUSED ) RRD FILES ?
Comments
-
Hi
you can delete unused ones, the question is how to do it safe to do not delete production volumes.
It is about data/<storage>/VOLUME/*rrd file.
You can use something like that but leave there some days to do not delete everything in case it stops updating even prod volumes:
find data/<storage>/VOLUME/ -name \*rrd -mtime +10 -exec rm -f {} \;
you can further check in data/<storage>/VOLUME/volumes.cfg if removed file exist there. if so then do not remove it as it is actually configured.
Generall problem is that in this way you might delete even normal volumes which has been removed what might affect historical graphs.
The only workaround would be ignoring snapshot volumes at all, but it is allso wrong when there is any traffic on them which sould be included in volume graphs.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 42 XORMON NG
- 25 XORMON
- 150 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle