Operating System - HP-UX
1833301 Members
3047 Online
110051 Solutions
New Discussion

Re: VXFS and file limit size 1GB

 
Oscb
Occasional Contributor

VXFS and file limit size 1GB

HI

I have a problem with a server HP with Unix Caldera 8 in VXFS, this not support files bigger than 1GB ... how can change that to support 2GB ??
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: VXFS and file limit size 1GB

To the best of my knowledge, there has never been a 1GB file size limit. The threshold for the 'large files' parameter of a file system has always been 2GB.

You can do an 'fsadm /mountpoint' to see if the file system has large files enabled. You could also check the /etc/fstab to see if 'largefiles' is specified there.

# fsadm -F vxfs /mount
nolargefiles

Would indicate the largefiles are not enabled. If it returns 'largefiles' the it is enabled.

If it is not enabled, and you have ONLINEJFS installed you can do:

# fsadm -F vxfs -o largefiles /mount

to enable largefiles on the filesystem.
Oscb
Occasional Contributor

Re: VXFS and file limit size 1GB

well, large file is not support :(

# fsadm /
nolargefiles

now, if enable with fsadm -F vxfs -o largefiles /mount make something like reboot the system??, this server is need always online.

thanks for the answer
Patrick Wallek
Honored Contributor

Re: VXFS and file limit size 1GB

No you do not need to reboot the system.

If you do enable largefiles, make sure your entry for that filesystem in /etc/fstab does not say 'nolargefiles' anywhere. If it does, just remove the nolargefiles and the filesystem will mount with the correct configuration.
Oscb
Occasional Contributor

Re: VXFS and file limit size 1GB

I still get error with file over 1GB, read more about my problem I find other instruccion with 1GB limit .. is ulimit, change to unlimited is work fine, and let me create file over 1GB ... but I need to make this by default
Patrick Wallek
Honored Contributor

Re: VXFS and file limit size 1GB

Put the ulimit command in either /etc/profile (applies to all users) or your .profile (applies to just your id) then.