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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 20 Aug 2004 - 14:50:45 BST


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
>
> root_at_melisanthi:~# uname -a
> Linux melisanthi 2.4.26-vs1.27 #1 Thu Apr 29 13:18:44 BST 2004 i686
> GNU/Linux
>
> root_at_melisanthi:~# 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
>
> root_at_melisanthi:~# cqhadd -x 8609 -v /dev/hda8
> adding quota hash for /dev/hda8 ... succeeded.
>
> root_at_melisanthi:~# 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
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


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 20 Aug 2004 - 14:50:56 BST by hypermail 2.1.3