LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-24-2008, 06:12 AM   #1
MonsieurLeBoulet
LQ Newbie
 
Registered: Nov 2007
Location: Paris
Distribution: Ubuntu, Slackware, Mandriva
Posts: 7

Rep: Reputation: 0
Can't execute convertquota


Hello everyone.

I have a server running Slackware 11. The /home has been copied from an older server running an ancient version of Slackware with kernel 2.2. The problem is that the quota system has changed in the meantime and this is causing some bugs (notably aberrant disk usage measurements for some users, resulting in locked accounts).

I've searched the web and found out the command convertquota to upgrade quota files to the new version. Unfortunately, the use of

Code:
convertquota -uvf /home
results in the following error message:

Code:
convertquota: Can't open quotafile /home/quota.user: permission denied
convertquota: Can't open old format file for users on /home
I have of course checked permissions on /home/quota.user (that is 751, with file belonging to root), not to mention that the command was launched as root.

I would really be grateful if anyone could help me.

Note: I guess that the next step might be to find an oportunity to switch the server off and to reboot it from a CD so that the filesystem won't be in use ?
 
Old 10-06-2008, 08:35 AM   #2
MonsieurLeBoulet
LQ Newbie
 
Registered: Nov 2007
Location: Paris
Distribution: Ubuntu, Slackware, Mandriva
Posts: 7

Original Poster
Rep: Reputation: 0
Okay, I have apparently solved my problem, sort of... As I suspected, the convertquota function was unable to operate on a quota file under use. So, I took advantage of the first opportunity to mount the filesystem without quotas. It was not enough, because

Code:
convertquota -uvf /home
still returned an error explaining that the users quota file could not be read.

I finally deleted it and remounted the system with quotas activated in fstab. A new file was created and I manually fixed all quotas again. It took some time, but everything seems to work fine (that is better than before).

Last edited by MonsieurLeBoulet; 10-06-2008 at 08:37 AM.
 
  


Reply

Tags
filesystem, quotas


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute xmms jojojo Linux - Newbie 7 05-25-2006 10:53 AM
INIT cannot execute ricnoah Red Hat 1 02-19-2006 09:18 PM
execute .el file balloon Linux - Software 2 11-16-2004 06:02 AM
Cannot execute '/etc/rc.S' jmartinph Slackware 2 03-15-2004 01:39 AM
g++ how do i execute? neon Linux - Newbie 5 08-14-2003 03:51 AM


All times are GMT -5. The time now is 09:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration