- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: limit of file size? Error: rcp : Bad file numb...
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
03-19-2003 05:16 AM
03-19-2003 05:16 AM
limit of file size? Error: rcp : Bad file number
rcp fails with
rcp: big: Bad file number
when trying to "remote copy" the file "big"
to the file server. Doing rcp with the file "small"
succeeds with no error /message.
ls -al smaller big
-rw-r--r-- 1 q178919 wkzm
2202087424 Mar 18 15:27 big
-rw-r--r-- 1 q178919 wkzm
1595707392 Mar 18 15:28 smaller
Is there a file size limit to files rcp can handle?
System:
# uname -sr
HP-UX B.11.11
# model
9000/800/L3000-5x
Thanks for your tips in advance.
Regards,
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 05:19 AM
03-19-2003 05:19 AM
Re: limit of file size? Error: rcp : Bad file number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 05:24 AM
03-19-2003 05:24 AM
Re: limit of file size? Error: rcp : Bad file number
target filesystem MUST be config'd to handle large files.
check with fsadm /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 05:24 AM
03-19-2003 05:24 AM
Re: limit of file size? Error: rcp : Bad file number
Run mkfs -F vxfs -m /dev/vgXX/lvolX on the remote file system to see if you have largefile (over 2gb) support.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 05:40 AM
03-19-2003 05:40 AM
Re: limit of file size? Error: rcp : Bad file number
The error "Bad file number" (EBADF) is often caused if a getservnam() or similar fails.
Check in server and client:
The inetd.conf "shell" entry /etc/inetd.conf:
shell stream tcp nowait root /usr/lbin/remshd remshd
And in /etc/services:
shell 514/tcp cmd
If NIS is used, then check that also.
# ypcat services | shell
If you changed something, restart inetd and try again.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 06:16 AM
03-19-2003 06:16 AM
Re: limit of file size? Error: rcp : Bad file number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 06:51 AM
03-19-2003 06:51 AM
Re: limit of file size? Error: rcp : Bad file number
Is your filesystem on the remote server set to handle largefiles (Files > 2GB).
on the remote server try,
fsadm /mount_point
If this returns largefiles, you should be able to rcp files > 2GB. If not you have to change the filesystem to handle largefiles.
Try this link on how to enable largefiles for your filesystem,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683990
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 08:40 AM
03-19-2003 08:40 AM
Re: limit of file size? Error: rcp : Bad file number
/etc/inetd.conf and /etc/services
match these requirements already...
Hi Marco, Sanjay, Mike and Alex,
good point. Going to let this check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 12:35 AM
03-20-2003 12:35 AM
Re: limit of file size? Error: rcp : Bad file number
on target system, the filesystem is also generated and activated with "largefiles"
option.
Do you have any other suggestions how I can come along with this problem?
Thanks in advance,
regards,
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 01:03 AM
03-20-2003 01:03 AM
Re: limit of file size? Error: rcp : Bad file number
ulimit values ? shell ? both O/S 's 11.11 ? Network cards involved? network patch levels ?
Also does ftp,rdist etc work OK here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 04:59 AM
03-20-2003 04:59 AM
Re: limit of file size? Error: rcp : Bad file number
Insalling Patch PHNE_27777 on the source system should resolve the problem.
Thanks to all for your help.
Regards,
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 07:09 AM
07-25-2003 07:09 AM
Re: limit of file size? Error: rcp : Bad file number
I just ignore the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 07:11 AM
07-25-2003 07:11 AM
Re: limit of file size? Error: rcp : Bad file number
as far as i know, rcp is 32bit, so it won't allow for largefiles.
If you need, use nfs V3 for a while or download a utility like
rsync
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-2.5.6/
You must have to recompile them with the largefile support enabled, but they will work.
Massimo