- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What is the best command to copy file from one...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 03:15 PM
тАО05-12-2010 03:15 PM
What is the best command to copy file from one system to the other
I'd like to move HP server from EMC DMX to EMC NS40. When I move file from DMX to NS40, I'd like to us cpio command. What is the right syntax to use it? if it is not good command, what it the best command to use it?
please let me know exact syntax for me.
Thank you in advance,
Jeong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 03:18 PM
тАО05-12-2010 03:18 PM
Re: What is the best command to copy file from one system to the other
If the arrays can be connected, perhaps to the same fiber network, you should use EMC commands.
If that won't work you should investigate the symclone command that ships with EMC software.
The syntax depends on the relationship between the disks, which hopefully someone has set up on the target server.
You could if both systems present disk to the system at the same time be as simple as cp -rn
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 03:22 PM
тАО05-12-2010 03:22 PM
Re: What is the best command to copy file from one system to the other
Unfortunately, We can connect two EMC boxes.
Can you provide me other solution?
Thank you for your input.
Jeong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 06:43 PM
тАО05-12-2010 06:43 PM
Re: What is the best command to copy file from one system to the other
cpio,rsync and dd.
If this is a data disk and your application is running rsync is the best I suppose.
If apps is not running dd and cpio is good.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 07:56 PM
тАО05-12-2010 07:56 PM
Re: What is the best command to copy file from one system to the other
Or
use Vgextend with the new disk of new storage then mirror and finally vgreduce.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 11:44 PM
тАО05-12-2010 11:44 PM
Re: What is the best command to copy file from one system to the other
Mirroring & unmirroring is a gud option , But there are some limits.
When you do mirroring the disks can get very busy & which impacts server performance. Also there is no option for roll back.
I suggest to go for any hostbase data migration tool.
You can go for softek.
Gudluck
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 03:13 AM
тАО05-13-2010 03:13 AM
Re: What is the best command to copy file from one system to the other
cpio is a good choice as long as you will not be copying files larger than 2GB. The man page warns you about this limitation. The commands would be (after creating an lvol on the new disk array):
# mkdir /newmount
# mount /dev/vgnew/lvolX /newmount
# cd /oldmount
# find . | cpio -pudlmv /newmount
The verify the counts:
find /oldmount -type f | wc -l
find /newmount -type f | wc -l
find /oldmount -type d | wc -l
find /newmount -type d | wc -l
The sizes (reported by du and bdf) for the source and destination will usually not match due to sparse file and directory optimization.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 03:35 AM
тАО05-13-2010 03:35 AM
Re: What is the best command to copy file from one system to the other
(cd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 03:51 AM
тАО05-13-2010 03:51 AM
Re: What is the best command to copy file from one system to the other
> R.O. : But if you have HP-UX 11.31 i think fbackup is no longer supported.
That's not true. The 'fbackup'/'frecover' utilities are deprecated in 11.31 but are still available.
Another alternative to everything mentioned thus far is to use 'pax'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 03:54 AM
тАО05-13-2010 03:54 AM
Re: What is the best command to copy file from one system to the other
It's good to know it !!!
Regards,