- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: copy a filesystem from HP-UX to Linux Suse
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
02-14-2012 09:55 AM - edited 02-14-2012 09:56 AM
02-14-2012 09:55 AM - edited 02-14-2012 09:56 AM
copy a filesystem from HP-UX to Linux Suse
hello,
Now i have to expand the copy commands for copy a filesystem from HP-UX (vxfs) to Linux SuSe (ext3) or backwards
We had discuss here a long thread copy a filesystem best solution (local host or remote host) and now i will extend it for copying to Linux.
i hope those options are right for Linux and compatible (like cpio)
here my options:
cd /source_fs
CPIO find . ! \( -name lost+found -type d -prune \) -depth -print | cpio -oc |ssh root@other_host "cd /dest_fs; cpio -idumvV -H hpodc"
TAR tar -cpvf - . | ssh root@other_host "( cd /dest_fs; tar -xBpvf - )"
PAX pax -w . | ssh root@other_host "( cd /dest_fs; pax -v -r -pe )"
RSYNC rsync --progress -avhz --rsh="ssh" . root@other_host:/dest_fs
DUMP dump ???
combination of tar and zip are also solutions.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2012 06:48 AM
02-29-2012 06:48 AM
Re: copy a filesystem from HP-UX to Linux Suse
some news:
when i tested files > 2 GB i detected limits... i forget :
so only options are - RSYNC and - CP (RCP/SCP) ...
i will test:
GNU version of tar, a tape file archiver
GNU version of cpio, program to manage archives of files
does anybody have experiences with this versions ?
how i detect what version of CPIO and TAR is installed ? cpio --version isn't available !
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012 06:48 AM
03-07-2012 06:48 AM
Re: copy a filesystem from HP-UX to Linux Suse
here a little overview about limits of the commands:
HP-UX : tar: Size of Files >= 8GB. Not dumped. tar is not working with a file more than 8GB
GNU: tar: No Limit ( local copy)
HP-UX : cpio: Size of Files >= 2GB. Not dumped.
GNU: cpio: No Limit ( local copy) Limit is obsolete: GNU cpio 2.6 does not write files larger than 2 GB (>2GB)
HP-UX : pax: No Limit
HP-UX : rsync: No Limit
Remote Copy Limit / Error:
I have problems using GNU cpio to copy to a remote host (HP-UX 2 HP-UX) files bigger >= 8GB.
command:
find /source_fs -xdev -depth ! \( -name lost+found -type d -prune \) -print | \ /usr/local/bin/cpio -ocav | \ ssh -p 22 server -l root "cd /dest_fs; /usr/local/bin/cpio-idumv"
Error: /usr/local/bin/cpio: 10 G File. field width not sufficient for storing file size
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012 11:47 AM
03-07-2012 11:47 AM
Re: copy a filesystem from HP-UX to Linux Suse
>HP-UX: pax: No Limit
You probably have to install PAX-Enh and a patch.