From owner-freebsd-fs@FreeBSD.ORG Thu Aug 15 20:46:31 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8A7E7950 for ; Thu, 15 Aug 2013 20:46:31 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-vb0-x236.google.com (mail-vb0-x236.google.com [IPv6:2607:f8b0:400c:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 46B5128EB for ; Thu, 15 Aug 2013 20:46:31 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id q14so1007262vbe.41 for ; Thu, 15 Aug 2013 13:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HSaoUurV7k0bGyjX+y8wTBZM+0B/ZhL5WEVtg9DmlPg=; b=CXmRdbvC2tif5CQJpKpwvZ7B2trfAaVetGRYIaMUQzb74yelUUrDck+OWcNnoNjMf5 7go1WwOrTAu7iVAzWxywbrPkJetn2d4mHoov8T2UrkExqC3r7r8ZF3BGQNRxkO10xkAo g/9Y+nAD55Bu/G7VRKwod1D54NtZG+Com1XxLRi/SvAlKRcSTB+st8Sn2eFbFUjMMPQo S8fcJP33PU61VTbr3ZUEa3az1/RRv/TKgsS77nxnAstICIpiKDVt8xyoDO4tbvHcSMeX yIoHiDDl7GNiOIEHq+h+GQpLEy491lIrQFOXtQsE6VqwBR3qMl8PFHy0YnHBg1DLrNkQ P6Ew== MIME-Version: 1.0 X-Received: by 10.52.34.40 with SMTP id w8mr13661291vdi.7.1376599590373; Thu, 15 Aug 2013 13:46:30 -0700 (PDT) Received: by 10.58.249.1 with HTTP; Thu, 15 Aug 2013 13:46:30 -0700 (PDT) In-Reply-To: References: <520CF1A0.5080306@gmail.com> Date: Thu, 15 Aug 2013 22:46:30 +0200 Message-ID: Subject: Re: Files created with vsphere on a seperate ZFS dataset are not visable from cli within FreeBSD itself From: Johan Hendriks To: Johan Hendriks Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 20:46:31 -0000 Op donderdag 15 augustus 2013 schreef Freddie Cash (fjwcash@gmail.com): > On Thu, Aug 15, 2013 at 8:20 AM, Johan Hendriks > > wrote: > >> zfs create storage/ESXishare/machine1 >> >> san ESXishare # zfs list >> NAME USED AVAIL REFER MOUNTPOINT >> storage 4.00G 2.13T 160K /storage >> storage/ESXishare 3.99G 2.13T 3.99G >> /storage/ESXishare >> storage/ESXishare/machine1 144K 2.13T 144K >> /storage/ESXishare/machine1 >> > > Look at the output of "mount" and you'll see the answer to why this > doesn't work. :) > > machine1 is mounted on top of ESXishare, thus hiding everything in that > directory. > > NFS client is picking up cached information. > > Change the mountpoint for machine1 via "zfs set mountpoint=whatever > storage/ESXishare/machine1", then copy the data from /storage/ESXishare > into it. > > Then you can set the mountpoint back to /storage/ESXishare/machine1. > > -- > Freddie Cash > fjwcash@gmail.com >