Re: lost nfs mount -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/20/18 07:36, Bob Goodwin wrote:
> .
> [root@ASRock-J3455M bobg]# systemctl status nfs
> ● nfs-server.service - NFS server and services
>    Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor
> preset: disabled)
>   Drop-In: /run/systemd/generator/nfs-server.service.d
>            └─order-with-mounts.conf
>    Active: failed (Result: exit-code) since Thu 2018-07-19 19:31:12 EDT; 24s ago
>   Process: 1476 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
>   Process: 1475 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
>   Process: 1474 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
>
> Jul 19 19:31:12 ASRock-J3455M systemd[1]: Starting NFS server and services...
> Jul 19 19:31:12 ASRock-J3455M exportfs[1474]: exportfs: Failed to stat
> /mnt/test/backups: No such file or director

Well, there is your problem.   You need to check your /etc/exports file.

For example....  If I make an error in my exports file and type "hom" instead of
"home" I get....

● nfs-server.service - NFS server and services
   Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor
preset: disabled)
  Drop-In: /run/systemd/generator/nfs-server.service.d
           └─order-with-mounts.conf
   Active: failed (Result: exit-code) since Fri 2018-07-20 07:40:22 CST; 2min 57s ago
  Process: 7259 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
  Process: 7258 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
  Process: 7233 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
  Process: 4800 ExecStart=/bin/sh -c if systemctl -q is-active gssproxy; then
systemctl restart gssproxy ; fi (code=exited, status=0/SUCCESS)
  Process: 4787 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
  Process: 7257 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
 Main PID: 4800 (code=exited, status=0/SUCCESS)

Jul 20 07:40:22 f28k-b1.greshko.com systemd[1]: Starting NFS server and services...
Jul 20 07:40:22 f28k-b1.greshko.com exportfs[7257]: exportfs: Failed to stat
/hom/egreshko: No such file or directory
Jul 20 07:40:22 f28k-b1.greshko.com systemd[1]: nfs-server.service: Control process
exited, code=exited status=1
Jul 20 07:40:22 f28k-b1.greshko.com systemd[1]: nfs-server.service: Failed with
result 'exit-code'.
Jul 20 07:40:22 f28k-b1.greshko.com systemd[1]: Stopped NFS server and services.


-- 
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/YNY3NKNDZDEVDHVE745VXBQC3YLJK2LH/
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux