1834457 Members
3071 Online
110067 Solutions
New Discussion

Kernel parameters

 
Regina Mitchell
Frequent Advisor

Kernel parameters

Is there any for MAXfilesize on 11.0
8 REPLIES 8
James A. Donovan
Honored Contributor

Re: Kernel parameters

Maximum file size is a feature of the filesystem, not the kernel.

see the man page on fsadm_vxfs
Remember, wherever you go, there you are...
Enrico P.
Honored Contributor

Re: Kernel parameters

Hi,
check for the ulimit command.

Enrico.
Stefan Farrelly
Honored Contributor

Re: Kernel parameters

No, there is no kernel parameter for that.

The only real restriction is if someone forgot to enable largefiles (>2GB) when they created a filesystem. You can check with;

fsadm -F vxfs

If it returns largefiles then youre ok - there is no real limit (1TB or something). If it returns nolargefiles you need to enable it using the fsadm command.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Sridhar Bhaskarla
Honored Contributor

Re: Kernel parameters

Hi,

With JFS 3.1 and 3.3 version, you can go upto 1 TB filesystem size and 1 TB file size provided you enabled "largefiles" on the filesystem. Otherwise, it won't allow more than 2 GB.

With JFS 3.5, you can go upto 2 TB both filesystem and file sizes.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
James R. Ferguson
Acclaimed Contributor

Re: Kernel parameters

Hi:

On 11.0 with VxFS filesystems using JFS version 3 or JFS version 4, you can have 1TB filesystems and files:

http://docs.hp.com/hpux/onlinedocs/5971-2383/5971-2383.html

Regards!

...JRF...
Stefan Farrelly
Honored Contributor

Re: Kernel parameters

However, there is a shell limit which can stop you creating large files. Do;

ulimit -a

If file(blocks) is not = unlimited then you have a limit - whatever value is reported. This overrides a filesystem limit (fsadm).
Normally it is unlimited. You can try changing it to unlimited with;

ulimit -f unlimited
Im from Palmerston North, New Zealand, but somehow ended up in London...
A. Clay Stephenson
Acclaimed Contributor

Re: Kernel parameters

Do a ulimit -a. If filesize is unlimited then your only limits are imposed by the filesystem. You may need to enable largefiles (>2GB) with the mount options. Man mount_vxfs and fsadm_vxfs for details.
If it ain't broke, I can fix that.
Caesar_3
Esteemed Contributor

Re: Kernel parameters

Hello!

It's depend on the filesystem, you have fsadm tool to change this parameter.
No depend on the kernel.

Caesar