Sponsored Content
Operating Systems AIX Migrating NFSv3 to NFSv4 in AIX Post 303005390 by System Admin 77 on Tuesday 17th of October 2017 05:56:30 PM
Old 10-17-2017
Thanks for your time and explanation.

Actually I did used NFSv4 earlier. Do not know I miss something here.


unmounted nfsv3 share on a client.

Just now, I've modified the "/etc/exports" with vers=4 and exported it again on server. Stopped and restarted all the nfs daemons.

restarted nfs daemons on test client machine.
Tried mounting on client,

Code:
Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

mount: 1831-010 server nfsserver not responding: RPC: 1832-015 Remote system error - A remote host refused an attempted connect operation.
mount: backgrounding
nfserver:/nfsv4share/test

---------- Post updated at 03:28 PM ---------- Previous update was at 02:56 PM ----------

Never mind. Its working now for NFSv3. Actually I restarted only 2 daemons(nfsd, nfsrgyd) on server.

Now I've restarted all the NFS daemons. Good with NFSv3.


I cleaned /etc/rmtab and /etc/xtab.

Now the share is exported with NFSv4 only.

domain has set on NFS server and client.


tried mounting, received below error.
Code:
                                                                        COMMAND STATUS

Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

mount: 1831-011 access denied for nfsserver:/admclaim/sandrt
mount: 1831-008 giving up on:
nfsserver:/nfsv4share/test
The file access permissions do not allow the specified action.

Found a IBM link, looking in to it.

IBM How to troubleshoot NFS mounting problems


---------- Post updated at 03:45 PM ---------- Previous update was at 03:28 PM ----------

Tried checking IP and hostname etc as shown in the link. I believe this is something different, that only occurs on NFSv4 ?

Please suggest. Thank you.

---------- Post updated at 05:56 PM ---------- Previous update was at 03:45 PM ----------

I've tried mounting using smitty (just like NFSv3). It did not work.

then I ran below command on client, it worked. As per the Redook, I should be able to use same smitty mount options for NFSv4 as well. Correct me If am wrong.

Code:
mount -o vers=4 nfsserver:/nfsshare/test /mnt


How do I verify whether my client is using NFSv4.


because I still see mountd and lockd daemons.

Code:
>rpcinfo -p
   program vers proto   port  service
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    200006    1   udp   2049
    200006    4   udp   2049
    200006    1   tcp   2049
    200006    4   tcp   2049
    100005    1   tcp  36732  mountd
    100005    2   tcp  36732  mountd
    100005    3   tcp  36732  mountd
    100005    1   udp  61488  mountd
    100005    2   udp  61488  mountd
    100005    3   udp  61488  mountd
    400005    1   udp  61489
    100024    1   tcp  36733  status
    100024    1   udp  61493  status
    100133    1   tcp  36733
    100133    1   udp  61493
    200001    1   tcp  36733
    200001    1   udp  61493
    200001    2   tcp  36733
    200001    2   udp  61493
    100021    1   udp  61571  nlockmgr
    100021    2   udp  61571  nlockmgr
    100021    3   udp  61571  nlockmgr
    100021    4   udp  61571  nlockmgr
    100021    1   tcp  36755  nlockmgr
    100021    2   tcp  36755  nlockmgr
    100021    3   tcp  36755  nlockmgr
    100021    4   tcp  36755  nlockmgr
    400003    1   udp  62548

Please let me know If there's a way to find out running NFS share version.

Thank you
 

9 More Discussions You Might Find Interesting

1. AIX

Problem with migrating from AIX 5.1 to 5.3

I'am migrating from AIX 5.1 to 5.3 during migration installation a receive message enough space for dir /usr. My question is : how i can resolve this problem ? i can't reboot my server i hope that there is a command to obtain a spece without go out from installation procedure pannel... I'am... (0 Replies)
Discussion started by: tt155
0 Replies

2. AIX

Migrating AIX users to Linux

Hi all, I was wondering if anyone out there knew if it was possible to migrate users from AIX to Linux. What we want to do is install OpenLDAP on a Linux machine and port all the users over to LDAP. I've googled around and could only find a few things, such as mrgpwd - but that only comes... (0 Replies)
Discussion started by: djcronos
0 Replies

3. AIX

migrating easytrieve from Z/OS to AIX platform

Hi, my requirement is to migrate easytrieve running on Z/OS to AIX platform. can anyone let me know what changes should be made if we do such a migration. (0 Replies)
Discussion started by: rohit510
0 Replies

4. AIX

Migrating C Application from AIX to Linux

Hi All, I am currently facing new problem of migrating C(c language) application from AIX machine to Linux machine. We are using GCC to compile the source code.. But facing with the compilation issues, with lot of GCC C libs differing between AIX box to Linux box... Pls help me... (3 Replies)
Discussion started by: karthikc
3 Replies

5. AIX

AIX Servers Ugrading or Migrating

:( Hi Grue, I am very new in AIX/UNIX environment. Please give me answer that during the upgrading or Migrating to 6.1 the AIX Server the applications of this server is accessible to Apps users or not? Thanks (2 Replies)
Discussion started by: Tahniet
2 Replies

6. AIX

Migrating a NIM Server to AIX 6.1

Guys, We are planning to upgrade one of our NIM server to AIX 6.1 from 5.3... Since the server itself is a NIM Server we can't perform it via NIM & I'm choosing to do CD install.. The Install method would be Upgrade installation. Is there anything special that I need to consider before... (5 Replies)
Discussion started by: kkeng808
5 Replies

7. AIX

Migrating RHEL 5 UNIX users to AIX

Hi, I'm able to migrate UNIX users/groups from Solaris to AIX (with same password using 13-char encrypted password from shadow file) but no luck with RHEL 5 to AIX. I see encrypted password in RHEL 5 is bit lengthier than 13-char. Is there any way to convert encrypted password such that same... (1 Reply)
Discussion started by: reddyr
1 Replies

8. AIX

Migrating from HP Unix to IBM AIX 6.1

HI , We are in process to migrate from UNIX to AIX 6.1 version . I need to understand differences between commands that are used in UNIX and AIX. I want to make sure AIX has all command options avaliable from HP Unix.If any mismatch it should be addressed . Since many commands are used it... (2 Replies)
Discussion started by: Perlbaby
2 Replies

9. AIX

Upgrading to AIX 7 vs migrating

Hi all, I have this weird notion that upgrading the TL does not cause the machine to wipe, but upgrading a major version (from aix 6 to 7) means it's actually a fresh install and will wipe the date and i have to install the software again (TSM server, for instance). Trying to google it, i came... (3 Replies)
Discussion started by: tde3000
3 Replies
All times are GMT -4. The time now is 08:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy