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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 03 Jul 2003 - 16:07:24 BST


On Thu, Jul 03, 2003 at 04:40:34PM +0200, Lars Braeuer wrote:
> hi herbert,
>
> Herbert Poetzl wrote:
> >>
> >>Well, at first I setup standard quota stuff in my hostsystem (no vserver
> >>context quota), just to see how everything works etc. I'm able to set
> >>user quota's with edquota. The user quota's are saved. Example:
> >>- edquota -u quota_user
> >>- setting block soft limit 100000 and hard limit 200000
> >>- exiting edquota
> >>- editing the same user again with "edquota -u quota_user"
> >>- the soft and hard limits I set are still present
> >>
> >>Now I'm trying the same thing (still in the hostsystem) after applying
> >>all the necessary patches:
> >>kernel: patch-2.4.21ctx17, linux-2.4.21-ctx17-vquota-0.10.diff
> >>quota-tools: quota-tools-3.08-ctx17-v0.35.diff
> >>vserver-0.22: vserver-0.22-cap_quotactl.diff
> >
> >
> >okay, here is the checklist:
> >
> > - kernel rebuilt and installed and booted?
> > (check with cat /proc/version)
>
> yes, Linux version 2.4.21ctx-17quota
>
> > - quota files removed/rebuilt?
> > ( rm, quotacheck -vaugxm )
>
> yes.
>
> > - quota turned on?
> > ( quotaon -vaugx )
>
> yes.
>
>
> >my best guess would be, that quota wasn't activated
> >
> >
> >if this remains true, after you positively checked
> >the list above, please send me a transcript of your
> >actions accompanied by results of
>
> * download of patches
> * cd /usr/src/linux-2.4.21
> * patch -p1 <../patch-2.4.21ctx-17
> * patch -p1 <../linux-2.4.21-ctx17-vquota-0.10.diff
> * cd ../
> * download quota-tools
> * cd quota-tools
> * patch -p1 <../quota-tools-3.08-ctx17-v0.35.diff
> * cd ../
> * download vserver-0.22
> * cd vserver-0.22
> * patch -p1 <../vserver-0.22-cap_quotactl.diff
> * active "Block Devices > Virtual Root Device Support" in kernel conf
> * install kernel image
> * reboot

what about
 
 - building the kernel?
 - building the quota tools?
 - installing the quota tools?

I simply assume you did ...

> >cat /proc/version
>
> Linux version 2.4.21ctx-17quota (root_at_xerofun) (gcc version 2.95.4 20011002
> (Debian prerelease)) #1 Thu Jul 3 14:54:40 CEST 2003
>
> >cat /proc/mounts
>
> rootfs / rootfs rw 0 0
> /dev/root / ext2 rw 0 0
> proc /proc proc rw 0 0
> devpts /dev/pts devpts rw 0 0
> /dev/hda1 /boot ext2 rw 0 0
> /dev/hda5 /usr ext2 rw 0 0
> /dev/hdb1 /windows/C vfat rw,nosuid,nodev,noexec 0 0
> /dev/hdb5 /windows/D vfat rw,nosuid,nodev,noexec 0 0
> /dev/hda6 /windows/E vfat rw,nosuid,nodev,noexec 0 0
>

hmm, you are sure, you're not pulling my leg?

accroding to your /proc/mounts /dev/hda2 is either your
root filesystem (with quota disabled) or not mounted
at all ...

> >repquota -augx
>
> *** Report for user quotas on device /dev/hda2
> Block grace time: 7days; Inode grace time: 7days
> Block limits File limits
> User CTX used soft hard grace used soft hard grace
> ---------------------------------------------------------------------------
> root -- 288204 0 0 16575 0 0
> daemon -- 8 0 0 3 0 0
> man -- 4 0 0 1 0 0
> lp -- 388 0 0 64 0 0
> mail -- 216 0 0 9 0 0
> news -- 4 0 0 1 0 0
> xerofun -- 8 0 0 5 0 0
> mysql -- 43724 0 0 580 0 0
> apache -- 284 0 0 16 0 0
> icecast -- 40 0 0 6 0 0
> alias -- 4 0 0 1 0 0
> qmailq -- 132 0 0 30 0 0
> qmailr -- 4 0 0 1 0 0
> qmails -- 292 0 0 75 0 0
> vpopmail -- 3756 0 0 75 0 0
> #500 0 -- 4 0 0 1 0 0
> #501 0 -- 232 0 0 43 0 0
> #60 0 -- 4 0 0 1 0 0
>
>
>


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 Thu 03 Jul 2003 - 16:52:46 BST by hypermail 2.1.3