1832690 Members
2701 Online
110043 Solutions
New Discussion

Max file size is 2Gb ??

 
SOLVED
Go to solution
Simon R Wootton
Regular Advisor

Max file size is 2Gb ??

HPUX 11i. It appears that I can only have files upto 2GB in size. I believe there maybe a kernel parameter allowing an increase ??

All help rewarded, thanks in advance.

Simon
5 REPLIES 5
RAC_1
Honored Contributor

Re: Max file size is 2Gb ??

max file system size is 128GB, so the file size should 128gb.
There is no substitute to HARDWORK
Michael Tully
Honored Contributor

Re: Max file size is 2Gb ??

This is not a kernel parameter, but a limitation on the filesystem options. If you have OnLineJFS you can change this on the fly, if not you need to unmount the filesystem first.

Use 'fsadm' to make the necessary changes
Anyone for a Mutiny ?
Massimo Bianchi
Honored Contributor

Re: Max file size is 2Gb ??

Hi,
there are many places where the limitation can lay:

- user setting
check with ulimit

- shell
ksh is hard limited to 2G, the other shell depends on settings

- FS

issue a

mkfs -F vxfs -m /logical_vol

to see if the FS is largefiles or nolargefiles

- application
if the application is 32bit, there are a few chanche that it will allow files bigger than 2G.



Massimo

Robert-Jan Goossens
Honored Contributor

Re: Max file size is 2Gb ??

Hi Simon,

Check next doc,
Document description: Enabling largefiles
Document id: KBAN00000105
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683990

Hope it helps,

Robert-Jan.
Michael Tully
Honored Contributor
Solution

Re: Max file size is 2Gb ??

Use:

# fsadm -F vxfs -o largefiles /dev/vg??/rmylvol

# mount -F vxfs -o largefiles /dev/vg??/mylvol /mymount

Make sure that you make the necessary changes to /etc/fstab as well

/dev/vg??/mylvol /mymount vxfs rw,suid,largefiles,delaylog,datainlog 0 2
...
Anyone for a Mutiny ?