Results 1 to 8 of 8

Thread: nfs server

  1. #1
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default nfs server

    hi

    on a tumbleweed fresly installed (today) i try to setup a nfs server


    in yast, when i go to nfs server:

    i see in firewall not configurable section:

    some firewalld service are not available

    - nfs-kernel-server (not available)

    these services musddt be defined in order toc onfigure the firewall)



    nfs service is started

    nsfs kernel server is installed

    any other thing to do?
    www.laboiteaprog.com

  2. #2
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,698

    Default Re: nfs server

    Quote Originally Posted by collinm View Post
    any other thing to do?
    Do you have /etc/exports with anything in it?

  3. #3
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default Re: nfs server

    Quote Originally Posted by mrmazda View Post
    Do you have /etc/exports with anything in it?
    no don't have this files
    www.laboiteaprog.com

  4. #4
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,698

    Default Re: nfs server

    You can configure it manually using 'man exports', or using yast, https://doc.opensuse.org/documentati...e/cha.nfs.html. Without it you have the server serving nothing.

  5. #5
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default Re: nfs server

    Quote Originally Posted by mrmazda View Post
    You can configure it manually using 'man exports', or using yast, https://doc.opensuse.org/documentati...e/cha.nfs.html. Without it you have the server serving nothing.


    seem to have an issue with the ui

    nfs kernel server is installed
    https://pasteboard.co/HeOHtMF.png

    but yast nfs server don't seem to see it...

    https://pasteboard.co/HeOJ7en.png


    in

    /etc/exports

    i have

    /home/bob/Downloads *(ro,root,_squash,sync,no_substree_check)


    my server address is: 192.168.11.109



    from my other computer (ip: 192.168.11.111) when i go in yast nfs: client and type

    192.168.11.109

    Error

    No NFS server has been found on your network, this could be caused by a running firewall, which probably blocks the network scanning....



    On my server

    default zone is public: and nfs is checked, it,s also checked for internal
    www.laboiteaprog.com

  6. #6
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,698

    Default Re: nfs server

    I don't know whether * instead of IPaddr/IPaddr in "/home/bob/Downloads *(ro,root,_squash,sync,no_substree_check)" is valid. I've never tried any such syntax. Mine are all in the form 192.168.###.###/255.255.255.0. Why YaST says firefwall->nfs-kernel-server not configurable I have no idea. What does
    Code:
    systemctl status nfs-server.service
    report?

    Code:
    showmount -e
    on your server must produce output for any other computer to see its files.

  7. #7
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default Re: nfs server

    Quote Originally Posted by mrmazda View Post
    I don't know whether * instead of IPaddr/IPaddr in "/home/bob/Downloads *(ro,root,_squash,sync,no_substree_check)" is valid. I've never tried any such syntax. Mine are all in the form 192.168.###.###/255.255.255.0. Why YaST says firefwall->nfs-kernel-server not configurable I have no idea. What does
    Code:
    systemctl status nfs-server.service
    report?

    Code:
    showmount -e
    on your server must produce output for any other computer to see its files.
    systemctl status nfs-server.service
    ● nfs-server.service - NFS server and services
    Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: d
    Drop-In: /usr/lib/systemd/system/nfs-server.service.d
    └─nfsserver.conf, options.conf
    /run/systemd/generator/nfs-server.service.d
    └─order-with-mounts.conf
    Active: active (exited) since Mon 2018-04-02 19:01:04 EDT; 2h 35min ago
    Process: 22396 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
    Process: 22394 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
    Process: 22392 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
    Process: 22402 ExecStart=/usr/sbin/rpc.nfsd $NFSD_OPTIONS (code=exited, status=0/SUCCE
    Process: 22401 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
    Main PID: 22402 (code=exited, status=0/SUCCESS)

    Apr 02 19:01:04 linux-e6zd systemd[1]: Starting NFS server and services...
    Apr 02 19:01:04 linux-e6zd systemd[1]: Started NFS server and services.


    showmount -e
    clnt_create: RPC: Unknown host
    www.laboiteaprog.com

  8. #8
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,698

    Default Re: nfs server

    When NFS is correctly configured, showmount -e output begins with
    Code:
    Export list for <hostname>:
    Try replacing * with 192.168.11.109/255.255.255.0 in /etc/exports, then
    Code:
    systemctl restart nfs.server
    showmount -e
    or reboot.

    Your systemctl status nfs.server.service output is much different, and longer, than mine, which only shows 3 SUCCESS lines, and does not have nfsv4 enabled.

    I've only ever used nfs-server on PCs with fixed IP addresses. Servers usually don't change IP addresses, more often providing the DHCP service that doles them out to clients. Maybe nfs-server works better (only?) on fixed IP and you should try reconfiguring your server to use it.

Posting Permissions

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