Bug 214495 - [nfs] random birthtime flaps between -1 and 582.-2129133845024
Summary: [nfs] random birthtime flaps between -1 and 582.-2129133845024
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.3-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-fs (Nobody)
Depends on:
Reported: 2016-11-14 07:19 UTC by Robert Schulze
Modified: 2019-08-25 16:03 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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?