Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2019 18:31:31 -0600
From:      Chris Watson <bsdunix44@gmail.com>
To:        Peter Eriksson <pen@lysator.liu.se>
Cc:        Jan Behrens <jbe-mlist@magnetkern.de>, freebsd-fs@freebsd.org
Subject:   Re: ZFS snapdir readability (Crosspost)
Message-ID:  <65AE896D-A32E-451A-B9D0-EC40D438BB03@gmail.com>
In-Reply-To: <FBB088B0-CE5C-45DC-8F2F-0D0AA2703846@lysator.liu.se>
References:  <FBB088B0-CE5C-45DC-8F2F-0D0AA2703846@lysator.liu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter, on your last point about 100% utilization, don=E2=80=99t you use quot=
as/user quotas to prevent that?

Chris

Sent from my iPhone

> On Nov 7, 2019, at 4:06 PM, Peter Eriksson <pen@lysator.liu.se> wrote:
>=20
> =EF=BB=BFThe =E2=80=9Ceasy=E2=80=9D solution is to give each user (or grou=
p / project) their own ZFS filesystem. Then the =E2=80=9C.zfs=E2=80=9D direc=
tory would be inside the users own $HOME and you can set $=08HOME to 0700=E2=
=80=A6.
>=20
> That is what we are doing. Granted it generates a =E2=80=9Cfew=E2=80=9D fi=
lesystems (like some 20000 per server (we have around 120k users), and then a=
dd hourly snapshots to each as =E2=80=9Cicing=E2=80=9D on the cake). Mountin=
g all those takes a bit of time - but luckily with the latest FreeBSD releas=
e things are much faster these days :-)
>=20
> There are some other issues with that - like 100% full filesystems causing=
 severe system slowdown during writes=E2=80=A6 So you really wanna have some=
 monitoring system that warns for that.
>=20
> - Peter
>=20
>=20
>>=20
>> I recently noticed that all ZFS filesystems in FreeBSD allow access to
>> the .zfs directory (snapdir) for all users of the system. It is
>> possible to hide that directory using the snapdir option:
>=20
>=20
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65AE896D-A32E-451A-B9D0-EC40D438BB03>