Okay, I am trying to copy data from a DOT-7 to a DOT-GX.
I start off with:
mount filer7:/vol/src /src mount filerg:/ /gx
I then do (from RHEL4U2):
cp -a /src/dir1 /gx
I then do:
rsyn -avH --delete /src/dir1/ /gx/dir1/
There is nothing changing on the source, yet it transfers files anyway.
Anyone have a clue as to why?
The destination get some files marked with current time, yet others are marked with an older time.
Hi tmac,
On 5/23/07, tmac tmacmd@gmail.com wrote:
Okay, I am trying to copy data from a DOT-7 to a DOT-GX.
...
I then do (from RHEL4U2):
cp -a /src/dir1 /gx
I then do:
rsyn -avH --delete /src/dir1/ /gx/dir1/
There is nothing changing on the source, yet it transfers files anyway.
Anyone have a clue as to why?
cp doesnt take all metadata. Try tar/cpio!
# cd /source # tar cf - * | ( cd /target ; tar xf - )
Is it transferring all the files again? Just a few? How does df output change?
Trailing slashes on the end of the source and destination are significant. You may be inadvertently creating something like /gx/dir1/dir1/. I know it's happened to me more than once.
For what it's worth, I've been moving a lot of data between filers recently using only ndmpcopy and rsync. I start off with a level 0 ndmpcopy between the filers followed by 'rsync -vahHEP --stats --delete-before src dest/' (which results in dest/src) until I'm ready for the final cutover.
Some of those options for rsync (-h, human-readable, and -E, preserve executability) are newer than what's in the rsync with RHEL4, so I've compiled my own rsync v2.6.9. You could probably just drop those options though. -- /* wes hardin */ UNIX System Admin Dallas Semiconductor/Maxim Integrated Products
tmac wrote:
Okay, I am trying to copy data from a DOT-7 to a DOT-GX.
I start off with:
mount filer7:/vol/src /src mount filerg:/ /gx
I then do (from RHEL4U2):
cp -a /src/dir1 /gx
I then do:
rsyn -avH --delete /src/dir1/ /gx/dir1/
There is nothing changing on the source, yet it transfers files anyway.
Anyone have a clue as to why?
The destination get some files marked with current time, yet others are marked with an older time.
-- --tmac
RedHat Certified Engineer #804006984323821
Principal Consultant, RABA Technologies 240-373-3926 (office) 301-688-4705 (Lab) 214-279-3926 (eFAX)