- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Copying a Filesystem
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
12-12-2001 05:17 AM
12-12-2001 05:17 AM
Any assistance would be appreciated.
Peace!
Joe
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:23 AM
12-12-2001 05:23 AM
Re: Copying a Filesystem
and only works if I remember right within a same volume group...
then dd, then cpio...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:24 AM
12-12-2001 05:24 AM
Re: Copying a Filesystem
The problem with dd is that you could be copying bad track info.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:25 AM
12-12-2001 05:25 AM
Re: Copying a Filesystem
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:27 AM
12-12-2001 05:27 AM
Re: Copying a Filesystem
i should use fbackup / frecover.
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:30 AM
12-12-2001 05:30 AM
Re: Copying a Filesystem
I always use 'cpio' and the options to preserve file permissions and modification timestamps:
# cd myolddir
# find . -depth -print|cpio -pudlmv mynewdir
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:31 AM
12-12-2001 05:31 AM
Re: Copying a Filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:40 AM
12-12-2001 05:40 AM
Re: Copying a Filesystem
Try this link,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=3fe9ee9f1b945641b0/screen=ckiDisplayDocument?docId=200000006367082
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:42 AM
12-12-2001 05:42 AM
Re: Copying a Filesystem
I use the find & Cpio combination for Copy.
Works as you want it and is fast too.
#cd olddir
find . -depth -print|cpio -pdlmv $newdir
-> You can remember this command by a simple trick. The words pdlmv -> paddlemove!
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 05:55 AM
12-12-2001 05:55 AM
Re: Copying a Filesystem
Notice I omitted the "v" option for cpio. It will run faster without verbose output, especially if displaying on a terminal (like a 9600 baud console).
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:11 AM
12-12-2001 06:11 AM
Re: Copying a Filesystem
Your configuration should not present a problem as far as speed of this copy. Follow the steps below to safely accomplish your task:
1) Ensure that the device you are copying to has the same characteristics as the drive you are copying from.
2) Create the area you are copying to with the same parameters that you used on the original.
3) cd /source_dir
4) find . | cpio -pudlm /destination_dir (the raw partition if it's a raw device)
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:48 AM
12-12-2001 06:48 AM
Re: Copying a Filesystem
I would suggest u to do this:
# cd source_dir
# find . -depth -print | cpio -pdlmuva dest_dir
HTH,
Shiju