Date: Fri, 7 May 2010 16:25:22 +0300 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: freebsd-fs@freebsd.org Subject: CFT: nfse compatible mode with mountd (NFS exports file) Message-ID: <20100507132522.GA67068@pm513-1.comsys.ntu-kpi.kiev.ua>
next in thread | raw e-mail | index | archive | help
Hello, NFSE is a new NFS exports support for FreeBSD 9.0-CURRENT and 8.0-STABLE. NFSE distribution consists of changes for the regular and experimental NFS servers and the nfse utility. The nfse utility uses new NFS exports file format that looks like exports(5), but has different semantics of export entities. Also nfse has the compatible mode with mountd that allows to continue to use existent configurations for NFS exports. I made tests on my NFS exports configurations to verify correctness of the compatible mode with mountd, but want to ask other administrators to check nfse with their exports(5) files. Only compilation of the userland program is required, even if you run nfse with wrong options under root privileges it will not modify any NFS exports settings in the kernel, since it uses a new API. How to check: 1. FreeBSD 8.0 or 9.0 is required. 2. Download new version of NFSE updates from http://nfse.sourceforge.net/ 3. Build nfse using the TESTING-BUILD script (result in usr.sbin/nfse/). 4. Run "nfse -Ct /etc/exports" and compare output with your exports(5) file and your understanding of your NFS exports settings (nfse program should be run on the NFS server, it should see mount points). 5. Send me results of testing with comments if possible (here or in a private message). Example (/home is a mount point of some file system): % cat exports /home/simon 1.2.3.4 % ./nfse -Ct exports configure: reading file exports configure: converting configuration to native format Pathname /home Export specifications: -rw -sec sys -maproot=-2:-2 -host 1.2.3.4 Subdirectories for NFSv2/3: /home/simon -host 1.2.3.4 Warning: subdirectories exports are insecure % Since NFS server exports file systems, then here there is one export of file system /home and one administrative subdirectory export from this file system for NFSv2/3 clients.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100507132522.GA67068>