- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What is the best command to copy from filesyst...
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
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
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-02-2011 11:20 AM
11-02-2011 11:20 AM
I Guys,
in a system hpux 11.11
i need to copy a contents of filesystem1 (lvm) into filesystem2 (vxvm).
file system 1 is larger 130 Gb and there are many file larger of 12 Gb, and simbolik link.
I have think to copy by tar but it not support file larger than 8 Gb.
I have think to copy by cp but i'm not sure about a link permission .
What is the best command to copy from filesystem1 to filesystem2?
Are there veritas commad like vxdump and vxrestore that work fine for my situation?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2011 11:36 AM
11-02-2011 11:36 AM
Re: What is the best command to copy from filesystem1 to filesystem2?
Using cpio:
cd sourcedir
find . -print|cpio -pudlmv destdir
Using pax:
pax -rw sourcedir destdir
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2011 10:28 PM
11-02-2011 10:28 PM
Re: What is the best command to copy from filesystem1 to filesystem2?
>What is the best command to copy from filesystem1 to filesystem2?
You may want to copy the raw bits from one filesystem to another.
>Using cpio:
No good for 12 Gb files.
>Using pax: pax -rw sourcedir destdir
For your large files, you need to add: -x pax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 02:23 AM
11-03-2011 02:23 AM
Re: What is the best command to copy from filesystem1 to filesystem2?
I would use vxdump and vxrestore. What is the exact sintax command ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 05:40 AM
11-03-2011 05:40 AM
Re: What is the best command to copy from filesystem1 to filesystem2?
Hi:
Another alternative which handles largefiles is 'fbackup'/'frecover' thusly:
# cd srcdir && fbackup -i . -f - | ( cd dstdir && frecover -Xsrf - )
Regards!
...JRF...
- Tags:
- fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2011 10:45 AM
11-03-2011 10:45 AM
Re: What is the best command to copy from filesystem1 to filesystem2?
> I have think to copy by tar but it not support file larger than 8 Gb.
GNU "tar" has no such limit.
> I would use vxdump and vxrestore. What is the exact sintax command ?
man vxdump
man vxrestore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2011 02:25 AM
11-07-2011 02:25 AM
SolutionThis is the syntax of vxdump/restore command:
vxdump 0f - /srcfs|(cd /tgtfs;vxrestore rf -)
Its Ok and show the progress copy. Just one problem, for the symbolic lynk not mantains the just owner and group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2011 02:10 PM
11-07-2011 02:10 PM
Re: What is the best command to copy from filesystem1 to filesystem2?
>for the symbolic link not maintains the just owner and group.
(Does not maintain? Or only maintains?)
The owner & group for symlink aren't important. If you do want to change them, you can use "chown -h".
- Tags:
- chown