Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 10:14:31 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Johan Hendriks <joh.hendriks@gmail.com>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: Files created with vsphere on a seperate ZFS dataset are not visable from cli within FreeBSD itself
Message-ID:  <CAOjFWZ5LX2FY%2BhzaZkw3FV4FBsYvtBVfcfX7tSo%2BFg2zqU6Mig@mail.gmail.com>
In-Reply-To: <520CF1A0.5080306@gmail.com>
References:  <520CF1A0.5080306@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 15, 2013 at 8:20 AM, Johan Hendriks <joh.hendriks@gmail.com>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ5LX2FY%2BhzaZkw3FV4FBsYvtBVfcfX7tSo%2BFg2zqU6Mig>