- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio vs. rsync
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
Forums
Discussions
Discussions
Discussions
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
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
04-05-2007 02:53 AM
04-05-2007 02:53 AM
cpio vs. rsync
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:04 AM
04-05-2007 03:04 AM
Re: cpio vs. rsync
First, why would you be doing a migration that appears to be disruptive (i.e. copying filesystems?). Would it not be possible to simply use Mirroring?
But if that is your plan, here are the more efficient ways to do it and how it's done:
Using VXDUMP/VXRESTORE:
vxdump 0f - /oldsanfs | (cd /newsanfs;vxrestore rf -)
Using CPIO:
cd /oldsanfs
find ./ -depth -print | cpio -pdvmu /newsanfs
Be warned though, with CPIO -- if youve very large files (in excess of 2GB) you may have issues with CPIO.. so I suggest you stick with vxdump/vxrestore.
Other options you can use: tar and fbackup.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:05 AM
04-05-2007 03:05 AM
Re: cpio vs. rsync
# cd /src_dir; fbackup â I . â f - | (cd /dest_dir; frecover â Xsrf -)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:07 AM
04-05-2007 03:07 AM
Re: cpio vs. rsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:07 AM
04-05-2007 03:07 AM
Re: cpio vs. rsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:07 AM
04-05-2007 03:07 AM
Re: cpio vs. rsync
Another method is to mirror your filesystems onto the "new" SAN. If you can do this, you have the ability to replicate without downtime.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:08 AM
04-05-2007 03:08 AM
Re: cpio vs. rsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:09 AM
04-05-2007 03:09 AM
Re: cpio vs. rsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:22 AM
04-05-2007 03:22 AM
Re: cpio vs. rsync
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:27 AM
04-05-2007 03:27 AM
Re: cpio vs. rsync
if my memory is good, rsync can handle sparse files.
you could also take a look at pvmove(1M), it can help you.
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:29 AM
04-05-2007 03:29 AM