Operating System - HP-UX
1838491 Members
3021 Online
110126 Solutions
New Discussion

mount -F nfs -o largefiles. Is it possible?

 
SOLVED
Go to solution
Carme Torca
Super Advisor

mount -F nfs -o largefiles. Is it possible?

Hi,

I am doing this command:

#mount -F nfs -o log,nodatainlog,largefiles server1:/backup /backup

but it show me this error:


mount: illegal file system specific option largefiles
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory

Is not possible to put nfs and largefiles?
Cannot I mount one filesystem with largefiles in another server?


Thanks!
Carmen.
Users are not too bad ;-)
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: mount -F nfs -o largefiles. Is it possible?

Shalom Carmen,

No.

largefiles must be enabled on the local filesystem with the fsadm tool (on the nfs server) or with the newfs command, also on the nfs server.

Note also that 11i v1 HP-UX deprecated the need to provide largefiles in /etc/fstab or on the command line with mount. At mount time, the state of the filesystem is detected by the mount command.

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
Pete Randall
Outstanding Contributor

Re: mount -F nfs -o largefiles. Is it possible?

Carmen,

If you consult the man page for mount_nfs (man 1m mount_nfs), you'll see that largefiles is not an available option. Are you trying to place files large than 2GB onto an NFS mounted file system? Or are you trying to read them?


Pete

Pete
Asif Sharif
Honored Contributor

Re: mount -F nfs -o largefiles. Is it possible?

Carme Torca
Super Advisor

Re: mount -F nfs -o largefiles. Is it possible?

Hi,

I'm trying to put files larger than 2Mb.

Users are not too bad ;-)
Pete Randall
Outstanding Contributor

Re: mount -F nfs -o largefiles. Is it possible?

And it is not allowing you to put these files here? I would think that is a problem with the NFS file system and not with the mount option. If you check the file system on the NFS server, is it largefile capable?


Pete

Pete
Bill Hassell
Honored Contributor

Re: mount -F nfs -o largefiles. Is it possible?

Since the filesystem is not on your local computer, the remote system must allow files larger than 2Gb. However, NFS on BOTH systems must allow large files too. As mentioned, NFS on new versions of HP-UX will negotiate the NFS version but the same must be true of your remote system.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor
Solution

Re: mount -F nfs -o largefiles. Is it possible?

Hi again Carmen,

You mean 2 GB.

Bill and I (at least) both indicate there is nothing you can do on the client side to effect this.

For 2 GB files the NFS server must be using V3 or above of NFS. Largefiles must be enabled.

To correct this problme, you need root priviledges on the NFS server. Nothing you do on the nfs client will do a bit of good.

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
Carme Torca
Super Advisor

Re: mount -F nfs -o largefiles. Is it possible?

Hi,

Yes the origin is largefile, but when I mount by nfs this file, I have not privileges to put 2Mb files.

Users are not too bad ;-)
Carme Torca
Super Advisor

Re: mount -F nfs -o largefiles. Is it possible?

pardon 2G

And how can I see if the NFS server is using V3.
The NFS server is 11.11 and the client server 10.20.
Users are not too bad ;-)
Pete Randall
Outstanding Contributor

Re: mount -F nfs -o largefiles. Is it possible?

The 10.20 client system is your problem. It's definitely an older version of NFS so this is not going to work for you.


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: mount -F nfs -o largefiles. Is it possible?

Carmen,

Title: NFS: Filesize/filesystem specifics through 10.20
Document ID: A4798375

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080081454

--
The filesize limitation is therefore, specific to the client.
A 9.X client cannot create a file larger than 2Gb. In fact,
even a 10.20 NFS client cannot create a file larger than 2Gb
over an NFS mountpoint. A 10.20 system can create a local
file as large as 128Gb, but NFS large file support is not
available.
--
Regards,
Robert-Jan