- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can't lstat.. value too large
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
01-09-2002 10:11 PM
01-09-2002 10:11 PM
A backup tar file it so large that I can't even 'ls' it!
/usr/local/bin/cls: can't lstat ./backup1.tar: Value too large to be stored in data type.
I tried fsadm'ing the filesystem to support large files but still the same error.. any ideas?
Thanks,
Mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 10:30 PM
01-09-2002 10:30 PM
Re: can't lstat.. value too large
I don't suppose you can stat the file as well. Nevertheless, perhaps you want to give it a try:
# stat backup1.tar
What does the output say?
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
01-09-2002 10:32 PM
01-09-2002 10:32 PM
Re: can't lstat.. value too large
I don't suppose you can stat the file as well. Nevertheless, perhaps you want to give it a try:
# stat backup1.tar
What does the output say?
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
01-09-2002 11:46 PM
01-09-2002 11:46 PM
Re: can't lstat.. value too large
You might want to run a search on the exact phrase "Value too large". There are several patches that contain the very phrase. I was going to add a patch list but there are patches for both HP-UX 11.00 and HP-UX 10.20 and the lists (especially for HP-UX 11.00) are pretty long.
Hope this helps,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 01:21 AM
01-10-2002 01:21 AM
SolutionAt the very least your application will need to be compiled with -D_FILE_OFFSET_BITS=64.
For more information refer to /usr/share/doc/lg_files.txt
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 11:15 PM
01-10-2002 11:15 PM
Re: can't lstat.. value too large
Thanks for the info - Steven Sim - I can't find the stat command - possibly not installed? - Steven Gillard, how do I determine whether my app is 32 or 64 bit? And, in the even it's 32, is there an easier way to get a 64 bit version of the 'ls' command rather than compiling it (which I wouldn't have a clue how to do).
Thanks!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 01:19 AM
01-11-2002 01:19 AM
Re: can't lstat.. value too large
# file oracle
oracle: ELF-64 executable object file - PA-RISC 2.0 (LP64)
The 'ls' command shipped with HPUX supports large files, see section 5.2.4 of /usr/share/doc/lg_files.txt for a full list of commands.
In your post you appear to be using a third party command /usr/local/bin/cls (perhaps aliased to ls?) which is obviously a 32bit executable not compiled with large file support.
Regards,
Steve