Operating System - HP-UX
1835420 Members
2418 Online
110078 Solutions
New Discussion

Re: largefiles option of vxfs

 
SOLVED
Go to solution
Henry Wong
Occasional Contributor

largefiles option of vxfs

Hi, I created a few file systems with the largefiles option. i.e newfs -F vxfs -o largefiles ... I read the man page about the mount_vxfs and I'm confused about whether I need to mount these file systems with largefiles option. It doesn't seem like it's necessary but I still want to confirm it with someone. Does anything know about this?

Thanks
2 REPLIES 2
Denver Osborn
Honored Contributor
Solution

Re: largefiles option of vxfs

The man page states the default is to mount according to the largefile compatibility bit. If it is set for largefiles it will be mounted with largefiles. For this reason it appears that you wont need to specify the largefiles option since it will be the default.

To test it out -
# prealloc mebigfile 2200000000

if you get "File too large" then it wasnt mounted with largefiles option


James R. Ferguson
Acclaimed Contributor

Re: largefiles option of vxfs

Henry:

You don't need to specify the mount option if you don't want to do so. In the absence of any specification at mount time, the filesystem itself will be interrogated to determine whether or not largefiles are supported. You can enforce your intentions by explicitly stating them in /etc/fstab however. For a full explanation, see the HP-UX Large Files White Paper:

http://docs.hp.com/hpux/onlinedocs/os/lgfiles4.pdf

...JRF...