Operating System - HP-UX
1833479 Members
2860 Online
110052 Solutions
New Discussion

Automount FS is not supporting file more than 2GB

 
SOLVED
Go to solution
Gouranga Maiti
Advisor

Automount FS is not supporting file more than 2GB

Hi
In my system "A" the file system /global can support file more 2GB.
But when mounting from system "B" using automount it is not supporting more than 2GB file.
But if we mount /global using mount command on system "B" it is supporting large file.
For manually mount I am using the following command:--
B@>mount -F nfs A:/global /mnt

For automount the entry in /etc/auto.master, /etc/auto.direct and /etc/mnttab are given below:--

IN auto.master:--
/- /etc/auto.direct -rw,suid,proto=udp

In auto.direct:--
/interfaces A:/global

In /etc/mnttab:--
B:(pid27710) /interfaces ignore ro,intr,port=749,map=/etc/auto.direct,direct 0 0 1164122940

A:/global /tmp_mnt/interfaces nfs rw,suid,proto=udp,dev=0019 0 0 1164125964

Both system OS is HP-UX 11.11
Could anyone please suggest me how I can resolve this issue for automount..

Thank you in advance..






9 REPLIES 9
Geoff Wild
Honored Contributor

Re: Automount FS is not supporting file more than 2GB

Are you using AUTOFS or old automount?

In /etc/rc.config.d/nfsconf

set AUTOFS=1

then restart nfs.client

/sbin/init.d/nfs.client stop
then start

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Peter Nikitka
Honored Contributor

Re: Automount FS is not supporting file more than 2GB

Hi,

I recommend to execute Geoff's solution in the way,
- FIRST to stop the automounter
- THEN change /etc/rc.config.d/nfsconf
- THEN restart the automounter again

I once ran into trouble, that a changed config file did not work any more to stop the active configuration (which was started with the previous values)!

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Steven E. Protter
Exalted Contributor

Re: Automount FS is not supporting file more than 2GB

Shalom,

Automount doesn't support or not support anything that has anything to do with filesize.

Its the filesystem that is being shared and mounted that controls that. If its a NAS device it should. If its another HP-UX server, then the filesystem itself needs to be formatted (newfs) or converted (fsadm) to support this.

Note that no paramters are needed in /etc/fstab or mount commands to support largefiles anymore . This is a change from HP-UX 11.00.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gouranga Maiti
Advisor

Re: Automount FS is not supporting file more than 2GB

Hi Peter,
I followed your recommend steps.
- FIRST to stop the automounter
- THEN change the value of AUTOFS to 1 in /etc/rc.config.d/nfsconf
- THEN restarted the automounter again
B@>/usr/sbin/automount -f /etc/auto_master
its starting "autofs_proc" process.. but NFS filesystem is not mounting, just geting hung. Even unable to kill process "autofs_proc" untill reboot the system.
Please suggest if I am doing anything wrong..

Peter Nikitka
Honored Contributor

Re: Automount FS is not supporting file more than 2GB

Hi,

has your HP box rebooted now?
Then check again.

After reading SEP's comment, I cannot believe an influence of the automounter to available file sizes, too. Nevertheless the change to autofs is recommended, I think.

Please show us the difference when accessing a 2GB+ file under an automounted or static NFS mounted directory, e.g.
wc /mnt/path_to_2GB+file
wc /interfaces/path_to_2GB+file

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Gouranga Maiti
Advisor

Re: Automount FS is not supporting file more than 2GB

Hi Peter
here are the difference of Automount and static mount of same file system

B@>bdf |grep global

A:/global 8388608 6967168 1411552 83% /tmp_mnt/interfaces
A:/global 8388608 6967168 1411552 83% /mnt
-------------
# ls -la /mnt/test.file
-rw-r--r-- 1 root sys 2849314124 Nov 10 13:24 /mnt/test.file
# ls -la /tmp_mnt/interfaces/test.file
/tmp_mnt/interfaces/test.file not found
-------
in /etc/mnttab:--

B:(pid5498) /interfaces ignore ro,intr,port=1009,map=/etc/auto.direct,direct 0 0 1164204162
A:/global /tmp_mnt/interfaces nfs nodevs,proto=udp 0 0 1164204408
A:/global /mnt nfs rsize=32768,wsize=32768,NFSv3 0 0 1164204453
-----------
=====================
Also after mofifying nfsconf file. I rebooted the system. and started nfs.client
followed by starting "automount -f /etc/auto_master"
then when trying to access /interfaces,system got hung for NFS.

Peter Nikitka
Honored Contributor
Solution

Re: Automount FS is not supporting file more than 2GB

Hi,

if you had a propoerly configured file
/etc/rc.config.d/nfsconf

esp. containing
AUTOMOUNT=1
AUTOFS=1

there would be
- no need to start the automounter manually
- no longer a /tmp_mnt prefix

I recommend to verify this - the command
ps -ef | fgrep auto

should show something like
/usr/lib/netsvc/fs/autofs/automountd
and NOT
/usr/lib/netsvc/fs/automount/...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Gary Cantwell
Honored Contributor

Re: Automount FS is not supporting file more than 2GB

Hi Gouranga,

Please take a moment to assign points to those who have taken the time to assist you, here's how:

http://forums1.itrc.hp.com/service/forums/bizsupport/helptips.do?#33

(Remember to do the same for all questions you have posted)

Thanks,

Gary
Gouranga Maiti
Advisor

Re: Automount FS is not supporting file more than 2GB

Hi Peter,
I did the followings and got the problem resolved.
AUTOMOUNT=1
AUTOFS=1
NFS_CLIENT=1

then restart the system..


Thank you all for spareing your valuable time to assist me.

Hi Gary,
Before closing I assigned point last time.. but unfortunately followed wrong way. Thats why point was not reflected. Thanks a lot for bringing to my notice.