Operating System - HP-UX
1847883 Members
6360 Online
104021 Solutions
New Discussion

Re: max file size parameter to write

 
Takeshi Sugai
Advisor

max file size parameter to write

Does anyone know the kernel parameters for limited to
some size per program when the program writes huge size of file, say 3GB?

Our Environment is L-server HP-UX 11.0 with ACE 11/99.

One of the parameter is related to mount command, /etc/fstab.
For example,
"fsadmim -F xvfs /opt/ns1/data"
this partition is largefiles in our machine.
this parameter is not related.

Any parameter which is limited to file size to write
huge file.

Thanks for any help...
-Takeshi
5 REPLIES 5
federico_3
Honored Contributor

Re: max file size parameter to write

James R. Ferguson
Acclaimed Contributor

Re: max file size parameter to write

Hi:

If I understand the question correctly, yes, 'largefiles' enables large files within a filesystem and does not control what an individual user can write. Disk quotas and the 'ulimit' of a process can limit the maximum file size on a user or process or user basis, however. See: "man ulimit" and "man quota" for a start.

...JRF...
John Palmer
Honored Contributor

Re: max file size parameter to write

For more information on largefiles, have a look in /usr/share/doc for the files lg_files.txt (or.ps), the largefiles white paper and the OS release notes 10.xRelNotes and 11.00RelNotes.

Bill Hassell
Honored Contributor

Re: max file size parameter to write

At 11.0 (and 10.20), once the filesystem is mounted to accept largefiles (in /etc/fstab), the issue regarding writing (or reading) of largefiles is how the client program was written. The cat command (and many others) have been enhanced to handle large files. However, as pointed out in the large-files white paper in /usr/share/doc, classic Unix utilities like tar and cpio can never handle large files as such enhancements would render them non-standard.

Be sure the program you are using too create a file larger than 2 Gb is written to handle the larger lseek requirement,


Bill Hassell, sysadmin
Bill Hassell
Honored Contributor

Re: max file size parameter to write

At 11.0 (and 10.20), once the filesystem is mounted to accept largefiles (in /etc/fstab), the issue regarding writing (or reading) of largefiles is how the client program was written. The cat command (and many others) have been enhanced to handle large files. However, as pointed out in the large-files white paper in /usr/share/doc, classic Unix utilities like tar and cpio can never handle large files as such enhancements would render them non-standard.

Be sure the program you are using too create a file larger than 2 Gb is written to handle the larger lseek requirement,


Bill Hassell, sysadmin