auto-mounting ZFS snapshots

jhell jhell at dataix.net
Mon Dec 6 17:27:38 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Mon, 6 Dec 2010 11:00, Patrick Proniewski wrote:
In Message-Id: <4524EE89-E0A2-4CCF-92F9-80BB709C4BF6 at patpro.net>

> Hello,
>
> 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:
>


Unless I am misunderstanding what you are trying to do here. ZFS snapshots 
are already mounted automatically under:

/path/to/mountpoint/.zfs/snapshot/{snapname}

A normal unprivileged user can access that information at any time without
the extra use of amd(8).


Example:
$ zfs snapshot pool/home at today
$ ls -l /home/.zfs/snapshot/today/
total 1
drwxr-xr-x  65 jhell     jhell     156 Dec  6 12:14 jhell
$


Regards,

- -- 

  jhell,v

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJM/Rz7AAoJEJBXh4mJ2FR+CtoH/08mm1Ufj0pLvAyF9Sdmx+Pi
0KN0/dr1btg35NcS7gPxbevwsxArUsLgTwuNbPwoNkKCwUYnUa1+bXO1fqn4VuFg
P1hL5zyK/yhdDCLWeCxA6i0luoX5JzKKOMa5iCGIxW1bROPPvuiUP8+A9Ypn0QBu
SEEvvwu4DkYGdjuIfLS6kAgsVnvXOe1tdaZbRLfO9mt/2LTi+4L5maeFiRSCHj5Q
huij1SliSOLapy1CZhEd/0bv5QTo2Lyy4HZjOqWVeveSypKRtfYSaK+z4Jiblt7A
6okA7RDC0gYc6oH2aV8jXyuxEN5VHoG3QldgBHktwO4UDjytgGyi8jqZyLW/Hkk=
=gNe4
-----END PGP SIGNATURE-----


More information about the freebsd-fs mailing list