From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 01:16:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1C1BB184 for ; Wed, 13 Feb 2013 01:16:49 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id C8F29FF0 for ; Wed, 13 Feb 2013 01:16:48 +0000 (UTC) Received: (qmail 8115 invoked from network); 13 Feb 2013 02:08:17 -0000 Received: from pool-71-167-230-29.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@71.167.230.29) by 199.4.235.5 with SMTP; 13 Feb 2013 02:08:17 -0000 Received: (qmail 2978 invoked by uid 103); 13 Feb 2013 00:45:50 -0000 Date: 13 Feb 2013 00:45:50 -0000 Message-ID: <20130213004550.2977.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org In-reply-to: <20130213001444.2694.qmail@irelay.ssr.com> (message from Scott Ballantyne on 13 Feb 2013 00:14:44 -0000) Subject: Re: Exporting a ntfs-3g mounted drive over NFS? References: <20130212205323.2345.qmail@irelay.ssr.com> <20130212235013.GH5396@dan.emsphone.com> <20130213001444.2694.qmail@irelay.ssr.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 01:16:49 -0000 I wrote: > Hello, > > Thanks to Dan Nelson I was able to mount my 4 TB drive using > ntfs-3g. Now I need to export it over NFS, and it doesn't work. > > I'm using a bootable ZFS system, if that makes any difference. I don't > see why it should. > > Basically, I can export a directory as long as a ntfs-3g filesystem is > not moutned on it. And this is also true for the kernel ntfs > system. The second a ntfs or ntfs-3g filesystem is mounted on it, > there are problems. > > Here are more details: > > create a directory: /var/video, set globally readable and searchable > permissions. > > I create a simple entry in /etc/exports: > > /var/VIDEO > > I copy some files in there and HUP mountd. > I check to see that I can access the files on the clients. No > problem. > > I go back, delete the files (just to be safe), and then I mount the > ntfs-3g drive on /var/VIDEO with > > ntfs-3g -o ro /dev/da0s1 /var/VIDEO > > I check to see that I can see the ntfs filesystem in /var/VIDEO with > ls (I can), and all the permissions are ok (every file is rwxrwxrwx). > > Then I HUP mountd. Mountd now tells me that my formerly good line in > exports is bad. I can't access the files on the clients. > > I umount /var/VIDEO. I HUP mountd. All is well once again, on the > server and the clients, except I can't access the files on the ntfs > drive which I need to do. > > Anyone have any ideas what is going on here, and even better, how I > might get it to work? > > Thanks! > Scott > -- > sdb@ssr.com > > To add another detail, I have discovered that while I can't export the files over NFS, I can use SAMBA, which helps me somewhat. I still need NFS, and generally would prefer it for performance reasons, so if anyone has any hints, please do let me know. Best, Scott -- sdb@ssr.com