- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: is there a limit to file size on a 32 bit HP-U...
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
07-22-2008 08:05 AM
07-22-2008 08:05 AM
is there a limit to file size on a 32 bit HP-UX machine?
Is there a limit to file size on a 32 Bit HP-UX system? What can be the max size of an individual file?
Thanks,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 08:20 AM
07-22-2008 08:20 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
Check the last answer in this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=828156
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 08:26 AM
07-22-2008 08:26 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
Please check my uname output and let me know what can be the max size of a single file.
# uname -a
HP-UX B.11.11 U 9000/800 1279464801 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 08:34 AM
07-22-2008 08:34 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
Yes there is, you need to be considering the largefiles setting for your filesystem and the version of VxFS and the disk layout version.
e.g. JFS 3.3 Disk Layout 2 supports a maximum of 2GB.
Largefiles not enabled and it is a 2GB limit.
With it enabled (and assuming recent JFS and disk layout versions) I don't think it is limited to 4GB (or 3.75) as you might expect as there are extensions to allow 32-bit systems to handle large files, but I don't have details of these.
I think the current limit for a 64-bit system is 2TB with possibility of a 32TB filesystem.
Hope this helps,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 08:37 AM
07-22-2008 08:37 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 08:42 AM
07-22-2008 08:42 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
>HP-UX B.11.11 U 9000/800
Pete's link was pretty clear. You are suppose to know that B.11.11 == 11i.
What is the output for model?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 08:45 AM
07-22-2008 08:45 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
Pointer size and maximum file size (file
offset) are not intrinsically related. Many
32-bit-pointer environments offer file
systems (and OS infrastructure) which support
large (>2GB or >4GB) files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 08:46 AM
07-22-2008 08:46 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
The output for model is
# model
9000/800/rp3410
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 09:28 AM
07-22-2008 09:28 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
This says that you have a PA-8900 and your OS is 64 bit!
So your questions are really:
1) what is the maximum file size.
2) And with a 32 bit application, how can I access these large files? (Steven's remark)
The answer to 2 is to read:
http://docs.hp.com/en/5964-5283/ch02s09.html
http://docs.hp.com/en/940/lgfiles4.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 10:05 AM
07-22-2008 10:05 AM
Re: is there a limit to file size on a 32 bit HP-UX machine?
This is not a 32bit processor so your kernel is actually a 64bit kernel. However, 32bit programs and applications can run on this kernel. That said, a 32bit program has the option of using system calls such as lseek64 rather than lseek in order to use large files.
So the question is about your application program *and* the filesystem where you are creating/using a largefile. Start with the filesystem:
fsadm /var
nolargefiles
This indicates that any file under the /var mountpoint can be no loarger than 2GB.
fsadm /usr
largefiles
and the above shows that large file may be created under /usr. Until your destination mountpoint allows largefiles, no program can create anything larger than 2GB.
The second part is the program itself. Is the program a 32 bit program? (hint: file myprogramname) Was it coded specifically to handle files larger than 2GB? Many very old programs use legacy interfaces such as lseek (rather than lseek64). These programs can never create or read a file larger than 2GB.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2008 02:01 PM
07-22-2008 02:01 PM
Re: is there a limit to file size on a 32 bit HP-UX machine?
> read a file larger than 2GB.
Some can, if well written, and if compiled
with appropriate macros defined. lseek(),
for example, uses off_t, which may be either
"typedef long" (32-bit) or "typedef int64_t"
(64-bit), depending on
# if defined(_APP32_64BIT_OFF_T) || defined(_KERNEL)
(See "/usr/include/sys/types.h".)
Programs which are badly (or simply) written,
or which use more complex data structures
with file offsets hidden inside (Info-ZIP Zip
and UnZip, for example) will need more than a
re-build to get large-file support.