- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tricky question (cp and cpio)
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
08-12-2004 04:02 PM
08-12-2004 04:02 PM
I would like to place a few question about cp and cpio. As i know this to commands are used to copy the files from point a to point b.
Now i have a scenario, i have a HP L-class and i would need to copy one mount point to another.
a) which commands is the best to be used to in order to get about 30G copied from one mount point to another?
b) how long would the process roughly take?
c) would there be any implication (i.e. there would be files missing during the process, how can i check it on the fly?)
Regards,
Calvin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 04:46 PM
08-12-2004 04:46 PM
SolutionJust do it. 30 GB s not enough to worry about.
At a VERY conservative 10mb/sec that is less than 1 hour.
That would seem to be less time than to ask the question here and wait for answer. An answer which will start with 'it depends' (on how many files, average size, adapter types...)
CPIO is generaly expected to perform best
Hey, How about trying both and report back here for our learning/entertainment!
Now if you need to do this ins a restricted time window with a critical application down, then most certain first try both!
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 04:56 PM
08-12-2004 04:56 PM
Re: Tricky question (cp and cpio)
a) cpio since it's faster than cp
b) propable an hour
c) don't open any files, you can check the open files using "lsof" tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:57 PM
08-12-2004 05:57 PM
Re: Tricky question (cp and cpio)
The server i am going to perform the task is a critical server and the tricky thing to do is that the files are regularly updated.
A down time would mean an out of sync would happen.
but neverless i would still go on "Gung-HO" style to get the job do.
wish me all the best and thank you for the advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 06:05 PM
08-12-2004 06:05 PM
Re: Tricky question (cp and cpio)
the question of time...about 1 hour.
but i am having all of the disk in the same disk storage.
would this environment take a longer time to copy the files over?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 07:53 PM
08-12-2004 07:53 PM
Re: Tricky question (cp and cpio)
Since you are saying that data is 30GB(quite huge data), yes it would take about a hour time