installing journaled quotas on debian errors

so, i've attempted to install journaled disk quotas onto my debian profile, but keep coming back to the same errors.

first i install quota (aptitude install quota)

then i have edited fstab to look like this:

/etc/fstab: static file system information.

#

proc /proc proc defaults 0 0

/dev/xvda / ext3 noatime,errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1

/dev/xvdb none swap sw 0 0

then i enter the following commands:

touch /aquota.user /aquota.group

chmod 600 /aquota.*

mount -o remount /

and everything appears to go smoothly. but then, i get the follow errors with these commands:

quotacheck -avugm

quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Cannot save quota settings…

quotacheck: WARNING - Quotafile //aquota.group was probably truncated. Cannot save quota settings…

quotaon -avug

quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.

quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.

i can't seem to do anything to solve this! i'm pretty new to linux and debian and doing things from the command prompt, any help or points in the right direction would be appreciated! :)

1 Reply

figured it out, in case anyone else is having this problem. followed the advice here, and it worked!

http://forums.rimuhosting.com/forums/sh … .php?t=122">http://forums.rimuhosting.com/forums/showthread.php?t=122

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct