|
Re: Context disk limits.: msg#00191linux.vserver
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@melisanthi:~# uname -a > Linux melisanthi 2.4.26-vs1.27 #1 Thu Apr 29 13:18:44 BST 2004 i686 > GNU/Linux > > root@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@melisanthi:~# cqhadd -x 8609 -v /dev/hda8 > adding quota hash for /dev/hda8 ... succeeded. > > root@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@xxxxxxxxxxxxxxxxxxxxxx http://list.linux-vserver.org/mailman/listinfo/vserver |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Context disk limits.: 00191, Chris Murton |
|---|---|
| Next by Date: | RE: Context disk limits.: 00191, Chris Murton |
| Previous by Thread: | RE: Context disk limits.i: 00191, Chris Murton |
| Next by Thread: | RE: Context disk limits.: 00191, Chris Murton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |