- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CPIO command
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
11-18-2002 05:37 PM
11-18-2002 05:37 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 05:41 PM
11-18-2002 05:41 PM
Re: CPIO command
rcp -rp systemA:/SOURCE_filesystem systemB:/TARGET_filesystem
NFS would be a waste of time!! And cpio would be a waste of computer cycles, when a straight data copy is needed!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 05:48 PM
11-18-2002 05:48 PM
Re: CPIO command
But...
if you really want to do it. e.g
# cd /mynfsfs
# find . -xdev | cpio -pdumv /mynewdir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:00 PM
11-18-2002 06:00 PM
Re: CPIO command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:01 PM
11-18-2002 06:01 PM
Re: CPIO command
# rcp -rp
If in doubt have a look at the man page on 'rcp' for clarification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 07:33 PM
11-18-2002 07:33 PM
Re: CPIO command
# cd /opt/dirA
# (find . -xdev|cpio -coax)|remsh serverB "cd /opt/dirB;cpio -icdmuxla"
That should do it. I suggest trying it out first with some dummy directory/files to make sure you're comfortable with it before doing the actual cpio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 07:47 PM
11-18-2002 07:47 PM
Re: CPIO command
I like your way and it will not effect my source system...right ? I means my cpio will not delete or modify any files on my source system ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 07:58 PM
11-18-2002 07:58 PM
Re: CPIO command
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 08:17 PM
11-18-2002 08:17 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 09:25 PM
11-18-2002 09:25 PM
Re: CPIO command
N4000 / HP :root/opt>(find . -xdev|cpio -coax)|remsh k460 "cd /opt;cpio -icdmuxla"
cannot unlink current
Cannot create
cannot unlink current
Cannot create
cannot unlink current
Cannot create
1607610 blocks
1607610 blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 09:35 PM
11-18-2002 09:35 PM
Re: CPIO command
Probably those files are used by some processes.
you have to shutdown those processes for to prevent these messages
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 09:45 PM
11-18-2002 09:45 PM
Re: CPIO command
They are in /opt/pred/bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 09:49 PM
11-18-2002 09:49 PM
Re: CPIO command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 11:32 PM
11-18-2002 11:32 PM
Re: CPIO command
cpio only limited to 2 GB size ? I want to cpio 30 GB filesystem to remote machine. Possible ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 11:38 PM
11-18-2002 11:38 PM
Re: CPIO command
GNU cpio lifts the 2Gb/file limit. GNU cpio is - amongst a lot of other sites - available from my ITRC page on https://www.beepz.com/personal/merijn/