How do I view the birth/creation date of a file on an NFS share?
by DoorDaesh from LinuxQuestions.org on (#6F6J7)
I know the creation date metadata exists because I can view it from the Synology web portal, but I can't access it from my NFS client.
$ cd
$ touch localfile
$ stat localfile
Code: File: localfile
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 0,26 Inode: 3343978 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ doordaesh) Gid: ( 1000/ doordaesh)
Access: 2023-09-30 00:01:10.382525322 -0500
Modify: 2023-09-30 00:01:10.382525322 -0500
Change: 2023-09-30 00:01:10.382525322 -0500
Birth: 2023-09-30 00:01:10.382525322 -0500$ cd /run/nfs/synology_share
$ touch remotefile
$ stat remotefile
Code:
File: remotefile
Size: 0 Blocks: 0 IO Block: 131072 regular empty file
Device: 0,54 Inode: 52071 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 1000/ doordaesh) Gid: ( 984/ users)
Access: 2023-09-30 00:02:54.746793338 -0500
Modify: 2023-09-30 00:02:54.746793338 -0500
Change: 2023-09-30 00:02:54.746793338 -0500
Birth: -These are my nfs4 mount options in /etc/fstab:
Code:noauto,sec=krb5p,vers=4.1
$ cd
$ touch localfile
$ stat localfile
Code: File: localfile
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 0,26 Inode: 3343978 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ doordaesh) Gid: ( 1000/ doordaesh)
Access: 2023-09-30 00:01:10.382525322 -0500
Modify: 2023-09-30 00:01:10.382525322 -0500
Change: 2023-09-30 00:01:10.382525322 -0500
Birth: 2023-09-30 00:01:10.382525322 -0500$ cd /run/nfs/synology_share
$ touch remotefile
$ stat remotefile
Code:
File: remotefile
Size: 0 Blocks: 0 IO Block: 131072 regular empty file
Device: 0,54 Inode: 52071 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 1000/ doordaesh) Gid: ( 984/ users)
Access: 2023-09-30 00:02:54.746793338 -0500
Modify: 2023-09-30 00:02:54.746793338 -0500
Change: 2023-09-30 00:02:54.746793338 -0500
Birth: -These are my nfs4 mount options in /etc/fstab:
Code:noauto,sec=krb5p,vers=4.1