1837242 Members
4728 Online
110115 Solutions
New Discussion

Re: large files

 
Pradeep_3
Frequent Advisor

large files

While creating a file system on HP-UX is it a good practise to enable largefile mode even if we know that no large file will be generated?

thanks in advance
Paresh/fenil
7 REPLIES 7
Bill McNAMARA_1
Honored Contributor

Re: large files

not vital, I never do it.
With fsadm anyways you can enable it afterwards.
And recall anyways that you'll have to d/load gzips and tars that are also >2G compatible.

Later,
Bill
It works for me (tm)
Massimo Bianchi
Honored Contributor

Re: large files

Hi,
i usually always enable it, because your users usually don't care too much about file size limit.

I costs nothing and can prevent you many problems.

Remember also to mount it with the largefile option.

HTH,
Masssimo
Radhakrishnan Venkatara
Trusted Contributor

Re: large files

normally does with large files option only.
bcoz i don't want to do anything again if my requests me that he wants to use large files.

it hardly takes anything from u.

radhakrishnan
Negative thinking is a highest form of Intelligence
T G Manikandan
Honored Contributor

Re: large files

HPUX explicitly has an option to enable/disable largefiles.

It depends on the type of application you are running.

You can check /usr/share/doc/lgfiles.txt for a better understanding


Thanks
Patrick Wallek
Honored Contributor

Re: large files

It depends entirely upon your filesystem size. If your filesystem is less than 2GB then there is not point in enabling largefiles. If you have a filesystem larger than 2GB then you could enable largefiles, but I would keep in mind what the filesystem is going to be used for.

I personally prefer to keep largefiles turned off unless specifically requested. That way you don't have a VERY large file that fills up your filesystem at the most inopportune time.
A. Clay Stephenson
Acclaimed Contributor

Re: large files

There is no "correct" answer here. What you really need to be aware of is that while the OS itself will support files > 2GB, many applications will not. If your application is known to support largefiles then enable largefiles.

The downside to enabling largefiles is that many of the standard backup utilities (tar, cpio) will not handle large files.

The one time that large files might be enabled eventhough no large files will be needed is the support of many, many files in a filesystem. Surprisingly largefiles also enables a larger number of inodes; of course, in general, if a single filesystem needs that many files, you are probably doing it wrong anyway.
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: large files

Paresh/Fenil


It enitrely depends on what software / Databases you are using , typically a Oracel mid sized database uses the large file options . In case you are using a simple non oracle server or the server is being used for a switch application where the large files are not sed then better not to enable it.

the good thing is that you can change it whenever you require.

Manoj Srivastava