ZFS & NFS

Patrick M. Hausen hausen at punkt.de
Fri Mar 16 17:32:54 UTC 2012


Hello,

Am 16.03.2012 um 18:20 schrieb Slawa Olhovchenkov:
> I do NFSv3 export of ZFS.
> root from remote host create files on ZFS witch uid 2^32-2:
> 
> # ls -l /usr/ports/packages32/
> total 6
> drwxr-xr-x  2 4294967294  wheel  5 Mar 17 00:57 All
> drwxr-xr-x  2 4294967294  wheel  5 Mar 17 00:57 Latest
> drwxr-xr-x  2 4294967294  wheel  3 Mar 17 00:52 archivers
> drwxr-xr-x  2 4294967294  wheel  4 Mar 17 00:57 lang


Yes? This is expected behaviour of NFS. If you don't want that, try

	-maproot=root

either in sharenfs option to zfs or /etc/exports, whichever it is you are using.

HTH,
Patrick
-- 
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de       http://www.punkt.de
Gf: Jürgen Egeling      AG Mannheim 108285





More information about the freebsd-stable mailing list