Operating System - HP-UX
1821994 Members
3545 Online
109638 Solutions
New Discussion юеВ

Re: Coping files EMC NAS Storage to HPUX misses several files

 

Coping files EMC NAS Storage to HPUX misses several files

Hi.

I experienced some unexplainable problem at my last migration job (old NAS Storage/NAS1 to new one/NAS2)
(NAS1 : EMC CFS-14-SYMM8830
NAS2 : EMC NS702
Server : HP rp5470/hpux11i)

work schedule was like below
0. NAS1 already mounted and in use
1. shutdown all of application in server
2. mount NAS2
3. coping files NAS1 to NAS2 with cp command and -R option
(estimated several hundred sub-directories and several thousand files)
4. problem : some files was not copied
(without any pattern and error message)

have anyone ever experienced same problem?

thanks
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: Coping files EMC NAS Storage to HPUX misses several files

"cp command and -R option" is not a complete
description of what you did. What was the
actual command? ("cp * [...]" will miss the
".xxx" files, for example.)

Is there any pattern to the missing files or
their names? Any error messages while
copying?

You did this as user "root", right?

I can't guarantee that "cp -R" would not
work, but if I were doing this, I'd almost
certainly use something like a "tar" pipeline
instead of "cp -R".

Re: Coping files EMC NAS Storage to HPUX misses several files

Command was

nohup cp - rp /PN/IMG/00/00/16/ /NT/IMG/00/00/
nohup cp -rp /PN/IMG/00/00/17/41 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/42 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/43 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/44 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/45 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/46 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/47 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/48 /NT/IMG/00/00/17/
nohup cp -rp /PN/IMG/00/00/17/49 /NT/IMG/00/00/17/

Re: Coping files EMC NAS Storage to HPUX misses several files

I did root user and there is no error message or pattern with problem