Incorrect Modify/Change time stamp after upgrade to 2.0

All your general support questions for OpenZFS on OS X.

Incorrect Modify/Change time stamp after upgrade to 2.0

Postby evereasy » Sat Mar 06, 2021 11:22 pm

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
evereasy
 
Posts: 30
Joined: Sat Feb 27, 2021 6:38 am

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

Postby jeffc » Mon Mar 08, 2021 8:21 am

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.
jeffc
 
Posts: 13
Joined: Wed Jan 13, 2021 5:35 pm

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

Postby lundman » Fri Mar 12, 2021 2:42 am

Might be related to the date problem mentioned in the project page. I'll research when I find time
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

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

Postby evereasy » Fri Mar 12, 2021 9:33 am

Thank you.

Please feel free to let me know if any additional tests or information is needed.
evereasy
 
Posts: 30
Joined: Sat Feb 27, 2021 6:38 am

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

Postby lundman » Sun Mar 14, 2021 5:09 pm

OK, I am hoping the date/time thing has been resolved with today's build.
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

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

Postby evereasy » Thu Mar 18, 2021 7:41 am

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
evereasy
 
Posts: 30
Joined: Sat Feb 27, 2021 6:38 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 24 guests

cron