Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: quota on ubuntu
PostPosted: Thu Jul 10, 2014 9:38 pm 
Offline
Newbie

Joined: Thu Jul 10, 2014 9:32 pm
Posts: 3
whenever i try to enable quota
i get the error:
root@plato:~# quotacheck -acguvm
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

have tried to deploy centos and debian, i get the same error

tried ln -s /dev/xvda /dev/root

it just breaks on reboot


Top
   
 Post subject: Re: quota on ubuntu
PostPosted: Fri Jul 11, 2014 6:29 am 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
Putting your error into google returned numerous results, including:

http://www.daftspunk.com/code/fix-for-f ... s-6-x.html

Which suggests creating the symlink at startup, prior to any quota check.

_________________
sleddog


Top
   
 Post subject: Re: quota on ubuntu
PostPosted: Fri Jul 11, 2014 12:13 pm 
Offline
Newbie

Joined: Thu Jul 10, 2014 9:32 pm
Posts: 3
Thank you sleddog for your help, i did check google results before opening this topic here

This file /etc/rc.sysinit does not exist in ubuntu


Top
   
 Post subject: Re: quota on ubuntu
PostPosted: Sat Jul 12, 2014 8:41 pm 
Offline
Newbie

Joined: Thu Jul 10, 2014 9:32 pm
Posts: 3
anyone has a solution ??

file /etc/rc.sysinit does not exit in ubuntu and debian


Top
   
 Post subject: Re: quota on ubuntu
PostPosted: Sat Jul 12, 2014 8:43 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
Why not just set the quota on the right device in the first place?


Top
   
 Post subject: Re: quota on ubuntu
PostPosted: Tue Aug 05, 2014 9:11 am 
Offline
Newbie

Joined: Tue Aug 05, 2014 6:41 am
Posts: 3
Adding these two lines to /etc/rc.local right before 'exit 0' worked for me (Ubuntu 14.04) :

Code:
# /etc/rc.local

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

exit 0


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