From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,235d329bd6be1c6,start X-Google-Attributes: gidfee84,public From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme) Subject: Re: How to mount a remote NFS system on Linux from DEC Unix Date: 1999/10/11 Message-ID: <7tsrnv$u81$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 536194942 References: <7trlg7$csg$1@info.sta.net.cn> Organization: Digital Equipment Corporation Reply-To: (Replace nobody with werme) nobody@zk3.dec.com Newsgroups: comp.unix.osf.osf1 "news.sta.net.cn" writes: > When I try to mount a remote NFS device on Redhat 6.0 Linux from >Digital Unix 4.0d, using 'mount -t nfs xxx:/yyy /mnt'. It told me that the >version of RPC is not compatible. I find that digital Unix use rpc version 3 >and Linux is Version 2. If it possible use version 2 rpc request from >client? Did you get the terminology backward? By default, RH6.0 doesn't have NFS V3 support, The Tru64 client uses NFS V3. (BTW, both ends use _RPC_ V2, RPC V1 never made it out of Sun, IIRC.) Our message about that might be confusing. However, our mount(8) should automatically fall back and try NFS V2 if V3 doesn't work. >From the Tru64 mount(8): nfsv2 Normally, the mount command tries to use Version 3 of the NFS protocol. If the server does not support Version 3, then the mount command retries the mount using Version 2. Specifying -o nfsv2 forces the mount command to use NFS Version 2. NFS Version 3 is an enhanced ver- sion of the NFS protocol that provides 64 bit file access, as well as features designed to improve performance and correctness. Alternatively, you can use the vers=2 argument. nfsv3 Tries to use Version 3 of the NFS protocol. If the server does not support it, Version 2 is used. This is the default. Alternatively, you can use the vers=3 argument. vers=n Specifies the version of the NFS protocol. You can specify either Ver- sion 3 or Version 2. Normally, the mount command tries to use Version 3 of the NFS protocol. If the server does not support Version 3, then the mount command retries the mount using Version 2. Specifying vers=2 forces the mount command to use NFS Version 2. NFS Version 3 is an enhanced version of the NFS protocol that provides 64 bit file access, as well as features designed to improve performance and correctness. Alternatively, you can use the nfsv2 or nfsv3 argument. (One form is BSD syntax, the other is Sun's.) So, try 'Tru64# mount -t nfs -o nfsv2 xxx:/yyy /mnt'. The "-t nfs" is unnecessary. When mount sees the ':', it assumes NFS. I'd expect that "RH60# mount tru64:/yyy /mnt" should use NFS V2 without trouble. -Ric Werme -- <> Eric (Ric) Werme <> The above is unlikely to contain <> <> ROT-13 addresses: <> official claims or policies of <> <> <> Compaq Computer Corp. <> <> <> http://people.ne.mediaone.net/werme <>