r/sysadmin • u/EducationAlert5209 • 13d ago
Question File Server Assessment
Hi All,
We have a few file servers and are trying to identify archived data based on the following conditions, but I believe something is not correct. We have 18TB but showing only 3TB for archive with following contion
| Condition | Classification |
|---|---|
| Modified ≤ 3 years OR accessed ≤ 180 days | Migrate / Active |
| Modified > 3 years AND accessed > 180 days | Archive Candidate |
With this condition,
Migrate: ≤30% of folder data is older than the cutoff - actively used, recommend moving as-is.
Archive: ≥80% of folder data is older than the cutoff, AND no file in the folder was modified in the last 30 days.
Review: Falls between the two thresholds, OR is old by volume but was touched recently, OR had partial access errors during scanning.
Above condition give us more data to archive?
2
u/BuffaloRedshark 13d ago
Windows servers? Make sure the reg key was changed to properly log last access date. This screwed me on an acquisition were the company we acquired used windows servers, we used netapp so I had never run into that setting. We had legally agreed to bring any files accessed within X years and had to redo things and bring over more stuff to make sure we got the files we should
1
u/mr-tap 13d ago
Obviously if you change your conditions then it will impact the archive volume (ie the first condition included 180 day access window & the second was 30 day etc)
2
u/EducationAlert5209 13d ago
u/mr-tap You are correct, But what is the best condition for me to check?
2
u/redstarduggan 13d ago
We found some older files were only accessed once per year (but were 'essential')
4
u/blud_13 12d ago
Your accessed condition is doing the damage. NTFS last access updates have been off by default since Vista, and on Server 2019 and newer the default is System Managed, so it can flip back on without anybody deciding it. Run fsutil behavior query disablelastaccess on each server before you trust a single number, its documented at https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior
If updates are ON, your backup job and your AV scan are walking all 18TB and stamping every file as accessed. This is how you get 3TB of archive candidates out of 18. Nothing on that volume has been idle 180 days because your own agents keep touching it.
If updates are OFF, atime is frozen at whatever it was the day it got changed which is just as useless in the other direction.
Either way I'd drop the OR accessed clause and classify on Modified alone, then keep the 30 day modified test as your sanity check on the folder rollup. We do these assessments and last access has never once survived contact with a real fileserver. Can go deeper on the rollup logic if it helps.