Hi floks, I got following error when i tried to configure quota, touch /aquota.user /aquota.group -->ok chmod 600 /aquota.* -->ok mount -o remount / -->ok quotacheck -avugm quotacheck: Checked 5265 directories and 68531 files su93254144:/etc # quotaon -avug quotaon: using //aquota.group on /dev/sda2 [/]: No such process quotaon: Quota format not supported in kernel. quotaon: using //aquota.user on /dev/sda2 [/]: No such process quotaon: Quota format not supported in kernel. NOTE: my fstab would looks like, /dev/sda2 / ext3 acl,user_xattr,usrquota,grpquota 1 1 /dev/sda1 /boot ext3 acl,user_xattr 1 2 /dev/sda6 /home ext3 acl,user_xattr 1 2 /dev/sda3 /var ext3 acl,user_xattr 1 2 /dev/sda5 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 thx, gimhan
And you are sure you run this command: apt-get install quota to install quota? Did you follow the howto exactly? It looks like your kernel is compiled without quota support.
since apt-get wasn't worked , i used yast -i quota command to install quota . su93254144:/etc # whereis quota quota: /usr/bin/quota /usr/share/man/man1/quota.1.gz( refere : http://www.howtoforge.com/forums/showthread.php?t=2222 You can follw the tutorial even without installing and using debian. If you get a line like: apt-get install package1 package2 package3 replace it with: yast -i package1 package2 package3 The SuSe 10 perfect setup howto I've written uses this approach. ) thx, gimhan
As your kernel does not seem to have quota enabled, please have a look at this thread: http://www.howtoforge.com/forums/showthread.php?t=2141
After edit the /etc/fstab , Do i need to reboot the server to capture the configurations? I didn't reboot the server ? ( caz I access my server through ssh , server is located in separate place , I feel afraid to reboot the server caz server is located in a remote place ) Thx very much for u r comments abt that also ( server rebooting thing?)
You dont have to reboot your server after modifying the fstab, because you remounted the harddisk. Have you inserted the quota modules as described in the thread i posted?
If you put Code: quota_v1 quota_v2 at the end of /etc/modules, you must either reboot your server or run Code: modprobe quota_v1 modprobe quota_v2 If modprobe doesn't work, you can try Code: insmod quota_v1 insmod quota_v2 instead. Afterwards, run the steps described in the tutorial for quota.
Im my machine there is no "/etc/modules" . Do i need to install " module-init-tools" get that ("/etc/modules") ?
I tried with installing "module-init-tools". But was unable to find the "/etc/modules" or similar. Thx for any help .
Please try to insert the modules manually without inserting them in /etc/modules: modprobe quota_v1 modprobe quota_v2 If modprobe doesn't work, you can try insmod quota_v1 insmod quota_v2 Afterwards, run the steps described in the tutorial for quota.
Does it mean , we don't care about existency about the /etc/modules ? and run the modprobe quota_v1 modprobe quota_v2 OR insmod quota_v1 insmod quota_v2 before continue the tutorial .
/etc/modules is for storing the information which kernel modules to load on boot. If you can insert the modules manually, we can continue with the howto. I guess SuSe uses another mechanism then /etc/modules to store which kernel modules to load. We can try to find that out while you can continue with the howto.
Results modprobe quota_v1 FATAL: Could not load /lib/modules/2.6.11.4-21.9-smp/modules.dep: No such file or directory insmod quota_v1 insmod: can't read 'quota_v1': No such file or directory
Results modprobe quota_v2 FATAL: Could not load /lib/modules/2.6.11.4-21.9-smp/modules.dep: No such file or directory insmod quota_v2 insmod: can't read 'quota_v1': No such file or directory
Seems as if your kernel doesn't support quota. Either install another kernel, or compile a new one manually.