1834290 Members
2631 Online
110066 Solutions
New Discussion

files larger than 2 GB

 
SOLVED
Go to solution
ralf klausch
Advisor

files larger than 2 GB

Hi,

I'm running HP-UX 11.00 with LVM. When I create a file larger than 2 GB I get the error:
Error 0
cat: Cannot write to output.

How ist possible to create files larger than 2 GB.

Thanks in advance.
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: files larger than 2 GB

Hi:

You must enable largefiles support on a filesystem basis to support files > 2GB. You should review the "HP-UX Large Files White Paper Version 1.4 (HP-UX 10.x, HP-UX 11.0)" found here for ramifications and directions:

http://docs.hp.com/hpux/os/11.0/index.html

...JRF...
Andreas Voss
Honored Contributor
Solution

Re: files larger than 2 GB

Hi,

you have to enable largefiles option on the filesystem with fsadm ie:

/usr/sbin/fsadm -F [hfs|vxfs] -o largefiles /dev/vgXX/lvolX

See also documentation at:
/usr/share/doc/lg_files.txt

Regards
ralf klausch
Advisor

Re: files larger than 2 GB

Thank you very much for your fast response.

regards

ralf