Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

From: Chuck <chuck_at_sbbsnet.net>
Date: Wed 19 Oct 2005 - 01:23:18 BST
Message-Id: <200510182023.18821.chuck@sbbsnet.net>

On Tuesday 18 October 2005 08:11 pm, Chuck wrote:
> On Tuesday 18 October 2005 08:06 pm, Steven Truong wrote:
> > Thanks Mr. *Gorecki and Chuck for the answers. I have a question regarding
> > http://linux-vserver.org/Disk+Limits . I created my vserver without
> > specifying the context number, so do I need to fix it or have to rebuild
the
> > guest server with a context number, or could I just append to the guest
> > server the context number (if possible)?
> >
> > Regarding to Chuck's method, I think it is a bit different for my case
> > because /vservers is already a logical volume, and I can resize /vserver
as
> > a whole partition.
> >
>
> i think you may be able to create logical volumes within the one large
logical
> volume :)
>

the reason why i say this is lvm appears to just be an application interface
method of the manual way of using dd to create a large file then associating
that file via the mapper and the loopx devices then initializinig a file
system on it and then mounting it... using this manual approach i have
created a master encrypted 'disk' with several volumes inside it and
successfully mounted each with no problem... copying the one large master
file backs up the entire subsystem i created inside as well...so if lvm is in
fact an application that manipulates this type of setup, then you should be
able to create volumes within a volume.

> on mine, yeah the partition i created to put the guests is simply a volume
> group, but as far as i know, as long as the /vservers is mounted first, you
> can mount additional logical partitions within it.
>
>
> > Best regards,
> > Steven.
> > *
> > On 10/18/05, Steven Truong <djatlantic@gmail.com> wrote:
> > >
> > > Hi, all. After reading some of the messages regarding quota, I would
like
> > > to implement quota for the guest servers on a LVM partition /vservers. I
> > > only care to limit the amount of space a guest server could use and I do
> not
> > > care about the per user quota in each guest.
> > >
> > > I found this link from a recent message and wonder if the instructions
> > > applied to my situations.
> > > http://linux-vserver.org/Standard+non-shared+quota
> > >
> > > And how LVM could assist in limiting disk space of each guest server?
(If
> > > by any means)
> > >
> > > Please assist me in this attempt.
> > > Thanks.
> > >
> >
>
> --
>
> Chuck
>
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Oct 19 01:23:44 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 19 Oct 2005 - 01:23:46 BST by hypermail 2.1.8