You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jacky Chan <ja...@gmail.com> on 2007/01/04 12:05:38 UTC
svnserve Quota Issue
Dears,
I decide to run svnserve as the internal project team svn server without ssh
authentication. It use svn://;
But I are just concerning the issue for the project disk quota issue, any
suggestion to handle this issue?
Looking forward to your reply! and Thank you very much!!
--
Yours Sincerely,
Jacky Chan
Re: svnserve Quota Issue
Posted by Jacky Chan <ja...@gmail.com>.
Dear Tony,
That's great, can we have a look and discuss on it?
2007/1/5, Tony Morris <tm...@tmorris.net>:
>
> I have written a Haskell script that I use as a pre-commit hook for
> managing disk quota. It's not as polished as I'd like, but if there is
> any amount of interest, I'll tidy it up and release it under a BSD
> licence or something.
>
> Tony Morris
> http://tmorris.net/
>
>
>
> Steve Williams wrote:
> > Jacky Chan wrote:
> >>
> >> > Use operating system level tools to set disk quota for your
> >> > repositories.
> >>
> >>
> >> Does that use the operating system level tools to set the disk quota
> >> seems to be the only way to ensure the repository quota?
> >
> >
> > Subversion does not use, manage or even know about disk quotas. That is
> > outside its realm of responsibly.
> >
> >>
> >> And once you exceed them, you will not be able to commit to your
> >> repository. Repositories only grow;
> >> they do not shrink, unless you
> >> take extraordinary measures,
> >>
> >> What does that suppose to be? I don't follow very well...@.@
> >
> >
> > The repository grows in size with each commit. Repositories never get
> > smaller.
> >
> >>
> >>
> >> such as taking the repository offline,
> >> dumping the entire contents to a text file (for which you have no
> >> space since you've exceeded quota), filtering the file with
> >> svndumpfilter to remove some parts (or just leaving out some
> earlier
> >> revisions), then reloading the modified dumpfile into a new empty
> >> repository.
> >>
> >>
> >> I think that should be the action taken when the quota nearly full or
> >> really exits right?
> >
> >
> > It is up to you to manage disk space and quotas. It is not Subversion's
> > job to manage usage of disk quota.
> >
>
>
>
>
--
Yours Sincerely,
Jacky Chan
Re: svnserve Quota Issue
Posted by Tony Morris <tm...@tmorris.net>.
I have written a Haskell script that I use as a pre-commit hook for
managing disk quota. It's not as polished as I'd like, but if there is
any amount of interest, I'll tidy it up and release it under a BSD
licence or something.
Tony Morris
http://tmorris.net/
Steve Williams wrote:
> Jacky Chan wrote:
>>
>> > Use operating system level tools to set disk quota for your
>> > repositories.
>>
>>
>> Does that use the operating system level tools to set the disk quota
>> seems to be the only way to ensure the repository quota?
>
>
> Subversion does not use, manage or even know about disk quotas. That is
> outside its realm of responsibly.
>
>>
>> And once you exceed them, you will not be able to commit to your
>> repository. Repositories only grow;
>> they do not shrink, unless you
>> take extraordinary measures,
>>
>> What does that suppose to be? I don't follow very well...@.@
>
>
> The repository grows in size with each commit. Repositories never get
> smaller.
>
>>
>>
>> such as taking the repository offline,
>> dumping the entire contents to a text file (for which you have no
>> space since you've exceeded quota), filtering the file with
>> svndumpfilter to remove some parts (or just leaving out some earlier
>> revisions), then reloading the modified dumpfile into a new empty
>> repository.
>>
>>
>> I think that should be the action taken when the quota nearly full or
>> really exits right?
>
>
> It is up to you to manage disk space and quotas. It is not Subversion's
> job to manage usage of disk quota.
>
RE: svnserve Quota Issue
Posted by Erik Hemdal <er...@comprehensivepower.com>.
-----Original Message-----
From: Jacky Chan [mailto:jacky11287@gmail.com]
Sent: Thursday, January 04, 2007 8:28 PM
To: Steve Williams
Cc: Subversion List
Subject: Re: svnserve Quota Issue
. . . .
I see what you mean, that mean I need to seek other method in managing disk
quota related to the OS, any suggestion on FC?
Read the man pages for the following commands:
quota, quotactl, fstab, edquota, quotacheck, quotaon, repquota
I have not explored quotas in great detail, so I can't offer you too much
help with them. But these commands are what Fedora provides for quota
management if you want to use it.
Best regards, Erik
Re: svnserve Quota Issue
Posted by Jacky Chan <ja...@gmail.com>.
2007/1/5, Steve Williams <st...@kromestudios.com>:
>
> Jacky Chan wrote:
> >
> > > Use operating system level tools to set disk quota for your
> > > repositories.
> >
> >
> > Does that use the operating system level tools to set the disk quota
> > seems to be the only way to ensure the repository quota?
>
>
> Subversion does not use, manage or even know about disk quotas. That is
> outside its realm of responsibly.
I see what you mean, that mean I need to seek other method in managing disk
quota related to the OS, any suggestion on FC?
>
> > And once you exceed them, you will not be able to commit to your
> > repository. Repositories only grow;
> >
> > they do not shrink, unless you
> > take extraordinary measures,
> >
> >
> > What does that suppose to be? I don't follow very well...@.@
>
>
> The repository grows in size with each commit. Repositories never get
> smaller.
Got it~~ ^.^
>
> >
> > such as taking the repository offline,
> > dumping the entire contents to a text file (for which you have no
> > space since you've exceeded quota), filtering the file with
> > svndumpfilter to remove some parts (or just leaving out some earlier
> > revisions), then reloading the modified dumpfile into a new empty
> > repository.
> >
> >
> > I think that should be the action taken when the quota nearly full or
> > really exits right?
>
>
> It is up to you to manage disk space and quotas. It is not Subversion's
> job to manage usage of disk quota.
>
> --
> Sly
>
>
>
>
> This message and its attachments may contain legally privileged or
> confidential information. This message is intended for the use of the
> individual or entity to which it is addressed. If you are not the addressee
> indicated in this message, or the employee or agent responsible for
> delivering the message to the intended recipient, you may not copy or
> deliver this message or its attachments to anyone. Rather, you should
> permanently delete this message and its attachments and kindly notify the
> sender by reply e-mail. Any content of this message and its attachments,
> which does not relate to the official business of the sending company must
> be taken not to have been sent or endorsed by the sending company or any of
> its related entities. No warranty is made that the e-mail or attachment(s)
> are free from computer virus or other defect.
>
>
--
Yours Sincerely,
Jacky Chan
Re: svnserve Quota Issue
Posted by Steve Williams <st...@kromestudios.com>.
Jacky Chan wrote:
>
> > Use operating system level tools to set disk quota for your
> > repositories.
>
>
> Does that use the operating system level tools to set the disk quota
> seems to be the only way to ensure the repository quota?
Subversion does not use, manage or even know about disk quotas. That is
outside its realm of responsibly.
>
> And once you exceed them, you will not be able to commit to your
> repository. Repositories only grow;
>
> they do not shrink, unless you
> take extraordinary measures,
>
>
> What does that suppose to be? I don't follow very well...@.@
The repository grows in size with each commit. Repositories never get
smaller.
>
>
> such as taking the repository offline,
> dumping the entire contents to a text file (for which you have no
> space since you've exceeded quota), filtering the file with
> svndumpfilter to remove some parts (or just leaving out some earlier
> revisions), then reloading the modified dumpfile into a new empty
> repository.
>
>
> I think that should be the action taken when the quota nearly full or
> really exits right?
It is up to you to manage disk space and quotas. It is not Subversion's
job to manage usage of disk quota.
--
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svnserve Quota Issue
Posted by Jacky Chan <ja...@gmail.com>.
2007/1/5, Ryan Schmidt <su...@ryandesign.com>:
>
>
> On Jan 4, 2007, at 07:02, Erik Huelsmann wrote:
>
> > On 1/4/07, Jacky Chan <ja...@gmail.com> wrote:
> >> Dears,
> >>
> >> I decide to run svnserve as the internal project team svn server
> >> without ssh
> >> authentication. It use svn://;
> >> But I are just concerning the issue for the project disk quota
> >> issue, any
> >> suggestion to handle this issue?
> >
> > Use operating system level tools to set disk quota for your
> > repositories.
Does that use the operating system level tools to set the disk quota seems
to be the only way to ensure the repository quota?
And once you exceed them, you will not be able to commit to your
> repository. Repositories only grow;
they do not shrink, unless you
> take extraordinary measures,
What does that suppose to be? I don't follow very well...@.@
> such as taking the repository offline,
> dumping the entire contents to a text file (for which you have no
> space since you've exceeded quota), filtering the file with
> svndumpfilter to remove some parts (or just leaving out some earlier
> revisions), then reloading the modified dumpfile into a new empty
> repository.
I think that should be the action taken when the quota nearly full or really
exits right?
--
>
> To reply to the mailing list, please use your mailer's Reply To All
> function
>
>
>
--
Yours Sincerely,
Jacky Chan
Re: svnserve Quota Issue
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 4, 2007, at 07:02, Erik Huelsmann wrote:
> On 1/4/07, Jacky Chan <ja...@gmail.com> wrote:
>> Dears,
>>
>> I decide to run svnserve as the internal project team svn server
>> without ssh
>> authentication. It use svn://;
>> But I are just concerning the issue for the project disk quota
>> issue, any
>> suggestion to handle this issue?
>
> Use operating system level tools to set disk quota for your
> repositories.
And once you exceed them, you will not be able to commit to your
repository. Repositories only grow; they do not shrink, unless you
take extraordinary measures, such as taking the repository offline,
dumping the entire contents to a text file (for which you have no
space since you've exceeded quota), filtering the file with
svndumpfilter to remove some parts (or just leaving out some earlier
revisions), then reloading the modified dumpfile into a new empty
repository.
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svnserve Quota Issue
Posted by Erik Huelsmann <eh...@gmail.com>.
On 1/4/07, Jacky Chan <ja...@gmail.com> wrote:
> Dears,
>
> I decide to run svnserve as the internal project team svn server without ssh
> authentication. It use svn://;
> But I are just concerning the issue for the project disk quota issue, any
> suggestion to handle this issue?
Use operating system level tools to set disk quota for your repositories.
> Looking forward to your reply! and Thank you very much!!
HTH,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org