1837984 Members
2895 Online
110124 Solutions
New Discussion

large file size

 
SOLVED
Go to solution
Shivkumar
Super Advisor

large file size

Dear Sirs,

What is the defualt largest file supported on hpux 11i ?

Is there any config file where we need to enable this ?

Thanks,
Shiv
9 REPLIES 9
Arunvijai_4
Honored Contributor
Solution

Re: large file size

Hi Shiv, Look at this thread and read paul's reply..

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=183536

Command to enable large file support,
# fsadm -F vxfs -o largefiles /


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Tom Ward_1
Honored Contributor

Re: large file size

Hello Shiv,

The largest file you can have without large file support is 2GB. If you enable large file support you can go well beyond that. The command to enable large files is fsadm.
fsadm -F vxfs -o largefiles /mountpoint. Please see the man page for fsadm and fsadm_vxfs for more information.

Regards,
Tom
RAC_1
Honored Contributor

Re: large file size

It depends upon what version of vxfs you have.
There is no substitute to HARDWORK
Yogeeraj_1
Honored Contributor

Re: large file size

hi

Unless you enable 'largefiles', the maximum file size is 2GB.

If you current file system has not been created to support large files, you need to run a special command that will enable this.

configuration file that is involved here is:
/etc/fstab

hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: large file size

hi again,

to enable largefile support on file systems that do not support it, you must do the following:

#fsadm -F vxfs -o largefiles /mount-point

edit /etc/fstab and update nolargefiles to largefiles.

hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Jayasuntar
Valued Contributor

Re: large file size

Hi Shiv,

Normally the largefile supported in 2GB.

If u enable largefiles support on the FS leval, then it is 2TB.
To enable the largefile support,

If u have online JFS then do

#fsadm -F vxfs -o largefiles /mountpoint.

If u dont have onlineJFS then do,

#umount /
#fsadm -F vxfs -o largefiles /dev/vgxx/rlvolx
#mount /dev/vgxx/rlvolx /mountpoint.

To check whether u have online JFS or not..

#swlist -l bundle |grep -i online

All the best..

Regards

Jay
Cem Tugrul
Esteemed Contributor

Re: large file size

Hi Shiv,
As an adition to other replies the link below
may help to you.

http://docs.hp.com/en/B3929-
90011/ch01s16.html

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Cem Tugrul
Esteemed Contributor

Re: large file size

http://docs.hp.com/en/B3929-0011/ch01s16.html
Our greatest duty in this life is to help others. And please, if you can't
Sยภเl Kย๓คг
Respected Contributor

Re: large file size

Hi,

It depends on the filesystem which you are using.
VxFS can, theoretically, support files up to two terabytes in size. The maximum size tested and supported on HP-UX 11.x
systems is one terabyte. Large files are files larger than two gigabytes in
size.

You need to use # mkfs -F vxfs -o largefiles special_device size while creating the filesystem, for large file support. If you already created FS without -o largefiles, you can use fsadm with -o large option to change the current filesystem settings. And also you need to update /etc/fstab for the large file support.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions