On HP-UX 11.0, large file support needs to be specified when you create (newfs) the filesystem AND must be specified in /etc/fstab for when the filesystem is mounted.
Main Topics
Browse All TopicsHi,
I am new to UNIX Sys Admin. My question is does UNIX OS allows files greater than 2GB. Or is it necessary to enable large files support. If large file support need to be enabled can somebody tell me how to enable this ?
Thanks
Anand
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
To answer more generally, most oversions of *ix shipped within the last five years have this support. But the exact answer to the question of whether you can actually do this on your system depends on a) just how old the OS is and b) whether you have big-file support turned on for the particular filesystem (needed in at least some *ix flavors).
When you post the exact OS version we can dig deeper.
Solaris 9 supports large file systems.
For the most part, most unix operating systems do support it (even under most 32 bit versions like Linux). Some OS's may have to play some tricks to support it but they can.
On most server class systems Sun's, HP, IBM,...they have no problem supporting over 2 GB since most of their clients probably have filesystems in the 100 GB - 1 Terabyte range.
This can be tricky. Even though I had the newest linux kernel and using ReisferFS, I still bumped into the 2GB limit. It happened with an Apache log, I thought I can let it grow beyond 2GB, but it would stay at 2GB and discard all new logs beyond that point. The trick was to enable large file support when compiling Apache.
So watch out, and test everything before you put it in production.
Marcin
Hi,
64-bit kernel systems support files over 2GB by the fact that they are 64-bit.
On 32-bit Sun Solaris systems, e.g. Solaris 2.6, you can still achieve files greater that 2GB easily by using DiskSuite.
Regards, Nisus
http://www.omnimodo.com
Actually, whether you can use files >= 2GB has very little to do with general 32-bit vs. 64-bit kernel support.
HP-UX, Linux Solaris, *BSD, and AIX have all supported >2GB filesystems for something like ten years, much longer than they've had general 64-bit kernel support. But older filesystem designs required a specific flag when creating the filesystem. _Some_ of the newer filesytem designs now do >2BG _only_ or at least by default, but not all.
Large File Support ( LFS ) is a relatively new feature and most of the recent OS kernels support large files.
Atleast your linux box will support large files. This may however require you to recompile some of your applications
refer to this link for more info on LFS in Linux
http://www.suse.de/~aj/lin
asker said
>>Red Hat 7.3 Linux(2.18 Kernel version).
I presume it was 2.4.18 ... Red Hat 7.1 onward used 2.4.XX
anyway, the 2.2.18 kernel also supports LFS with the ext2 file system. The only thing for complete LFS not supported in 2.2.18 is file locking and getdents
If kernel supportd it, GNU applications *can* also use LFS, they will have to be recompiled with "-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE".
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Recommendation: PAQ/Award points to PsiCop (can't split, too few points)
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
PsiCop
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: PsiCopPosted on 2003-04-30 at 13:15:50ID: 8431266
Depends on the flavor of *NIX.
Recent versions of Solaris, for example, do support files over 2 GB in size (support is enabled by default, but can be explicitly disabled).
The answer for other flavors of *NIX may be different. YOu didn't bother to specify which flavor, so giving a definite answer is kinda hard.