Re: [Vserver] Re: quota problem
Hi, question is, on what filesystem, and with what options IIRC, ext3 is kind of hairy, as it supports two different kinds of quote, a journaled one and the 'normal' ext2 quota stuff ... ext3 with mount options: rw,noatime,usrquota,grpquota i checked also ext2, strace output after quotaon command shows: quotactl(Q_QUOTAON|USRQUOTA, /dev/hdv1, 2, {7022360269181497135, 491328337198, 210453397504, 701898877744431, 7809632559044715890, 3408187388784029541, 4707197592648237900, 7161402270843880775}) = -1 ENODEV (No such device) I think my issue was that /etc/mtab and /etc/fstab have to be correct. To get that i put them in /etc/vserver/name/apps/init/ (As far as i remember, only mail access ehre now). yes, it _is_ essential to get proper values at mount (real mount time) and mtab (for the guest) my configuration: host fstab: /dev/hdc6 /vservers ext3noatime,usrquota,grpquota 0 2 host mtab: /dev/hdc6 /vservers ext3 rw,noatime,usrquota,grpquota 0 0 host /proc/mounts: /dev/hdc6 /vservers ext3 rw,noatime,usrquota,grpquota 0 0 guest apps/init/mtab: /dev/hdv1 / ufsnoatime,usrquota,grpquota 0 2 guest /proc/monts: /dev/root / ext3 rw,noatime,usrquota,grpquota 0 0 guest fstab: /dev/hdv1 / ext3defaults,usrquota,grpquota1 1 guest mtab: /dev/hdv1 / ufsnoatime,usrquota,grpquota 0 2 Jarek Dylag ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
On Tue, Feb 06, 2007 at 08:55:11AM +0100, Jarek Dylag wrote: Hey, I still can't get quota working. I made some investigation and problem started after changes in namespace separation implementation made between: it is still on my (very long :)' todo list, and assumed everything goes as planned (it never does :) I will get to that tomorrow ... best, Herbert patch-2.6.19-vs2.1.x-t4.diff and patch-2.6.19-vs2.1.x-t7.diff Jarek Dylag ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
Hi, only as a remark. I have quota now working with 2.6.19.3 vs2.2.0-rc10 (I think rc10, it was 2 days ago i downloaded it). I think my issue was that /etc/mtab and /etc/fstab have to be correct. To get that i put them in /etc/vserver/name/apps/init/ (As far as i remember, only mail access ehre now). Regards, Joerg On Do, 8.02.2007, 06:55, Herbert Poetzl sagte: On Tue, Feb 06, 2007 at 08:55:11AM +0100, Jarek Dylag wrote: Hey, I still can't get quota working. I made some investigation and problem started after changes in namespace separation implementation made between: it is still on my (very long :)' todo list, and assumed everything goes as planned (it never does :) I will get to that tomorrow ... best, Herbert patch-2.6.19-vs2.1.x-t4.diff and patch-2.6.19-vs2.1.x-t7.diff Jarek Dylag ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
On Thu, Feb 08, 2007 at 09:54:16AM +0100, Joerg Maier wrote: Hi, only as a remark. I have quota now working with 2.6.19.3 vs2.2.0-rc10 (I think rc10, it was 2 days ago i downloaded it). question is, on what filesystem, and with what options IIRC, ext3 is kind of hairy, as it supports two different kinds of quote, a journaled one and the 'normal' ext2 quota stuff ... I think my issue was that /etc/mtab and /etc/fstab have to be correct. To get that i put them in /etc/vserver/name/apps/init/ (As far as i remember, only mail access ehre now). yes, it _is_ essential to get proper values at mount (real mount time) and mtab (for the guest) thanks, Herbert Regards, Joerg On Do, 8.02.2007, 06:55, Herbert Poetzl sagte: On Tue, Feb 06, 2007 at 08:55:11AM +0100, Jarek Dylag wrote: Hey, I still can't get quota working. I made some investigation and problem started after changes in namespace separation implementation made between: it is still on my (very long :)' todo list, and assumed everything goes as planned (it never does :) I will get to that tomorrow ... best, Herbert patch-2.6.19-vs2.1.x-t4.diff and patch-2.6.19-vs2.1.x-t7.diff Jarek Dylag ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
Hey, I still can't get quota working. I made some investigation and problem started after changes in namespace separation implementation made between: patch-2.6.19-vs2.1.x-t4.diff and patch-2.6.19-vs2.1.x-t7.diff Jarek Dylag ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
Hey After upgrade from: 2.6.17.11-vs2.1.1-rc31 to: 2.6.19.2-vs2.2.0-rc8.7 i noticed, that quota don't work form me anymore. quotaon -a quotaon: using //qquota.group on /dev/hdv1 [/]: No such device quotaon: using //qquota.user on /dev/hdv1 [/]: No such device Use the quota tools by _implicitely_ specifying the _device_ : # quota* --xxx --yyy /dev/hdvX No, it still doesn't work. additional information, maybe it will help: # /usr/sbin/vrsetup /dev/vroot0 /dev/hda6 # ls -la /dev/vroot0 brw--- 1 root root 4, 0 2005-07-22 21:24 /dev/vroot0 # vserver v1890 enter # ls -la /dev/hdv1 brw--- 1 root disk 4, 0 2005-09-15 07:52 /dev/hdv1 # ls -la /aquota* -rw--- 1 root root 12288 2007-01-28 19:36 /aquota.group -rw--- 1 root root 11264 2007-01-28 19:36 /aquota.user # quotacheck -ugm /dev/hdv1 # quotaon -ug /dev/hdv1 quotaon: using //aquota.group on /dev/hdv1 [/]: No such device quotaon: using //aquota.user on /dev/hdv1 [/]: No such device Jarek ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver