1832345 Members
2668 Online
110041 Solutions
New Discussion

Large Files

 
SOLVED
Go to solution
Shahul
Esteemed Contributor

Large Files

Hi

If I am not enabling the large file support, what is the maximum size of a file which I can have under HPUX 11.0 64 bit environment?


TIA
Shahul
7 REPLIES 7
John Poff
Honored Contributor

Re: Large Files

Hi,

2 Gb will be the max file size without specifying the 'largefiles' option on the filesystem.

JP
Paul Sperry
Honored Contributor
Solution

Re: Large Files

just FYI :)

===============================================================
HP-UX JFS Disk Layout File Filesystem
Release Version Version Size Size
===============================================================
10.01 - Version 2** 2 GB 4 GB

10.10 - Version 2** 2 GB 128 GB

10.20 Version 3.0 Version 2 2 GB 128 GB
10.20 Version 3.0 Version 3** 128 GB 128 GB

11.00 Version 3.1 Version 2 2 GB 128 GB
*11.00 Version 3.1 Version 3** 1 TB 1 TB

11.00 Version 3.3 Version 2 2 GB 128 GB
11.00 Version 3.3 Version 3** 1 TB 1 TB
11.00 Version 3.3 Version 4 1 TB 1 TB

11i Version 3.3 Version 2 2 GB 128 GB
11i Version 3.3 Version 3 2 TB 2 TB
11i Version 3.3 Version 4** 2 TB 2 TB
===============================================================
* PHKL_22719 is needed to avoid mount problems if extending
or creating file systems beyond 128 GB.
Patrick Wallek
Honored Contributor

Re: Large Files

Just remember that the maximum file sizes are assuming you have 'largefiles' enabled for a file system. If you don't then the maximum is still 2GB as John has stated above.
James R. Ferguson
Acclaimed Contributor

Re: Large Files

Hi:

This guide gives you various size limits:

http://docs.hp.com/hpux/onlinedocs/5971-2383/5971-2383.html

Regards!

...JRF...
Jose Mosquera
Honored Contributor

Re: Large Files

Chris Vail
Honored Contributor

Re: Large Files

Without the 'largefiles' your files will be limited to 2,147,483,647 bytes. This is 2 to the 31st power, minus 1. This is the largest number that can be represented by a 31 digit unsigned integer. The 32nd bit is the sign (plus or minus, 0 or 1). Only a operating system that can handle more than 32 bits can have files larger than this. In H/P (and most other) systems you have to install a 64bit O/S.

I hope this helps.
Chris
John Poff
Honored Contributor

Re: Large Files

Chris,

The bitness of the HP-UX operating system doesn't have anything to do with the maximum file size. As you can see in the chart that Paul posted above, you can have up to a 128 Gb file size in HP-UX 10.10 and 10.20, which are 32-bit operating systems. The bitness of HP-UX really just determines how much memory you can address at one time.

JP