#Access/Modified/Changed date time of Files

1 messages · Page 1 of 1 (latest)

orchid coral
#

Do we have any options to generate last access/modified/changed time of files from the NetApp. If yes please advise.

young veldt
#

XCP

obsidian creek
#

On Linux/Unix, you can use stat:

[user@centos ~]$ stat RSTS_10.1_src.zip
  File: ‘RSTS_10.1_src.zip’
  Size: 8703354     Blocks: 17080    IO Block: 65536  regular file
Device: 28h/40d Inode: 2410194923  Links: 1
Access: (0444/-r--r--r--)  Uid: ( 1000/user)   Gid: ( 1000/user)
Access: 2023-09-11 12:50:58.177110000 +0200
Modify: 2019-05-10 01:39:04.673923000 +0200
Change: 2022-08-01 21:21:44.592405000 +0200
 Birth: -
orchid coral
obsidian creek
#

What are you trying to do? Do you need that information for a single file? Or do you intend to filter it somehow to look for old files or something?

orchid coral
#

I am trying to understand for the entire filesystem. We have noticed 10s of filesystems which do not have growth from last year and would like to understand if this can be validated based on the access and modified dates to speak with the share owner and reclaim it . Seems they aren’t sure if it’s in use and wanted us to validate

obsidian creek
#

I don't think you can do that on a per-file granularity for the whole volume. Filesystem Analytics can show you how much data was not accessed recently, or you could do something similar to stat above on a single file from within the CLI, but I am not aware of anything that would give you a report like you want.
The closest thing I can think of is doing a find /mnt/foo -atime +30 or something, to find files that have not been accessed in the last 30 days

vivid marlin
#

Hello, if you know a way to list shares or folders not used since one or two years, with filesystem analytics, i'm in. Or the top 10 of shares "not used since XX months " 😂

young veldt
#

again...this is something XCP (the file analytics part) will excell at. Run off-box. Scan the export and get the details.