[BBLISA] ZFS question

Edward Ned Harvey bblisa2 at nedharvey.com
Thu Oct 25 21:52:37 EDT 2007


I agree, the thing that is causing annoyance for Theo is in fact something
I've come to accept as normal.

It doesn't often matter, but yes it is distinctly possible for snapshots to
take up too much space and fill the filesystem.  When that happens (and it's
of course bound to happen) you have to be aware that simply removing your
files is not enough.  You have to clear the snapshot copy of your files too.

I don't know about the scripts to automatically clear the snapshots, but
this is the config that I had, which was very effective (was preconfigured
in the netapp before I ever was hired there)
	A snapshot once every 4 hours for the most recent day
	A snapshot once a day for the most recent week
	A snapshot once a week for the most recent month.
So clearly there was in fact *some* thing in place to automatically clear
snapshots.

It is clear also, that there is necessarily a mechanism to automatically
clear snapshots in some way or another.  If you never clear snapshots, then
your disk will in fact be remembering every change, every deleted file that
ever existed, and it will inevitably fill up.



> -----Original Message-----
> From: bblisa-bounces at bblisa.org [mailto:bblisa-bounces at bblisa.org] On
> Behalf Of Tom Metro
> Sent: Thursday, October 25, 2007 8:05 PM
> To: Theo Van Dinter
> Cc: L-bblisa
> Subject: Re: [BBLISA] ZFS question
> 
> Theo Van Dinter wrote:
> > One thought of how to with this was to simply tack on some generic
> > percentage to the quota, say 20%, which would allow for snapshots,
> > ie: 12G.
> 
> This sounds more like a matter of perspective than a technical problem.
> If the point to using quotas is to limit per-user resource usage, then
> it seems pretty reasonable to include snapshots in the quota. Make the
> user aware of this, and seeing as you are customizing thing per user,
> give them the choice of how much space should be used up by snapshots
> (indirectly by tuning the frequency of the snapshots).
> 
> 
> > However, then there's nothing to stop the user from using all
> > 12G, and we're back in the same situation again.
> 
> Does ZFS support soft quota limits? That would be one way of alerting
> the user that they are going beyond the limits where they will be able
> to maintain both data and snapshots.
> 
>   -Tom
> 
> --
> Tom Metro
> Venture Logic, Newton, MA, USA
> "Enterprise solutions through open source."
> Professional Profile: http://tmetro.venturelogic.com/
> 
> _______________________________________________
> bblisa mailing list
> bblisa at bblisa.org
> http://www.bblisa.org/mailman/listinfo/bblisa




More information about the bblisa mailing list