1832936 Members
3016 Online
110048 Solutions
New Discussion

Re: 2GB File size limit

 
SOLVED
Go to solution
A.W.R
Frequent Advisor

2GB File size limit

Hi,

Please can some one clarify what the current file size limit is under HP-UX 11i. I have been told it is 2GB?

Thanks
Andrew
7 REPLIES 7
Peter Godron
Honored Contributor

Re: 2GB File size limit

Andrew,
the 2GB limit only applies to certain commands (tar ...) and disk setups.

For disks you can enable largefiles by using SAM -> disks > Filesystem.
Also check with fsadm /filesystem

See
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1062766

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=967398
Warren_9
Honored Contributor

Re: 2GB File size limit

Hi,

The filesystem option "largefiles" is require for file over 2G. Otherwise, it will limited to 2G.

GOOL LUCK!
Steven E. Protter
Exalted Contributor

Re: 2GB File size limit

Shalom Andrew,

Not exactly true.

If the filesystem was nor formatted for largefiles the filesystem will not permit files bigger than 2GB

If newfs -o largefiles was used to create the filesystem then the size limit is 128 GB or 2 TB, but much bigger than you'll need.

fsadm can be used to convert a filesystem from not permitting largefiles to permitting them.

Shmuel
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
V. Nyga
Honored Contributor

Re: 2GB File size limit

Hi,

definitely no!
2GB is the limit if the option 'largefile' is not set for a filesystem.
Where's the next limit? I've files with 18GB.

V.

*** Say 'Thanks' with Kudos ***
Geoff Wild
Honored Contributor
Solution

Re: 2GB File size limit

See this doc:

http://docs.hp.com/en/5971-2383/5971-2383.pdf

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Hassell
Honored Contributor

Re: 2GB File size limit

The 2Gb filesize limit was removed many, many years ago when HP-UX version 10 was released. With current versions of HP-UX (11i) the limits are 128Gb for HFS filesystems (hardly ever used anymore), and terabytes for VxFS filesystems. Note that files larger than 2Gb must be backed up with modern utilities. tar, cpio, etc are not compatible with large files and are ill-suited (low performance) for dozens to hundreds of Gb or more.


Bill Hassell, sysadmin
A. Clay Stephenson
Acclaimed Contributor

Re: 2GB File size limit

One potential "gotcha" even if the filesystem is largefiles enabled, ulimit is large, and quotas are not in force is the application itself. If you are running a legacy application, the application may have built-in limits.
If it ain't broke, I can fix that.