Re: NFS

Newsgroups Answer 
Subject: Re: NFS
From: lehis@lehis.ru (Alexey V. Panfilov)
Newsgroups: vlady.ru.admin.kurilka
Date: Nov 06 2019 10:11:35
05.11.2019 23:59, Igor :
Alexey V. Panfilov wrote:

showmount -e "" "" ?

:
# showmount -e
Exports list on localhost:
/usr/src 10.0.0.10
/usr/obj 10.0.0.10

:
# showmount -e
Exports list on localhost:


, FreeBSD 12.1



.... 12.0, (
):

[root@monit ~]# grep -A 7 NFS /etc/rc.conf
#### NFS Server ####
rpcbind_enable="YES"
rpcbind_flags="-l -h 127.0.0.1"
mountd_enable="YES"
mountd_flags="-r"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4 -h 127.0.0.1"
####################
[root@monit ~]# cat /etc/exports:
/usr/src /usr/obj -ro 127.0.0.1

[root@monit ~]# /etc/rc.d/rpcbind start
Starting rpcbind.
[root@monit ~]# /etc/rc.d/mountd start
Starting mountd.
[root@monit ~]# /etc/rc.d/nfsd start
NFSv4 is disabled
Starting nfsd.
[root@monit ~]# showmount -e
Exports list on localhost:
/usr/src                           127.0.0.1
/usr/obj                           127.0.0.1
[root@monit ~]# mount 127.0.0.1:/usr/src /mnt/
[root@monit ~]# df -h
Filesystem            Size    Used   Avail Capacity  Mounted on
/dev/vtbd0s1a         9.2G    3.0G    5.5G    35%    /
devfs                 1.0K    1.0K      0B   100%    /dev
/dev/vtbd1p1          9.7G     29M    8.9G     0%    /mnt/hdd2
127.0.0.1:/usr/src    9.2G    3.0G    5.5G    35%    /mnt
[root@monit ~]# uname -a
FreeBSD monit 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC  amd64


--
Simple Lehisnoe ;-)



Date Subject  Author
05.11. * NFSIgor
05.11. `* Re: NFSAlexey V. Panfilov
05.11.  `* Re: NFSIgor
06.11.   +* Re: NFSAlexey V. Panfilov
07.11.   |+- Re: NFSIgor
07.11.   |`* Re: NFSIgor
07.11.   | +* Re: NFSAlexey V. Panfilov
07.11.   | |`- Re: NFSIgor
08.11.   | `* Re: NFSAndrii Protsun
09.11.   |  +- Re: NFSIgor
09.11.   |  `- Re: NFSIgor
13.11.   `* Re: NFSIvanov Dmitry
14.11.    +* Re: NFSAlexey V. Panfilov
16.11.    |`* Re: NFSAndrii Protsun
17.11.    | `* Re: NFSIgor
18.11.    |  `* Re: NFSAlexey V. Panfilov
18.11.    |   `* Re: NFSIgor
18.11.    |    `* Re: NFSAlexey V. Panfilov
18.11.    |     `- Re: NFSIgor
14.11.    +* Re: NFSIgor
14.11.    |`* Re: NFSIvanov Dmitry
15.11.    | `* Re: NFSIgor
15.11.    |  `- Re: NFSIgor
16.11.    +* Re: NFSIgor
18.11.    |`* Re: NFSVlady
18.11.    | `- Re: NFSIgor
17.11.    `* Re: NFSIgor
18.11.     `* Re: NFSAlexey V. Panfilov
18.11.      +* Re: NFSIgor
18.11.      |+* Re: NFSAlexey V. Panfilov
18.11.      ||`* Re: NFSIgor
18.11.      || `* Re: NFSAlexey V. Panfilov
18.11.      ||  +- Re: NFSIgor
18.11.      ||  `* Re: NFSphaggi
18.11.      ||   `- Re: NFSAlexey V. Panfilov
18.11.      |`* Re: NFSphaggi
19.11.      | `* Re: NFSAnt
19.11.      |  `- Re: NFSphaggi
18.11.      `* Re: NFSVlady
18.11.       `* Re: NFSAlexey V. Panfilov
18.11.        `* Re: NFSVlady
18.11.         +- Re: NFSVlady
19.11.         +- Re: NFSIgor
19.11.         `* Re: NFSAlexey V. Panfilov
19.11.          `- Re: NFSVlady

"News-Portal" was written by Florian Amrhein.