Operating System - HP-UX
1825776 Members
2128 Online
109687 Solutions
New Discussion

Re: File size limit of 2GB

 
Amith_2
Frequent Advisor

File size limit of 2GB

When one of my application is writing to a file greater , it fails to write , the moment the file touched 2GB.
I have checked the following system settings.

ulimit -> unlimited
filesystem -> largefiles compatible
shell -> /sbin/sh -> PSIX shell.

Is there any other settings which has to be set to avoid this problem.

The data file is a C-ISAM file and the version of C-ISAM is 7.25HC1 , which can handle files of size greater than 2GB
6 REPLIES 6
Lee Tae-kyung
Regular Advisor

Re: File size limit of 2GB

1. the filesystem is default. so you have to do the command below.
#umount /mountpoint
# fsadm -o largefiles /dev/vg02/rlvol1
#mount /mountpoint
That's all..

Good luck..

ltk.
I think I am a specialist in IT Korea^^. I am a programmer and SE and DBA
Lee Tae-kyung
Regular Advisor

Re: File size limit of 2GB

/dev/vg02/lvol1 is for example.
You have to use a suitable lvol name that contains the data file above.
You can see the lvol name to execute 'bdf'command.^^

Good luck^^

ltk.
I think I am a specialist in IT Korea^^. I am a programmer and SE and DBA
Karthik S S
Honored Contributor

Re: File size limit of 2GB

Refer,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=220615

might help you ...

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Suresh Patoria
Super Advisor

Re: File size limit of 2GB

Hi,

Which backup utiltiy u using to take backup
if it is tar then it wan't support

u should try fbackup utility take backup

Thanx
Amith_2
Frequent Advisor

Re: File size limit of 2GB


If is issue the command

fsadm -F vxfs on the file system , i get the ouput as largefiles , and the entry in the /etc/fstab also mentions that it is a largefiles file system.

Is there any way to check whether the application running is a 32bit or 64 bit.
Sanjay Kumar Suri
Honored Contributor

Re: File size limit of 2GB

Some application provides options to check application details. For example, the following application

#disp+work -V shows

compiled on: HP-UX B.11.00 U 9000/800
compiled for: 64 BIT

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.