Page 1 of 1

Incorrect Modify/Change time stamp after upgrade to 2.0

PostPosted: Sat Mar 06, 2021 11:22 pm
by evereasy
The Modify/Change time stamp is incorrect after upgrade to OpenZFS on OS X 2.0 on macOS Big Sur 11.2.2. It works fine on regular APFS volume. This only happens on ZFS volume. "touch" command can update Modify time stamp. Could you share with me your suggestion?

Tests: Create time.txt using vi on both ZFS volume and APFS volume.

Time Zone: GMT+8

on ZFS volume
Code: Select all
# stat -x time.txt
  File: "time.txt"
  Size: 0            FileType: Regular File
  Mode: (0644/-rw-r--r--)         Uid: (    0/    root)  Gid: (   20/   staff)
Device: 52,24   Inode: 387    Links: 1
Access: Sun Mar  7 15:00:32 2021
Modify: Thu Jan  1 08:00:00 1970
Change: Thu Jan  1 08:00:00 1970


on APFS volume
Code: Select all
# stat -x time.txt
  File: "time.txt"
  Size: 0            FileType: Regular File
  Mode: (0644/-rw-r--r--)         Uid: (  502/      ai)  Gid: (    0/   wheel)
Device: 1,7   Inode: 29090330    Links: 1
Access: Sun Mar  7 14:59:52 2021
Modify: Sun Mar  7 14:59:52 2021
Change: Sun Mar  7 14:59:52 2021

Re: Incorrect Modify/Change time stamp after upgrade to 2.0

PostPosted: Mon Mar 08, 2021 8:21 am
by jeffc
It works fine for me with OpenZFS on OS X 2.0 on macOS Big Sur 11.2.1 (and it's hard to believe that 11.2.2 would make a difference). I never upgraded from an earlier version of ZFS, if that'd make a difference.

Re: Incorrect Modify/Change time stamp after upgrade to 2.0

PostPosted: Fri Mar 12, 2021 2:42 am
by lundman
Might be related to the date problem mentioned in the project page. I'll research when I find time

Re: Incorrect Modify/Change time stamp after upgrade to 2.0

PostPosted: Fri Mar 12, 2021 9:33 am
by evereasy
Thank you.

Please feel free to let me know if any additional tests or information is needed.

Re: Incorrect Modify/Change time stamp after upgrade to 2.0

PostPosted: Sun Mar 14, 2021 5:09 pm
by lundman
OK, I am hoping the date/time thing has been resolved with today's build.

Re: Incorrect Modify/Change time stamp after upgrade to 2.0

PostPosted: Thu Mar 18, 2021 7:41 am
by evereasy
Thank you so much. The pi date (2021.03.14) version of 2.0 fixed this time stamp problem.

viewtopic.php?f=20&t=3478#p10876