About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 09 May 2003 - 18:54:28 BST


On Thu, May 08, 2003 at 09:44:45PM +0100, Luis Miguel Silva wrote:
> Im sorry herbert, it wasnt my intention to catalog your code as unsecure
> hehehe...

that's okay, as long as I have a way to object *G*

> I only said that because i read somewhere that it was unstable and
> (probably?) unsafe.

I actually wrote 'THIS IS NOT CONSIDERED STABLE AT ALL' and
'Nevertheless it seems to work as expected, at least in my tests.'

> I thought i read that on your site! :oP
>
> Either way, my apologies.

apologies accepted, are you interested in doing some
testing? do you want to use it? let me know ...

best,
Herbert

> Luis Silva
>
> -----Mensagem original-----
> De: Herbert Poetzl [mailto:herbert_at_13thfloor.at]
> Enviada: quinta-feira, 8 de Maio de 2003 19:41
> Para: vserver_at_solucorp.qc.ca
> Cc: Lu?s Miguel Silva
> Assunto: Re: [vserver] vserver and disk quotas
>
>
> On Thu, May 08, 2003 at 12:25:05PM +0100, Lu?s Miguel Silva wrote:
> > That is a very nice approach, but what about real quota (per user) on a
> > vserver?
>
> to cut it short: the problematic issue is the quota storage
> (or quota files, which are written by the kernel and maintained
> by the userspace tools) except from this, the per context quota
> patches provide everything 'real' quota does plus an additional
> quota type for the entire context ...
>
> > The (non'official) patches for quota support are considered unsecure and
> > unstable.
>
> they are unofficial because Jacques doesn't like them, and
> they are development because I got almost no feedback at all ...
> but they are neither unsecure nor unstable (breaking apart ;)
> although I have to admit, that they are currently out of date.
>
> > Does anybody know of a way to add *real* quota support for each vserver?
>
> It depends, what you mean by *real* quota ... have a look
> at http://www.13thfloor.at/VServer/Concepts.shtml and
> tell me what remains *unreal* for you ...
>
> best,
> Herbert
>
> > Best regards,
> > Lu?s Silva
> >
> > > Hello!
> > >
> > > Mitchell Smith wrote:
> > >> Hi,
> > >>
> > >> I am wondering if it is possible to enforce a disk quota on a virtual
> > >> server?
> > >>
> > >
> > > Don't use a partition in a block device as the vserver's root. Use a
> > > /dev/loop and mount it prior to starting the vserver.
> > >
> > > # mount -o loop /vserver-images/vserver1.img /vservers/vserver1
> > > # vserver vserver1 start
> > >
> > > If you need to add 1GB to it:
> > >
> > > # vserver vserver1 stop
> > > # umount /vservers/vserver1
> > > # dd if=/dev/zero of=/tmp/1GB bs=1M count=1000
> > > # cat /tmp/1GB >> /vserver-images/vserver1.img
> > > # resize2fs /vserver-images/vserver1.img
> > >
> > > Regards,
> > > Nuno Silva
> > >
> > >> i.e. if I had /home/vservers as a 40 gb partition and I want to split
> > >> it up between 4 vservers at 10 gb each, can I tell each vserver that
> > >> it can only use 10 gb of that partition?
> > >>
> > >> I know I could just partition up the drive that way, but then it
> > >> doesn't allow for resizing any of the vservers disk space, say I
> > >> wanted to give one 25 gb and shrink the other 3 down to 5 gb, I
> > >> couldn't do that with out some major repartitioning.
> > >>
> > >> Comments very welcome.
> > >>
> > >> From Mitchell
> > >>
> > >>
> >
> >
> > +-----------------------------------------
> > | Lu?s Miguel Silva
> > | Network Administrator@ ISPGaya.pt
> > | Rua Ant?nio Rodrigues da Rocha, 291/341
> > | Sto. Ov?dio ? 4400-025 V. N. de Gaia
> > | Portugal
> > | T: +351 22 3745730/3/5 F: +351 22 3745738
> > | G: +351 93 6371253 E: lms_at_ispgaya.pt
> > | H: http://lms.ispgaya.pt/
> > +-----------------------------------------
> >


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 09 May 2003 - 19:16:59 BST by hypermail 2.1.3