• February 26, 2025, 07:08:43 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DNS 323 timestamps off by one second  (Read 4210 times)

Dynamite Monkey

  • Level 1 Member
  • *
  • Posts: 9
DNS 323 timestamps off by one second
« on: November 27, 2010, 07:12:01 PM »

Hi all,

I have a DNS-323 running firmware 1.08.  It's configured with two Seagate 1.5TB drives in RAID 1.

I'm running an online file sync utility that monitors for changes and pushes out the latest version of a file to/from any of four systems including the DNS-323. 

It works excellently other than occasionally, some files that get copied to the DNS-323 have the timestamp off by one second.  This shows up as an exception because the sync utility detects this file as different than the original copy.  Out of about 22,000 files, over 500 had this problem and it is ongoing.  Out of about 200 files that were updated earlier today, 4 of them had this issue.   

I have found other instances of this issue on this forum:  http://forums.dlink.com/index.php?topic=3127.msg16926#msg16926

Any ideas?  I'm guessing this is some rounding issue or NTFS <--> EXT3 issue but would appreciate any insight.  I did reformat the drives after moving to 1.08.

Thanks in advance...
Logged

Biscotte

  • Level 2 Member
  • **
  • Posts: 41
Re: DNS 323 timestamps off by one second
« Reply #1 on: November 28, 2010, 04:45:36 AM »

Not a solution but an observation

I had this problem.  Much of it relates to the dud time setting on the DNS323.
I have the same thing.  I do a fresh copy across from win machine to dns disc, then compare with a compare programme.  That tells me i need to backup as they are different.  Clearly they are not.   

However I read somewhere in my research that linux only time stamps to within two seconds of correct time whereas windoze is well under a second.

Dunno what sync facility you are using. 
Programmes like vice versa allow for these small time changes - recognises them as the self same file, and there is even a button for one hour difference (allows for different machines timestamping same data - on different summer time clock change)

Biscotte
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: DNS 323 timestamps off by one second
« Reply #2 on: November 28, 2010, 11:59:21 AM »

This is because NTFS timestamps have a greater granularity than EXT file systems. In robocopy for example, you need to specify the /FFT (assume FAT File System - allow for 2 second or less difference) switch to stop this problem. FAT also has a less accurate timestamp than NTFS.

FAT - 2 seconds
exFAT - 10 milliseconds
NTFS - 100 nanoseconds
EXT2/3 - 1 second
« Last Edit: December 02, 2010, 02:50:20 PM by jamieburchell »
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

scaramanga

  • Level 2 Member
  • **
  • Posts: 99
Re: DNS 323 timestamps off by one second
« Reply #3 on: December 04, 2010, 01:15:24 PM »

I just started experimenting with backing-up a PC (NTFS) to the DNS-323 (ext3) using rsync. This issue is addressed by rsync's --modify-window command-line switch.

This FAQ has the details along with some other cross-FS problems, such as UTF8 file names: http://samba.anu.edu.au/rsync/FAQ.html
...and there's the rsync man page: http://samba.anu.edu.au/ftp/rsync/rsync.html
Logged
DNS-323 HW Rev. C1 FW 1.08 fun_plug 0.5
2 x Western Digital WD10EARS-00Y5B1 in Standard mode
(LLC changed to 5 minutes. Partitions aligned to 4K boundary)