Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 2010 16:28:44 -0500
From:      jhell <jhell@DataIX.net>
To:        Patrick Proniewski <patpro@patpro.net>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: auto-mounting ZFS snapshots
Message-ID:  <4CFD558C.2060202@DataIX.net>
In-Reply-To: <DCA2288C-81EF-453D-9DC9-25A54F4C69A7@patpro.net>
References:  <4524EE89-E0A2-4CCF-92F9-80BB709C4BF6@patpro.net> <AANLkTikNJuJPMJ5Ktwi6TiOjCBr7WGrPN5UfJswAbfCw@mail.gmail.com> <DCA2288C-81EF-453D-9DC9-25A54F4C69A7@patpro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/06/2010 16:13, Patrick Proniewski wrote:
> On 6 déc. 2010, at 18:20, Freddie Cash wrote:
> 
>> FreeBSD automounts the "hidden" .zfs filesystem hierarchy where 
>> snapshots are "stored" automatically.  No need for amd.
> 
> The zfs man page reads:
> 
> File  system snapshots can be accessed under the ".zfs/snapshot"
> direc- tory in the root  of  the  file  system.  Snapshots  are
> automatically mounted  on demand and may be unmounted at regular
> intervals. The visi- bility of the ".zfs" directory can be controlled
> by the "snapdir" prop- erty.
> 
> "may be unmounted at regular intervals" <-- what about this? Do I
> have to create a periodic script that'll unmount snapshots? And if
> so, how can I make a script that'll unmount only snapshots mounted
> for over, say, 1 hour?

No this is a no worry type of thing. This is a transparent process that
handles what is available. Just consider them mounted all the time but
you will not see them.

Play with it a little and see what it looks like. mount(1) will not even
show them as mounted so there is no worries here. The correct thing
happens to keep you from shooting yourself in the foot.

- -- 

 jhell,v
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJM/VWMAAoJEJBXh4mJ2FR+rksH+wRM2iGqZGRxJ+HqgBbdl1PT
/ppl3Wvf5S+RQaltEYuL5H4oYgfKW08R3isP3zrHIGcfhcoef0ehi33dH0ZZCUGr
aOPB9WspWy46OQhz6i5SRuZCGl1cvauT63zufi4meSwlT4e0el16JcQIU0W1DX0s
8if7oah+ZaldHmJscfU6Rv/kw+yNnv40s7XFMSnVGEOaX93+lTts2vNCLZPRs5pF
bhPQW1ueNgrV4g+VSeC/N9RuClXHWQXXvehMxosrfvaeB/W06R+xI9c9u6wzKDl1
ZnPKNGhG2ej6dTdpST15k2vj0bYD2JESat/1U95UQShXyvqhNnn4s2PYEVxxNao=
=JK4c
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CFD558C.2060202>