AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  showmount -a false reporting

    Posted 03/18/08 05:29 PM

    Originally posted by: nevp


    when I run showmount -a I get a list of mounted filesystems as one would expect. The problem is, most of the mounts listed are not really mounted. What would cause this behavior? Better yet how do I fix it?

    thanks

    $ oslevel -s
    5300-04-03
    #AIX-Forum


  • 2.  Re: showmount -a false reporting

    Posted 03/18/08 05:39 PM

    Originally posted by: orphy


    Are you talking about NFS mounts or are you talking about local filesystems on a particular server? They are two different things. The showmount command deals with NFS-related stuff but it doesn't really tell you about locally mounted filesystems. You need the mount command for local FS.

    If you are talking about local filesystems, look at the following commands:
    mount
    lsfs -q
    chfs

    For NFS, if you export a number of FSs from one server and you don't have those filesystems mounted on a client box, you need to go to the client box and add them using "smitty mknfsmnt".
    Orphy
    #AIX-Forum


  • 3.  Re: showmount -a false reporting

    Posted 03/18/08 06:14 PM

    Originally posted by: unixgrl


    I've seen this too.
    From the manpage, you get entries in there for every host that has ever mounted the filesystem and it doesn't get removed until the client explicitly unmounts it.

    So, if the filesystem was mounted to client X and then client X reboots without unmounting it, the entry stays in /etc/rmtab.

    I haven't tried myself, but it looks like editing /etc/rmtab manually to remove the old data would clean things up.
    #AIX-Forum


  • 4.  Re: showmount -a false reporting

    Posted 03/19/08 01:01 PM

    Originally posted by: nevp


    This is for NFS mounts.
    after cleaning up /etc/rmtab and restarting nfs and mountd some went away and some stayed. I think in my case most of the NFS mounts in showmount -a are related to domain and hostname changes but I'm not 100% sure at this point.
    #AIX-Forum