- 论坛徽章:
- 0
|
各位斑竹请进啊....
Hi tangle,
This is what you can try:
# cd /hpdata/raid1
# find . -depth | cpio -pudlmv /raid1
# cd /hpdata/raid2
# find . -depth | cpio -pudlmv /raid2
The above will copy the data from /hpdata/raid1 to /raid1; from /hpdata/raid2 to /raid2. Note the limitation of the \"cpio\" is that files >; 2GB will be skipped. You will have to use \"cp -p\" to copy those large files.
You mentioned the \"cp\" will not work, why? I used \"cp\" many time to copy Oracle data files, it worked every time.
Good luck. |
|