UNIX simply does not provide any API to get this information. Sorry.
NFS4 theoretically defines attribute time_create; but it cannot be exposed through normal UNIX filesystem API. You would need some custom client to fetch it.
I also do not know whether NetApp supports it.
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Edward Rolison
Sent: Tuesday, July 14, 2015 2:11 PM
To: toasters@teaparty.net
Subject: "Created Date" on CIFS shares
I've got a scripting task that needs me to work off the creation time of a file.
I've been caught out before by 'ctime' being change time, rather than 'create time'.
So I thought I was just stuck - however, I've noticed that the Windows 'file creation time' attribute .... actually looks correct. Which has me confused, because I can't see this value from 'Unix side' seemingly at all. I can't tell how Windows knows what the right value is.
Is anyone able to enlighten me? Where's creation time stored, and is there a way to access it from Unix?