LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-28-2006, 10:56 PM   #1
amfony
LQ Newbie
 
Registered: May 2006
Posts: 16

Rep: Reputation: 0
xCopying from NTFS XP to Linux Based storage - problem = dates discrimination


Hi,

I know this is a bad place to ask about a third party purchased product. But i know its OS is *nix based, whilst i dont know what the FS is.

I am trying to use one of these Tera-byte NAS (Maxtor) as a simple dump-bucket of a backup which i want to re-sync everyday with date changes. It works, but it wont discriminate with dates. Therefore im doing full backups every night - which are still running during the next morning.

Is this a problem with ALL NTFS to *nix FileSystems? I have googled alot and i read about time values - either 2 seconds or 0.1. I dont get it.

Could anyone let me know if this is a known problem?

thanks alot.
 
Old 11-29-2006, 12:49 AM   #2
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
If your NAS supports rsync you could use that. It will do incremental backups. Here is a link of how to do this in Windows.

http://www.gaztronics.net/rsync.php
 
Old 11-29-2006, 05:11 AM   #3
amfony
LQ Newbie
 
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
I dont think it does unfortunatley, also that link is broken. Thanks anyway mate.
 
Old 11-29-2006, 04:49 PM   #4
amfony
LQ Newbie
 
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Hey everyone,

Just to resolve my problem.

My reading lead me to the fact that NTFS uses 100 nansecond time resolution for time stamping, and FAT uses 2 second resolution. Therefore if your file was modified in NTFS at 07:00:00.23 and copied to a FAT FS the timestamp on the destinatino would read 07:00:02.00.

Which successfully renders date discrimination useless when trying to re-sync from ntfs to fat FS's. Work around is to either allow for a tolerance in the copying program for seconds IE if destination timestamp > 2sec diff then copy. (which i cant figure out how to do) or throw out your timestamps and force a re-set to an arbitrary time with .00 seconds, and this will now work as perfect, whilst at the same time NEGATING THE WHOLE REASON WHY YOU WANTED DATE DISCRIMINATION.

Sucks to be me, but thanks for the help anyways.
 
Old 11-30-2006, 04:02 PM   #5
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Quote:
Originally Posted by amfony
Hey everyone,

Just to resolve my problem.

My reading lead me to the fact that NTFS uses 100 nansecond time resolution for time stamping, and FAT uses 2 second resolution. Therefore if your file was modified in NTFS at 07:00:00.23 and copied to a FAT FS the timestamp on the destinatino would read 07:00:02.00.

Which successfully renders date discrimination useless when trying to re-sync from ntfs to fat FS's. Work around is to either allow for a tolerance in the copying program for seconds IE if destination timestamp > 2sec diff then copy. (which i cant figure out how to do)
Adding --modify-window=1 as option to rsync worked for me to circumvent the difference in timestamp.

Cheers, Leon.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux cluster suite shared storage problem helmsley Linux - Software 0 06-02-2006 01:23 AM
Linux based gateway for time-based wireless service. TotalDefiance Linux - Software 0 10-03-2005 06:06 PM
Unfair discrimination 10.1 Official > 10.1 Community???? ron_hickson Mandriva 3 06-05-2005 12:41 PM
Longevity of CompactFlash-based storage? thegnu Linux - Hardware 1 02-03-2005 11:11 AM
External USB Mass storage ALI chipset based Jimbo99 Linux - Software 1 04-21-2004 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration