----- Original Message ----- From: "Nick Burrett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 2001 3:57 PM Subject: Re: 2 "setquota" problems
> "Ben Kennish" <[EMAIL PROTECTED]> writes: > > > ----- Original Message ----- > > From: "Nick Burrett" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, October 09, 2001 10:44 AM > > Subject: Re: 2 "setquota" problems > > > > > > > "Ben Kennish" <[EMAIL PROTECTED]> writes: > > > > > > > Well 1 problem and 1 suggestion really. Here goes... > > > > > > > > > > > (2) > > > > > > > > When you create a VS with quotas enabled, by default, the 'mysql' > > user > > > > (and 'majordomo' from the freeVSD 6.2-1 CD) start with a 0k quota. > > > > > > That is a bug. > > > > Oh. :) > > > > > > > > Consider if you are the administrator of a hosting server and a > > virtual > > > server user decides to set the disk quotas to unlimited and then > > create > > > 200 2Gb files. What happens ? > > > > > > > Then they use up the VSs quota and can't create any further files? But > > surely that's their fault that they're using all their quota for the > > VS - it shouldnt disrupt anything else apart from their VS should it? > > Not quite. For the virtual server does not have a quota, unless you are > using loopback filesystems. > > The virtual server quota is merely a way of restricting the maximum > quota settable across all users within a VS. We are still using > quotas as implemented in the kernel, which means that from the hosting > server point of view, each virtual server user is unique on the system. > > Why not try it ? Simply create a virtual server with 10Mb quota. > Create some users, set their quota to 0K, and create lots of 2Gb files. > > Nick. > Thanks Nick. I believe you :). BTW, you can't create users and explicitly set their quota to 0k - it gives an error saying that it can't be done. It's just that when you create a user (e.g. using 'useradd'), their quota is 0k by default - does 'useradd' need to be patched to set an initial quota? Ben K [EMAIL PROTECTED] www.fubra.com ------------------------- The freeVSD Support List -------------------------- Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support Archives: http://freevsd.org/support/mail-archives/freevsd-support -----------------------------------------------------------------------------
