From owner-freebsd-fs@FreeBSD.ORG Fri Feb 20 19:15:13 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E238BA04 for ; Fri, 20 Feb 2015 19:15:13 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EAB3A90 for ; Fri, 20 Feb 2015 19:15:13 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YOt2W-0002Hz-ES for freebsd-fs@freebsd.org; Fri, 20 Feb 2015 20:15:04 +0100 Received: from p4fddd00b.dip0.t-ipconnect.de ([79.221.208.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Feb 2015 20:15:04 +0100 Received: from christian.baer by p4fddd00b.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Feb 2015 20:15:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Christian Baer Subject: The magic of ZFS and NFS (2nd try) Date: Fri, 20 Feb 2015 20:11:10 +0100 Lines: 43 Message-ID: <4257601.p3oiXZFr4n@falbala.rz1.convenimus.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fddd00b.dip0.t-ipconnect.de User-Agent: KNode/4.14.2 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 19:15:14 -0000 Hi everyone! I've already asked this question (basically) in the questions list, but I didn't get anything that really helped me along. I am hoping to get a little further on this list. Using my search engines, I have found out that exporting a ZFS is a by picky. However I have found no general rules of what to do - yet. My file server is called obelix, my workstation falbala. Feel free to make fun of that fact. :-) obelix boots from an SSD. There is a raidz2 configured with 7 HDDs, mounted under /zfs/arc1. This is the main (basic, root) mount point of the ZFS pool and it is pretty much empty. There are other tanks I have defined and they are under /usr/archive/. The directory /usr/archive/ is of course still part of the SSD. When I set /usr/archive as an export in /etc/exports, I can mount that from falabala. I see all the subdirectories too - each of these are ZFS tanks. However, I cannot access the contents of the tanks. I've played around here a bit and there are two things that can happen: 1. I can dive into the directories but they look empty from falbala. 2. Access to the directories is refused completely. I don't remember what I did to get each of these results, so please don't ask. :-) Ok, so I read that I cannot export all ZFS mounts together like this and have to create an export for each seperately. Fine with me. :-) So I created and export to /usr/archive/shared which is the mount point of a ZFS tank. But if I try to mount that via NFS from falbala, the connection is denied completely. This is logged in /var/log/messages on obelix - without any reason however. Now it might be that I am just to dumb to understand the works of NFS and ZFS or I am just missing a piece of the puzzle. Can someone please give me a push, please? Regards, Chris