* Re: How to mount a remote NFS system on Linux from DEC Unix
[not found] <7trlg7$csg$1@info.sta.net.cn>
@ 1999-10-11 4:00 ` Eric Werme - replace nospam with werme
1999-10-14 4:00 ` Jesper Frank Nemholt
0 siblings, 1 reply; 2+ messages in thread
From: Eric Werme - replace nospam with werme @ 1999-10-11 4:00 UTC (permalink / raw)
"news.sta.net.cn" <isgsh@public.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 <>
<> <jrezr@mx3.qrp.pbz> <> Compaq Computer Corp. <>
<> <jrezr@zrqvnbar.arg> <> http://people.ne.mediaone.net/werme <>
^ permalink raw reply [flat|nested] 2+ messages in thread