Operating System - HP-UX
1834882 Members
2346 Online
110071 Solutions
New Discussion

Large files on automouted FS

 
Pattabhi
Frequent Advisor

Large files on automouted FS

Hi Team,

I know there has been a lot of discussion over enabling large files on the FS in HP. but i have a different issue, All file systemes on my box are large file enabled, but when a user logs into his home directory (mounted via automount), he is not able to copy/generate a file more than 2 GB.

Is there something that i am missing???

# fsadm -F vxfs /
largefiles
# fsadm -F vxfs /usr
largefiles
# fsadm -F vxfs /opt
largefiles
# fsadm -F vxfs /data
largefiles
# fsadm -F vxfs /var
largefiles
#


I know for sure that the FS on which the home directories reside is large file enabled.

the error is below

[10] % pwd
/home/sadinar1/IS_171082641_benz_8.1.1.SP4_64/8.1.1.SP4/server/infa_shared/Backup
[11] % du -sk /data/Probe_bitek_kyb_20080527.rep
2206472 /data/Probe_bitek_kyb_20080527.rep
[12] % cp -rpf /data/Probe_bitek_kyb_20080527.rep .
cp: /data/Probe_bitek_kyb_20080527.rep: File too large
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Large files on automouted FS

Shalom,

NFS automount limitsations do not depend on the local box. They depend on the fileystem configuration on the server box. The command fsadm can not accurately check this on remote mounted filesystems.

This problem is either withe the version of NFS being used or limitations on the remote filesystem.

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
Dennis Handly
Acclaimed Contributor

Re: Large files on automouted FS

Well, the same thing just happened when I tried it.

Except when I went to the server, it said "nolargefiles". After I changed it and forced unmounted it, it still failed. :-(

Using google I found this thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=72952

You have to do exportfs -a again.
Pattabhi
Frequent Advisor

Re: Large files on automouted FS

Thanks Mate,

Thanks for your time.

I have requeted my IT colleague to run the "exportfs -a" on the nfs server, one it is done i will re-try coping the file and see if it fixes the issue.


Fingers crossed,
Pattabhi Raman

Pattabhi
Frequent Advisor

Re: Large files on automouted FS

Just an FYI of my environment

# uname -r
B.11.23

# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 1024


# rpcinfo -u nfsin4 nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
program 100003 version 4 ready and waiting

# mount | grep home
/home on auto_home ignore,indirect,rw,vers=2,dev=44000000 on Fri Jun 6 15:52:15 2008

Dave Olker
Neighborhood Moderator

Re: Large files on automouted FS

I think this is your problem:

> # mount | grep home
> /home on auto_home
> ignore,indirect,rw,vers=2,dev=44000000
^^^^^^

If you're using NFSv2 the largest file supported is 2GB. Try using NFSv3.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Dennis Handly
Acclaimed Contributor

Re: Large files on automouted FS

>I have requested my IT colleague to run the "exportfs -a" on the nfs server,

This would only work if they just got through doing "fsadm -F vxfs -o largefiles" AND you weren't using vers=2. :-)