Herbert, > > /dev/hda8 > > inodes: 21657/100000 > > blocks: 784440/1280000 (61%) > > good that you did the math for me ... > > the last argument to the cqdlim (the one you set to 61) > is the root reserve, which usually is around 5-10% > > this space is reserved for root users (in newer patches > for the root user inside the vserver), and not available > for 'normal' use ... >
Brilliant work, that's doing the job. Thanks a lot, Chris. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Herbert Poetzl > Sent: 20 August 2004 2:51 PM > To: Chris Murton > Cc: [EMAIL PROTECTED] > Subject: Re: [Vserver] Context disk limits. > > On Fri, Aug 20, 2004 at 02:46:56PM +0100, Chris Murton wrote: > > Herbert, > > > > This should be everything you asked below.. > > > > > hmm, unfortunately my crystal ball is having > > > the 1000 precognitions service now, so please > > > provide some details like: > > > > > > - kernel version, patch version > > > - partitions, and setup > > > - setup done with the cqhlim > > > > [EMAIL PROTECTED]:~# uname -a > > Linux melisanthi 2.4.26-vs1.27 #1 Thu Apr 29 13:18:44 BST 2004 i686 > > GNU/Linux > > > > [EMAIL PROTECTED]:~# df > > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/hda2 1971864 38632 1833064 3% / > > tmpfs 254152 0 254152 0% /dev/shm > > /dev/hda5 2954136 960060 1844012 35% /usr > > /dev/hda6 1473280 15744 1382696 2% /home > > /dev/hda7 1971832 64744 1806920 4% /var > > /dev/hda8 48338520 3679948 42203088 9% > /var/lib/vservers > > > > [EMAIL PROTECTED]:~# cqhadd -x 8609 -v /dev/hda8 > > adding quota hash for /dev/hda8 ... succeeded. > > > > [EMAIL PROTECTED]:~# cqdlim -x 8609 -S > 21657,100000,784440,1280000,61 -v > > > > /dev/hda8 > > inodes: 21657/100000 > > blocks: 784440/1280000 (61%) > > good that you did the math for me ... > > the last argument to the cqdlim (the one you set to 61) > is the root reserve, which usually is around 5-10% > > this space is reserved for root users (in newer patches > for the root user inside the vserver), and not available > for 'normal' use ... > > look at the 'real' fs values: > > 48338520(blocks) - 3679948(used) = 44658572 > 44658572 - 42203088(avail) = 2455484 > > 2455484/483385.20 = 5.07% > > (a, still some math left for me ;) > > # cqdlim -x 8609 -S 21657,100000,784440,1280000,5 -v > > will give a better result in your case ;) > > HTH, > Herbert > > > Thanks, > > Chris. > _______________________________________________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver > _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
