ONTAP Discussions
ONTAP Discussions
Hi,
I've quite a few FAS systems, mostly running HDD aggregates & some on SSD aggregates. These systems have been in use for ages & likely to have orphan or less used data on the volumes.
I'd like to find a way to scan volume data & identify files/directories that are infrequently used or cold? Is there a tool/script to do this on Netapp FAS systems?
I understand Fabric pool has a feature " Inactive data reporting" that can be leveraged however I DON'T use fabric pools.
I do have Netapp OCI installed. Can it be used for above use case? Is yes, please advise how?
Additionally, can Netapp's XCP tool be used for a such a task? I am also open to explore 3rd party tools - preferably open source.
I'd like to hear your views on how to go about achieving this task?
Regards,
Ashwin
Solved! See The Solution
Hello,
"Hopefully it reports detail info about File name, Size, Access & Moodified tim. I'll try it out."
Nope, it is internal Ontap feature which only dipslays how much data is inactive on a Netapp volume.
Please bear in mind that FabricPool operates at the block level from the ONTAP point of view, but the effective results enable you to tier entire files as well as blocks within a larger file.
Please have a look on Fabric Pool TRs
https://www.netapp.com/us/media/tr-4598.pdf
https://www.netapp.com/us/media/tr-4695.pdf
A script something like what is described in this blog post could potentially fit the bill - it'll just run recursively on a given share/directory and give you the list of files that fit your definition of "cold/archive/infrequent" and also the total size of all of the files that fit the criteria.
As far as I know, inactive data reporting will only identify the total amount of data that is considered inactive, not necessarily the files themselves.
Appreciate your response Donny. I'll try out web link.
I am sure others would have dealth with a similar situation. Would like to hear views/idea to achieve it.
Maybe get some reference about an open source tool that I could use 🙂
Regards,
Ashwin
Thank you Sergey.
I wasn't aware of "IDR can be enabled on non-FabricPool aggregates using the ONTAP CLI. This includes HDD aggregates starting in ONTAP 9.6.".
Hopefully it reports detail info about File name, Size, Access & Moodified tim. I'll try it out.
Does XCP provide a similar funtion?
Regards,
Ashwin
Hello,
"Hopefully it reports detail info about File name, Size, Access & Moodified tim. I'll try it out."
Nope, it is internal Ontap feature which only dipslays how much data is inactive on a Netapp volume.
Please bear in mind that FabricPool operates at the block level from the ONTAP point of view, but the effective results enable you to tier entire files as well as blocks within a larger file.
Please have a look on Fabric Pool TRs
https://www.netapp.com/us/media/tr-4598.pdf
https://www.netapp.com/us/media/tr-4695.pdf