Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 09:20:55 -0800
From:      Freddie Cash <>
To:        Patrick Proniewski <>
Subject:   Re: auto-mounting ZFS snapshots
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Dec 6, 2010 at 8:00 AM, Patrick Proniewski <> wrote:
> I'm using freebsd-snapshot to create/destroy a bunch of daily/weekly snapshots
> of my ZFS datasets.
> I would like to make the automount work, so I've configured amd
> accordingly, but strangely it fails:

FreeBSD automounts the "hidden" .zfs filesystem hierarchy where
snapshots are "stored" automatically.  No need for amd.

# zfs set snapdir=visible poolname/fsname
# cd /path/to/fsname/.zfs/snapshot
# ls
# cd snapshot-name

Even a simple "ls
/path/to/fsname/.zfs/snapshot/snapshot-name/somedir/" will cause it to
be mounted.

Freddie Cash

Want to link to this message? Use this URL: <>