Operating System - HP-UX
1825577 Members
2303 Online
109682 Solutions
New Discussion

how to mount with large file option

 
anand.gp
Occasional Advisor

how to mount with large file option

Hi,
I have hp-ux 11.11 parisc. Folder /var supports large file system. Please let me know how to mount / share with large file support option.
Thanks.
Anand.
12 REPLIES 12
Ivan Krastev
Honored Contributor

Re: how to mount with large file option

There is no option in mount for large files.
This is for filesystem.

regards,
ivan
anand.gp
Occasional Advisor

Re: how to mount with large file option

I put this question because I got following suggestion on a topic.

Your file system can have largefiles option BUT if your nfs server is sharing the file system can't treat >2GB files, you can't create or share files in right way.

So, I would like to know is there any option to share file system which can treat >2GB files.

Thanks.
Anand.
Kenan Erdey
Honored Contributor

Re: how to mount with large file option

Hi,

if you enabled the largefiles option in hp-ux check nfs versions. with nfsstat -m command. With nfs version 3 and above you should work with files bigger than 2 gb.

Kenan.
Computers have lots of memory but no imagination
anand.gp
Occasional Advisor

Re: how to mount with large file option

nfsstat -m did not return anything.
Kenan Erdey
Honored Contributor

Re: how to mount with large file option

try it from the client side.
Computers have lots of memory but no imagination
anand.gp
Occasional Advisor

Re: how to mount with large file option

sorry, neither from client side nor from server side it is returning any value :(
V. Nyga
Honored Contributor

Re: how to mount with large file option

Hi,

to check if largefile is supported:

# fstyp -v /dev/vg00/lvol3 |grep -i f_flag

If f_flag: 0 - max 2 GB
If f_flag: 16 - max 8 GB

In /etc/fstab you can announce it to be mounted with largefiles option:
/dev/vg00/lvol /var vxfs rw,suid,largefiles,delaylog,datainlog 0 2

Then it is shareable/mountable for large files.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Rasheed Tamton
Honored Contributor

Re: how to mount with large file option

Hi,

For more info:
man mount_vxfs
Look for largefile info.

Regards.
Deepak Kr
Respected Contributor

Re: how to mount with large file option

Hi,

If file system created with large file support and nfs version is 3 or more then this should work.

hp-ux 11.11 supports NFS ver 2 and 3.

check following:
rpcinfo -p localhost | grep -i nfs
"There is always some scope for improvement"
Rajesh Devada
Occasional Contributor

Re: how to mount with large file option

Anand,
use below command
/usr/sbin/mount -F -o largefiles
if you have already enabled largefiles option while creating new fs, it will work.

if fs is already mounted & have online jfs working.

/usr/sbin/fsadm -o largefiles


Regards
Rajesh Devada
Dennis Handly
Acclaimed Contributor

Re: how to mount with large file option

>Rajesh: have onlineJFS working.
/usr/sbin/fsadm -o largefiles

OnlineJFS isn't required to use the above fsadm(1m).
Prashant Zanwar_4
Respected Contributor

Re: how to mount with large file option

Yep, as others said, this you can change, if you forgot to do initially when u created file syste ..
Use fsadm 1m.

Regards
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."