Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-90562

[nfsiostat] all the nfs mounts are listed even though a mount_point specified

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • nfs-utils
    • None
    • rhel-fs
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      The nfsiostat man page says:

      If one or more <mount point> names are specified, statistics for only these mount points  will  be  displayed.

      But sometimes it shows all the mount points:

      [root@dell-per660-23 ~]# nfsstat -m
      /mnt_2 from fs-qe.usersys.redhat.com:/
       Flags: rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.73.180.23,local_lock=none,addr=10.73.4.30
      
      /mnt_1 from fs-qe.usersys.redhat.com:/
       Flags: rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.73.180.23,local_lock=none,addr=10.73.4.30
      
      /mnt_3 from fs-qe.usersys.redhat.com:/
       Flags: rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.73.180.23,local_lock=none,addr=10.73.4.30[root@dell-per660-23 ~]#
      
      [root@dell-per660-23 ~]# nfsiostat | grep fs-qe
      fs-qe.usersys.redhat.com:/ mounted on /mnt_2:
      fs-qe.usersys.redhat.com:/ mounted on /mnt_1:
      fs-qe.usersys.redhat.com:/ mounted on /mnt_3:
      [root@dell-per660-23 ~]# nfsiostat 1 1 /mnt_3/ | grep fs-qe
      fs-qe.usersys.redhat.com:/ mounted on /mnt_2:     <<<<<<<<
      fs-qe.usersys.redhat.com:/ mounted on /mnt_1:     <<<<<<<<
      fs-qe.usersys.redhat.com:/ mounted on /mnt_3:
      [root@dell-per660-23 ~]# nfsiostat 1 1 /mnt_2 | grep fs-qe
      fs-qe.usersys.redhat.com:/ mounted on /mnt_2:
      [root@dell-per660-23 ~]#
      [root@dell-per660-23 ~]# rpm -q nfs-utils
      nfs-utils-2.8.3-0.el10.x86_64
      [root@dell-per660-23 ~]#

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      Both rhel9 and rhel10

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

              nfs-team-list NFS Team
              rhn-support-yoyang Yongcheng Yang
              NFS Team NFS Team
              Yongcheng Yang Yongcheng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: