From owner-freebsd-fs@FreeBSD.ORG Thu Aug 15 20:47:35 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6E20E9E2 for ; Thu, 15 Aug 2013 20:47:35 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-vb0-x22c.google.com (mail-vb0-x22c.google.com [IPv6:2607:f8b0:400c:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A5122903 for ; Thu, 15 Aug 2013 20:47:35 +0000 (UTC) Received: by mail-vb0-f44.google.com with SMTP id e13so1019132vbg.17 for ; Thu, 15 Aug 2013 13:47:34 -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=tDfEySVO9NvmqdJCwaZrcOopIebcMcw5FCNhdTRunCg=; b=Q6obaOd/ACrEG6E4L/6eo+BjLqQf7VxiauI14CcCd2L8OJRTVOmLVZf8w11tzS+5Xm 2y8IodmagzvXE8mywUatzYDkqxbIXcKRgoyP40fbFcED3rkqwb6e2To1ooKKDQAh3c2C xYJjvypBxkT1VtQExY0Z16RhmT7dySHqkWFa8Azol/CC8lQrXjN7bfNNj+Eqyib1vZGp MuBEStPZcAj4RYEPxGeeqJLhzT4WUsZf5Cj2TapfaPiKz//PpkSVlbaUYW3W9cFjEYcs 0lVZLPo/INzmm/0wEwa0WIDFQt5BqTHByLobjXfQ3+xtHTFqCaNzbTzoB5YDkDH9aJHy KYIw== MIME-Version: 1.0 X-Received: by 10.52.120.114 with SMTP id lb18mr13858002vdb.23.1376599654208; Thu, 15 Aug 2013 13:47:34 -0700 (PDT) Received: by 10.58.249.1 with HTTP; Thu, 15 Aug 2013 13:47:34 -0700 (PDT) In-Reply-To: References: <520CF1A0.5080306@gmail.com> Date: Thu, 15 Aug 2013 22:47:34 +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:47:35 -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 > I can see everything in ESXishare, but not what is put in storage/ESXishare/machine1 If I do the following # mkdir /storage/ESXishare/machine2 Then copy through vsphere a machine to that folder i can see all files and data in /storage/ESXishare/machine2 But still everything under machine1 is missing. Or is it that the files are in ESXishare but masked by the machine1 mount. One more thing. I use thin provisioning. But if i use cp to copy files they grow to the actual size. How do i overcome that? Regards Johan