Bug 214495

Summary: [nfs] random birthtime flaps between -1 and 582.-2129133845024
Product: Base System Reporter: Robert Schulze <rs>
Component: miscAssignee: freebsd-fs mailing list <fs>
Status: New ---    
Severity: Affects Only Me CC: sean
Priority: ---    
Version: 10.3-RELEASE   
Hardware: Any   
OS: Any   

Description Robert Schulze 2016-11-14 07:19:38 UTC
Running stat(1) on a shared NFS directory sometimes gives st_birthtime=582. Subsequent calls to stat(1) on the same directory will give st_birthtime=-1.

After performing a ktrace on "mount -a", I noticed this value too:

   521 mount    0.002914 CALL  lstat(0x7fffffffe660,0x7fffffffd998)
   521 mount    0.002916 NAMI  "/home/foo/bar/baz"
   521 mount    0.003277 STRU  struct stat {dev=973537125, ino=4, mode=040510, nlink=3, uid=80, gid=14140, rdev=53587, atime=1444828750.030469757, stime=1445418141.656773130, ctime=1445418141.656773130, birthtime=582.-2129133845024, size=3, blksize=4096, blocks=1, flags=0x0 }

Is that correct behaviour?