Unsolved
This post is more than 5 years old
5 Posts
0
2378
September 27th, 2009 22:00
rsync and CUA
Hi,
I have a unix host which has mounted an NFS share created from the CUA. It seems to write the Directories with the same "modified/create" date, but the files do not keep their origional create timestamp. They seem to become modified to the current date and time once written the CUA.
Has anyone seen this and is there a way around this..?
but the-a (or -t) does not work, it puts the current time on the files. If we copy files using rsync to other filesystems it works fine and preserves modification times, but specifically to the Centera mount it does not work. Directories are ok, but files are incorrect. See example below.
eg 1. Copy to Centera mount /archive2/test
api5prod@adsemtas01:/r1/afs_area/archive/api5_archive7/archive/api5nzt (20)
==> rsync -av 200603 /archive2/test/ -P
building file list ...
3 files to consider
200603/
200603/api5nzt.F_BASE_RL_AR_M:P20060301000000.gz
313829671 100% 5.37MB/s 0:00:55 (xfer#1, to-check=1/3)
200603/api5nzt.F_BASE_RL_IP_M:P20060301000000.gz
29807486 100% 4.25MB/s 0:00:06 (xfer#2, to-check=0/3)
1. Results - Incorrect (note the directory create (200603) is correct)
[adsemtas01]archive2/test >find . -ls
1815604 0 drwxrwxr-x 3 api5prod api5prod 1024 Sep 28 14:42 .
1815612 0 drwxrwsr-x 2 api5prod api5prod 1024 Mar 30 2008 ./200603
1815613 306475 -rw-rw-r-- 1 api5prod api5prod 313829671
Sep 28 14:43 ./200603/api5nzt.F_BASE_RL_AR_M:P20060301000000.gz
1815614 29109 -rw-rw-r-- 1 api5prod api5prod 29807486
Sep 28 14:43 ./200603/api5nzt.F_BASE_RL_IP_M:P20060301000000.gz
e.g 2. Copy to SAN /r1/afs_area/archive/test
==> rsync -av 200603 /r1/afs_area/archive/test/ -P
building file list ...
3 files to consider
200603/
200603/api5nzt.F_BASE_RL_AR_M:P20060301000000.gz
313829671 100% 12.81MB/s 0:00:23 (xfer#1, to-check=1/3)
200603/api5nzt.F_BASE_RL_IP_M:P20060301000000.gz
29807486 100% 10.80MB/s 0:00:02 (xfer#2, to-check=0/3)
sent 343679373 bytes received 70 bytes 12969035.58 bytes/sec
total size is 343637157 speedup is 1.00
2.Results - Correct
==> find . -ls
68717 0 drwxrwsr-x 3 api5prod api5prod 96 Sep 28 15:04 .
68720 1 drwxrwsr-x 2 api5prod api5prod 1024 Mar 30 2008 ./200603
68721 306475 -rw-rw-r-- 1 api5prod api5prod 313829671
Mar 30 2008 ./200603/api5nzt.F_BASE_RL_AR_M:P20060301000000.gz
68722 29109 -rw-rw-r-- 1 api5prod api5prod 29807486
Mar 30 2008 ./200603/api5nzt.F_BASE_RL_IP_M:P20060301000000.gz
Thanks
Mick
mckeown_paul
409 Posts
0
September 29th, 2009 00:00
Mick
this forum is for Centera API/XAM developers so CUA questions are outside the scope of this forum, so you may not get an answer here as well.
I would suggest you talk to your local EMC SE or log a fault call with EMC Support if you think you have discovered a CUA issue.