Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th September 2012, 11:55
centurianii centurianii is offline
Junior Member
 
Join Date: Mar 2009
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default quota on ubuntu 11.10 at rackspace

Hello,

I tried to enable quotas on my cloud server following the "proper" way (see: http://www.ibm.com/developerworks/li...4-4/index.html or http://www.ubuntugeek.com/how-to-set...in-ubuntu.html or http://www.debianadmin.com/implement...-in-linux.html) but with error:
Code:
# quotaon -avug
quotaon: using //aquota.group on /dev/xvda1 [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //aquota.user on /dev/xvda1 [/]: No such process
quotaon: Quota format not supported in kernel.
After searching I found a user's answer at: http://www.howtoforge.com/perfect-se...ispconfig-3-p5 suggesting installation of linux-image-extra-virtual.
After installation I saw the differences between what rackspace gave me and what I have now:

Code:
# ls -al /lib/modules
total 20
drwxr-xr-x  5 root root 4096 2012-09-18 10:44 .
drwxr-xr-x 16 root root 4096 2012-09-04 10:32 ..
drwxr-xr-x  2 root root 4096 2011-10-18 15:49 3.0.0-12-server
drwxr-xr-x  4 root root 4096 2011-10-20 20:47 3.0.0-12-virtual
drwxr-xr-x  4 root root 4096 2012-09-18 10:46 3.0.0-26-virtual

# ls -al /lib/modules/3.0.0-12-virtual/kernel/fs/
...
no quota dir

# ls -al /lib/modules/3.0.0-12-virtual/kernel/fs/
...
quota
...
Finally, I tried to solve ALL my problems with:
Code:
# modprobe  /lib/modules/3.0.0-26-virtual/kernel/fs/quota/quota_v2.ko
FATAL: Module /lib/modules/3.0.0_26_virtual/kernel/fs/quota/quota_v2.ko not found.
or any other combination with NO result.

What's strange? My kernel remains at 12:
Code:
# uname -r
3.0.0-12-virtual
Any help?
Reply With Quote
Sponsored Links
  #2  
Old 19th September 2012, 18:44
centurianii centurianii is offline
Junior Member
 
Join Date: Mar 2009
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

S O L V E D!
1. Simply edit my /boot/grub/menu.lst and added first in list (at the end) the following:

title Ubuntu 12.04, kernel 3.2.0-30-virtual
root (hd0)
kernel /boot/vmlinuz-3.2.0-30-virtual root=/dev/xvda1 console=hvc0 ro quiet splash
initrd /boot/initrd.img-3.2.0-30-virtual

check /boot to see actual names.

2. Then, I rebooted and
quotaon -uagv
or -if errors
modprobe quota_v2
quotaon -uagv

that's it!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Quota on ubuntu 11.10 /nginx/ISPConfig 3 mattias88 Installation/Configuration 4 21st September 2012 00:38
Virtual users & domains in Ubuntu 11.10: cannot set max quota more than 2147483647 klonos HOWTO-Related Questions 1 13th December 2011 02:57
Cron issue in Debian 6 Nolan Installation/Configuration 6 18th April 2011 16:36
Connection timed out on intermail outgoing mails gouravgarg Server Operation 6 5th March 2010 20:31
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 13:49


All times are GMT +2. The time now is 05:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.