AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
Expand all | Collapse all

NFS error on AIX6.1

  • 1.  NFS error on AIX6.1

    Posted Tue December 30, 2014 03:55 AM

    Originally posted by: yangwtao


    Error reported:

    Mount Windows NFS on AIX6.1.  "I/O error" reported when cd or ls , no error reported when mount the NFS.

    There are 3 directories exported by windows. Only /INBOX is normal. The other 2 report below error. And I checked Windows end directory permission. All granted everyone full permission.

    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# mount /busdata/p9mi/acj1/data/MISAOR/input
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# ls -l /busdata/p9mi/acj1/data/MISAOR/input
    ls: /busdata/p9mi/acj1/data/MISAOR/input: I/O error
    total 0
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE#

     

    Checking information:

    root@XXXXXX:/# sow show mount -e 10.75.0.102
    export list for 10.75.0.102:
    /INBOX          10.75.2.134
    /MISAOR_TRANSCO 10.75.2.134
    /OUTBOX         10.75.2.134
    root@XXXXXX:/# ifconfig -a
    en2: flags=1e084863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
            inet 10.75.2.134 netmask 0xfffff000 broadcast 10.75.15.255
             tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
    lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
            inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
            inet6 ::1%1/0
             tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
    root@XXXXXX:/# mount cat /etc/ grep -p OUTBOX /etc/filesystems
            dev             = "/OUTBOX/Demand/RFS/BESHEB_OE/ETL"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    /busdata/p9mi/acj1/data/BESHEBOE/output:
            dev             = "/OUTBOX/Demand/RFS/BESHEB_OE/TRANSCO"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    root@XXXXXX:/# grep -p INBOX /etc/filesystems
    /busdata/p9am/acj1/data/BESHEB/input:
            dev             = "/INBOX/BESHEB/ETL"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    /busdata/p9am/acj1/data/BESHEB/output:
            dev             = "/INBOX/BESHEB/TEMP"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    root@XXXXXX:/#  
    root@XXXXXX:/# lss ssrc -g nfs
    Subsystem         Group            PID          Status  
     biod             nfs              4390920      active
     rpc.statd        nfs              4653236      active
     rpc.lockd        nfs              4980928      active
     nfsd             nfs                           inoperative
     rpc.mountd       nfs                           inoperative
     nfsrgyd          nfs                           inoperative
     gssd             nfs                           inoperative
    root@XXXXXX:/# lssrc -s prot ortmap
    Subsystem         Group            PID          Status  
     portmap          portmap          3997946      active
    root@XXXXXX:/# lssrc -s biod
    Subsystem         Group            PID          Status  
     biod             nfs              4390920      active
    root@XXXXXX:/# df -m
    Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on
    /dev/hd4        2048.00   1417.51   31%    17408     5% /
    /dev/hd2        5632.00   1501.31   74%    76970    18% /usr
    /dev/hd9var     1536.00   1199.79   22%     3780     2% /var
    /dev/hd3        3072.00   1965.02   37%     6308     2% /tmp
    /dev/hd1        3072.00   1741.25   44%     1235     1% /home
    10.75.0.102:/INBOX/BESHEB/ETL 225277.00 122435.87   46% 26327328    46% /busdata/p9am/acj1/data/BESHEB/input
    10.75.0.102:/INBOX/BESHEB/TEMP 225277.00 122435.87   46% 26327328    46% /busdata/p9am/acj1/data/BESHEB/output
    10.75.0.102:/OUTBOX/Demand/RFS/BESHEB_OE/TRANSCO 225277.00 122435.87   46% 26327328    46% /busdata/p9mi/acj1/data/BESHEBOE/output
    root@XXXXXX:/#  
    root@XXXXXX:/#  
    root@XXXXXX:/# cd /busdata/p9mi/acj1/data/BESHEBOE/output
    ksh: /busdata/p9mi/acj1/data/BESHEBOE/output: bad directory
    root@XXXXXX:/# cd /busdata/p9mi/acj1/data/BESHEBOE/
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# ls -l
    total 41
    drwxrwxrwx    2 riwsacj1 iwdstage       4096 Dec 29 18:31 Output2
    drwxrwxrwx    3 riwsacj1 iwdstage       4096 Dec 29 18:31 Rejected
    drwxrwxrwx    5 riwsacj1 iwdstage       4096 Dec 29 18:31 Temp
    drwxrwxrwx    4 riwsacj1 iwdstage       4096 Dec 29 18:39 archive
    drwxr-xr-x    2 root     system          256 Dec 29 18:21 input
    drwxrwxrwx    2 riwsacj1 iwdstage         64 Dec 26 15:51 output
    drwxrwxrwx    2 riwsacj1 iwdstage       4096 Dec 29 18:24 split
    drwxr-xr-x    2 root     system          256 Dec 29 15:48 test
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# cd output
    ksh: output: bad directory
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# umount /busdata/p9mi/acj1/data/BESHEBOE/output
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# cd /busdata/p9mi/acj1/data/BESHEBOE/output
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# ls l
    l not found
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# ls -l
    total 0
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# grep -p OUTBOX /etc/filesystems
            dev             = "/OUTBOX/Demand/RFS/BESHEB_OE/ETL"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    /busdata/p9mi/acj1/data/BESHEBOE/output:
            dev             = "/OUTBOX/Demand/RFS/BESHEB_OE/TRANSCO"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# df -m
    Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on
    /dev/hd4        2048.00   1417.50   31%    17408     5% /
    /dev/hd2        5632.00   1501.31   74%    76970    18% /usr
    /dev/hd9var     1536.00   1199.78   22%     3780     2% /var
    /dev/hd3        3072.00   1965.02   37%     6308     2% /tmp
    /dev/hd1        3072.00   1741.24   44%     1235     1% /home
    10.75.0.102:/INBOX/BESHEB/ETL 225277.00 122435.86   46% 26327331    46% /busdata/p9am/acj1/data/BESHEB/input
    10.75.0.102:/INBOX/BESHEB/TEMP 225277.00 122435.86   46% 26327331    46% /busdata/p9am/acj1/data/BESHEB/output
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# mount /busdata/p9mi/acj1/data/BESHEBOE/oucj1/data/BESHEBOE/out                    <put
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# cd /busdata/p9mi/acj1/data/BESHEBOE/outpu/data/BESHEBOE/output                    <
    ksh: /busdata/p9mi/acj1/data/BESHEBOE/output: bad directory
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# pwd
    /busdata/p9mi/acj1/data/BESHEBOE/output
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE/output# cd ../
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# cd ls -l
    total 41
    drwxrwxrwx    2 riwsacj1 iwdstage       4096 Dec 29 18:31 Output2
    drwxrwxrwx    3 riwsacj1 iwdstage       4096 Dec 29 18:31 Rejected
    drwxrwxrwx    5 riwsacj1 iwdstage       4096 Dec 29 18:31 Temp
    drwxrwxrwx    4 riwsacj1 iwdstage       4096 Dec 29 18:39 archive
    drwxr-xr-x    2 root     system          256 Dec 29 18:21 input
    drwxrwxrwx    2 riwsacj1 iwdstage         64 Dec 26 15:51 output
    drwxrwxrwx    2 riwsacj1 iwdstage       4096 Dec 29 18:24 split
    drwxr-xr-x    2 root     system          256 Dec 29 15:48 test
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# lssrc -g nfs
    Subsystem         Group            PID          Status  
     biod             nfs              4390920      active
     rpc.statd        nfs              4653236      active
     rpc.lockd        nfs              4980928      active
     nfsd             nfs                           inoperative
     rpc.mountd       nfs                           inoperative
     nfsrgyd          nfs                           inoperative
     gssd             nfs                           inoperative
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# rpcinfo -p 10.75.0.102
       program vers proto   port  service
        100000    2   udp    111  portmapper
        100000    3   udp    111  portmapper
        100000    4   udp    111  portmapper
        100000    2   tcp    111  portmapper
        100000    3   tcp    111  portmapper
        100000    4   tcp    111  portmapper
        100005    1   tcp   1048  mountd
        100005    2   tcp   1048  mountd
        100005    3   tcp   1048  mountd
        100005    1   udp   1048  mountd
        100005    2   udp   1048  mountd
        100005    3   udp   1048  mountd
        100021    1   tcp   1047  nlockmgr
        100021    2   tcp   1047  nlockmgr
        100021    3   tcp   1047  nlockmgr
        100021    4   tcp   1047  nlockmgr
        100021    1   udp   1047  nlockmgr
        100021    2   udp   1047  nlockmgr
        100021    3   udp   1047  nlockmgr
        100021    4   udp   1047  nlockmgr
        100024    1   tcp   1039  status
        100024    1   udp   1039  status
        100003    2   tcp   2049  nfs
        100003    3   tcp   2049  nfs
        100003    2   udp   2049  nfs
        100003    3   udp   2049  nfs
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# rpcinfo -u 10.75.0.102 mount
    program 100005 version 1 ready and waiting
    program 100005 version 2 ready and waiting
    program 100005 version 3 ready and waiting
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# rpcinfo -u 10.75.0.102 portmap
    program 100000 version 2 ready and waiting
    program 100000 version 3 ready and waiting
    program 100000 version 4 ready and waiting
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# rp et - set
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# set -o vi
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# set -o virpcinfo -u 10.75.0.102 portmaprpcinfo -u 10.75.0.102 mount  rpcinfo -u 10.75.0.102 portmaprpcinfo -u 10.75.0.102 portma nfs
    program 100003 version 2 ready and waiting
    program 100003 version 3 ready and waiting
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# showmount -e 10.75.0.102
    export list for 10.75.0.102:
    /INBOX          10.75.2.134
    /MISAOR_TRANSCO 10.75.2.134
    /OUTBOX         10.75.2.134
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# nfsstat -s
     
    Server rpc:
    Connection oriented:
    calls      badcalls   nullrecv   badlen     xdrcall    dupchecks  dupreqs     
    0          0          0          0          0          0          0           
    Connectionless:
    calls      badcalls   nullrecv   badlen     xdrcall    dupchecks  dupreqs     
    0          0          0          0          0          0          0           
     
    Server nfs:
    calls      badcalls   public_v2  public_v3   
    0          0          0          0           
    Version 2: (0 calls)
    null       getattr    setattr    root       lookup     readlink   read        
    0 0%       0 0%       0 0%       0 0%       0 0%       0 0%       0 0%        
    wrcache    write      create     remove     rename     link       symlink     
    0 0%       0 0%       0 0%       0 0%       0 0%       0 0%       0 0%        
    mkdir      rmdir      readdir    statfs      
    0 0%       0 0%       0 0%       0 0%        
    Version 3: (0 calls)
    null       getattr    setattr    lookup     access     readlink   read        
    0 0%       0 0%       0 0%       0 0%       0 0%       0 0%       0 0%        
    write      create     mkdir      symlink    mknod      remove     rmdir       
    0 0%       0 0%       0 0%       0 0%       0 0%       0 0%       0 0%        
    rename     link       readdir    readdir+   fsstat     fsinfo     pathconf    
    0 0%       0 0%       0 0%       0 0%       0 0%       0 0%       0 0%        
    commit      
    0 0%        
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# nfsstat -c
     
    Client rpc:
    Connection oriented:
    calls      badcalls   badxids    timeouts   newcreds   badverfs   timers      
    433002     2          0          0          0          0          0           
    nomem      cantconn   interrupts  
    0          1          0           
    Connectionless:
    calls      badcalls   retrans    badxids    timeouts   newcreds   badverfs    
    12         0          0          0          0          0          0           
    timers     nomem      cantsend    
    0          0          0           
     
    Client nfs:
    calls      badcalls   clgets     cltoomany   
    433980     1          0          0           
    Version 2: (0 calls)
    null       getattr    setattr    root       lookup     readlink   read        
    0 0%       0 0%       0 0%       0 0%       0 0%       0 0%       0 0%        
    wrcache    write      create     remove     rename     link       symlink     
    0 0%       0 0%       0 0%       0 0%       0 0%       0 0%       0 0%        
    mkdir      rmdir      readdir    statfs      
    0 0%       0 0%       0 0%       0 0%        
    Version 3: (432996 calls)
    null       getattr    setattr    lookup     access     readlink   read        
    0 0%       125505 28% 1164 0%    1152 0%    8648 1%    0 0%       1472 0%     
    write      create     mkdir      symlink    mknod      remove     rmdir       
    99895 23%  292 0%     0 0%       0 0%       0 0%       348 0%     0 0%        
    rename     link       readdir    readdir+   fsstat     fsinfo     pathconf    
    0 0%       0 0%       10 0%      86 0%      193724 44% 27 0%      0 0%        
    commit      
    673 0%      
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE#  
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# grep -p INB OUTBOX /etc/filesystem
    grep: can't open /etc/filesystem
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# grep -p OUTBOX /etc/filesystemgrep -p OUTBOX /etc/filesystems
            dev             = "/OUTBOX/Demand/RFS/BESHEB_OE/ETL"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    /busdata/p9mi/acj1/data/BESHEBOE/output:
            dev             = "/OUTBOX/Demand/RFS/BESHEB_OE/TRANSCO"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# ls -ld /busdata/p9mi/acj1/data/BESHEBOE/output
    drwxrwxrwx    2 riwsacj1 iwdstage         64 Dec 26 15:51 /busdata/p9mi/acj1/data/BESHEBOE/output
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# grep INBOX /etc/filesystems
            dev             = "/INBOX/BESHEB/ETL"
            dev             = "/INBOX/BESHEB/TEMP"
    root@XXXXXX:/busdata/p9mi/acj1/data/BESHEBOE# grep -p INBOX /etc/filesystems
    /busdata/p9am/acj1/data/BESHEB/input:
            dev             = "/INBOX/BESHEB/ETL"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
    /busdata/p9am/acj1/data/BESHEB/output:
            dev             = "/INBOX/BESHEB/TEMP"
            vfs             = nfs
            nodename        = 10.75.0.102
            mount           = true
            options         = bg,hard,intr,nosuid,sec=sys
            account         = false
     
     



  • 2.  Re: NFS error on AIX6.1

    Posted Wed December 31, 2014 12:49 AM

    Originally posted by: yangwtao


    Cancel export and export again from windows server end fix this problem.