HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cp, cpio commands
Operating System - HP-UX
1833124
Members
3548
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-21-2007 05:18 AM
02-21-2007 05:18 AM
Hi,
I have two file systems:
/temp1 and /temp2
size of each file systems is 1 TB,
/temp1 is 80% used and /temp2 is new file system and empty
I need to copy the data from /temp1 (which includes so many sub-directories also) to /temp2
which command should i use...cp or cpio?
please suggest
Thanks
I have two file systems:
/temp1 and /temp2
size of each file systems is 1 TB,
/temp1 is 80% used and /temp2 is new file system and empty
I need to copy the data from /temp1 (which includes so many sub-directories also) to /temp2
which command should i use...cp or cpio?
please suggest
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 05:23 AM
02-21-2007 05:23 AM
Solution
If none of the files exceed 2GiB then cpio is the better choice because it is much better at preserving modes than is cp -Rp.
For something this large, I would instead use an fbackup/frecover pipeline as that will handle largefiles (even sparse ones) and preserve all the attributes. This does assume that this is an HP-UX box.
For something this large, I would instead use an fbackup/frecover pipeline as that will handle largefiles (even sparse ones) and preserve all the attributes. This does assume that this is an HP-UX box.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 06:21 AM
02-27-2007 06:21 AM
Re: cp, cpio commands
Thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP