zfs mounted filesystem doesn't show up

Matthew Seaman matthew at FreeBSD.org
Fri Mar 4 15:29:45 UTC 2016


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




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160304/17f1eb6f/attachment.sig>


More information about the freebsd-questions mailing list