Results 1 to 4 of 4

Thread: NFS problems after username change

  1. #1
    Join Date
    Apr 2010
    Location
    Netherlands
    Posts
    29

    Default NFS problems after username change

    I have a strange NFS problem and it can be related to these listings:

    When I do a /usr/sbin/showmount --directories 192.168.1.6
    Directories on 192.168.1.6:
    /home/gert-jan/Shared
    /home/gert-jan/Website

    The name gert-jan was the old username

    /usr/sbin/showmount --exports 192.168.1.6
    Export list for 192.168.1.6:
    /home/gertjan/Books *
    /home/gertjan/Fotos *
    /home/gertjan/Mail *
    /home/gertjan/Music *
    /home/gertjan/Shared *

    This listing is connect, he uses the new username gertjan.

    How can I correct this, In the NFS server and client I can't find my old username just the new one.
    Please advise.

  2. #2

    Default Re: NFS problems after username change

    graamsdo wrote:
    > I have a strange NFS problem and it can be related to these listings:
    >
    > When I do a /usr/sbin/showmount --directories 192.168.1.6
    > Directories on 192.168.1.6:
    > /home/gert-jan/Shared
    > /home/gert-jan/Website
    >
    > The name gert-jan was the old username
    >
    > /usr/sbin/showmount --exports 192.168.1.6
    > Export list for 192.168.1.6:
    > /home/gertjan/Books *
    > /home/gertjan/Fotos *
    > /home/gertjan/Mail *
    > /home/gertjan/Music *
    > /home/gertjan/Shared *
    >
    > This listing is connect, he uses the new username gertjan.
    >
    > How can I correct this, In the NFS server and client I can't find my
    > old username just the new one.


    Dunno. Pure guess is that this is out-dated cached information. I'd
    guess things would cure themselves if you can unmount the directories
    from the client and then remount them. I'd think that rebooting the
    machines would be even more sure - but it is a bit defeatist. There may
    be a way to do it whilst keeping everything online, but it would need
    strong foo or good luck to find it (hint: it probably involves lazy
    remounts and suchlike).

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,000
    Blog Entries
    14

    Default Re: NFS problems after username change

    Please post output of:

    On the serverside
    Code:
    cat /etc/exports
    On the client side:
    Code:
    cat /etc/fstab
    These are the 2 files that matter. You probably set the exports, but did not adjust the fstab.
    Let us know how you got on with your namechange (see link in my sig )
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Apr 2010
    Location
    Netherlands
    Posts
    29

    Default Re: NFS problems after username change

    Quote Originally Posted by Knurpht View Post
    Please post output of:

    On the serverside
    Code:
    cat /etc/exports
    On the client side:
    Code:
    cat /etc/fstab
    These are the 2 files that matter. You probably set the exports, but did not adjust the fstab.
    Let us know how you got on with your namechange (see link in my sig )
    These are the exports on my server.
    /home/gertjan/Shared *(rw,no_root_squash,insecure,no_subtree_check,sync,all_squash)
    /home/gertjan/Music/ *(no_subtree_check,sync)
    /home/gertjan/Mail/ *(rw,no_root_squash,insecure,no_subtree_check,sync,all_squash)
    /home/gertjan/Fotos/ *(no_subtree_check,sync)
    /home/gertjan/Books/ *(no_subtree_check,sync)

    In the fstab I have only the default, no NFS shares ares in there.
    The problem is the server side, but I can't find any reference to my old login name anywhere

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •