From owner-freebsd-questions@freebsd.org Sun Mar 6 18:05:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B2D1AB649C for ; Sun, 6 Mar 2016 18:05:59 +0000 (UTC) (envelope-from lists@midsummerdream.org) Received: from p3plsmtpa06-07.prod.phx3.secureserver.net (p3plsmtpa06-07.prod.phx3.secureserver.net [173.201.192.108]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 35859197 for ; Sun, 6 Mar 2016 18:05:58 +0000 (UTC) (envelope-from lists@midsummerdream.org) Received: from titania.midsummerdream.org ([107.197.157.90]) by p3plsmtpa06-07.prod.phx3.secureserver.net with id Si4M1s0041xJNYB01i4NQv; Sun, 06 Mar 2016 11:04:22 -0700 X-Sender: oberon@midsummerdream.org Subject: Re: zfs mounted filesystem doesn't show up Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Rob Rati In-Reply-To: <56D9A9D6.6050707@FreeBSD.org> Date: Sun, 6 Mar 2016 13:04:21 -0500 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <56D9A9D6.6050707@FreeBSD.org> To: Matthew Seaman X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2016 18:05:59 -0000 No, I'm not using -u in receive. Here's the command I use to receive: /sbin/zfs recv -F -d pool To send, I'm doing a /sbin/zfs send -i Result of zfs get mounted... command is the same before and after I remount. before: NAME PROPERTY VALUE SOURCE pool/host/root mounted yes - pool/host/root canmount on default pool/host/root mountpoint /pool/host/root default after: NAME PROPERTY VALUE SOURCE pool/host/root mounted yes - pool/host/root canmount on default pool/host/root mountpoint /pool/host/root default I'm not using jails. Rob On Mar 4, 2016, at 10:29 AM, Matthew Seaman wrote: > On 2016/03/04 13:55, Rob Rati wrote: >> I have 2 systems running zfs, and one back up to the other by taking >> a snapshot and sending it to the other. The data and snapshot >> information all appear in the 2nd system, but the directories aren't >> accessible from the command line despite being mounted. If I do a >> mount I see this: >> >> pool/host/root on /pool/host/root (zfs, local, nfsv4acls) >> >> But I can't list or cd into /pool/host/root. However, if I zfs >> umount /pool/host/root then zfs mount /pool/host/root everything is >> fine and I can see the data. This seems to be occurring every time >> the first system backs up to the second. > > Are you by any chance using the -u flag for zfs receive ? Probably not, > but it's best to rule out the simple things... > > What exactly are the commands you're issuing to do the whole zfs send > ... | zfs receive ... process? What's the result of: > > zfs get mounted,canmount,mountpoint zroot/whatever > > both on the freshly received (inaccessible) copy of the zfs and after > you've remounted it? Are there jails involved here, and are you doing > anything with the zfs jailed property? > > Cheers, > > Matthew > > > >