Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Nov 28, 2013 10:42 am 
Offline
Newbie

Joined: Fri Aug 03, 2012 4:00 pm
Posts: 2
Hi all, I would like to enable dis quotas for my server and this is what I did so far. so, I have installed quota by doing apt-get install quota and all is working there. now here is the funny part. I have used webmin to get everything configured for disk quotas even getting them ready for the /dev/xvda device. but when I go to enable the quota in the webmin modules it doesn't do it... Further more, I can't run my quota check -a command because it would just say, "unable to stat /dev/root, no such file or directory." Does anyone know how I can fix this. I'm running ubuntu 13.10 and I have read and herd that this is a ubuntu bug that's not suppose to happen. Everything is configured in the /etc/fstab file as expected and boots perfectly. so what would I have to do to get my disk quotas to work properly? thanks all.


Top
   
PostPosted: Tue Dec 10, 2013 3:13 pm 
Offline
Senior Member

Joined: Mon Oct 12, 2009 1:20 am
Posts: 50
If I am remembering correctly you need to boot a custom kernel to have quota support. The pre-provided Linode kernels do not have support for quotas.


Top
   
PostPosted: Tue Aug 05, 2014 9:15 am 
Offline
Newbie

Joined: Tue Aug 05, 2014 6:41 am
Posts: 3
Add the following two lines to /etc/rc.local, right before 'exit 0' :

Code:
# /etc/rc.local

ln -s /dev/xvda /dev/root
/etc/init.d/quota restart

exit 0


That allowed me to start quotas in Webmin, and also have them persist after a reboot.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group