- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rcp large files
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
11-19-2001 01:30 PM
11-19-2001 01:30 PM
rcp large files
When i try to copy a large file from a system to another i get the folowing message:
rcp: lost connection
and if i try with scp (ssh2 secure copy) i get:
Value too large to be stored in data type
I think that ssh and rcp are 32bits application that cannot handle larges file. i want to known if this is true and if a patch exist to use rcp with large file.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 01:33 PM
11-19-2001 01:33 PM
Re: rcp large files
ftp> hash
before your transfer, I have found that to work on large, slow downloads.
Just an idea,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 01:35 PM
11-19-2001 01:35 PM
Re: rcp large files
Is the destination filesystem set up to handle largefiles? Check the contents of /etc/fstab
Also do you have a problem with attempting this task through ftp?
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 01:43 PM
11-19-2001 01:43 PM
Re: rcp large files
So the two accepts large files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 01:44 PM
11-19-2001 01:44 PM
Re: rcp large files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 01:46 PM
11-19-2001 01:46 PM
Re: rcp large files
How large are the files being copied? You stated that the servers are NEW, did you load the OS or are you using the preloaded OS? As noted by Michael, you might want to check both servers. Also, do both servers have Sept 2001 patches installed?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 01:54 PM
11-19-2001 01:54 PM
Re: rcp large files
Only patch I can find for this is PHKL_22677 and it's dependencies.
PHKL_22097 PHKL_22022 PHKL_21885 PHKL_21349
PHKL_19991 PHKL_19311PHKL_18797 PHKL_17543
PHKL_16983
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 01:54 PM
11-19-2001 01:54 PM
Re: rcp large files
The files are 2.7 Gb and 6.2 Gb
i have load the system and i have create the filesystems with the large file enables switch. But the two servers already have large files on their filesystems. I have read the large file white paper. And i think that rcp cannot handle file greater than 2Gb (32b application)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 02:00 PM
11-19-2001 02:00 PM
Re: rcp large files
I'd suggest you to do nfs mount then do a plain cp...
Just a thought..
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 02:03 PM
11-19-2001 02:03 PM
Re: rcp large files
Two things may be happening here:
1) 32-bit unices use 32 bit pointers for file locking and access. This gives you a 2^32-1 = 2GB of max filesize.
2) Your SSH application (openssh or plain ssh?) uses 32 bits pointers internally, thus giving you this limitation.
You could break the file in multiple parts and join it in the destination (use DD to break and CAT to join). However, make sure your destination filesystem accepts files larger than 2GB.
Regards,
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 02:04 PM
11-19-2001 02:04 PM
Re: rcp large files
Correction on the dependencies.... Should have had my goggles on.... Only dependency is PHKL_18543
(the patch from HELL!!)
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 02:37 PM
11-19-2001 02:37 PM
Re: rcp large files
check your netowrk and rcp patches. Do a search for your version of hp ux and use the keyword as rcp. Download and install them. It might help.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 05:01 PM
11-19-2001 05:01 PM
Re: rcp large files
If the destination is correct then use ftp, not rcp and definitely not NFS. NFS default is version 2 and cannot handle largefiles. If you setup NFS version 3, then you have to live with the reliability issues of NFS...it jst is not a good choice for reliable transfers.
rcp is a bit better but not great. ftp is the best (and fastest) choice, especially for big files. It adapts to the link speed and sends overlapping packates and acknowledgements to further improve the speed of the transfer.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 05:33 PM
11-19-2001 05:33 PM
Re: rcp large files
In addition, if you want to secure your transfer, instead of using SCP2 (secured equivalent of RCP), you can use SFTP2 (secured equivalent of FTP) which also comes with SSH v2.
If your SCP2 transfer also did not manage through, it points very likely to the lack of largefiles support for your destination filesystem. Because SCP2 does not make use of RCP.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 06:12 AM
11-20-2001 06:12 AM
Re: rcp large files
Thanks all for your help