[Lias] Quotas

Tom Doyle tom at stvincents.nsw.edu.au
Fri Feb 28 07:55:01 UTC 2003


Les,

Thanks you... the output looked like this...

quotacheck: WARNING -  Quotafile //aquota.user was probably truncated. Can't
save quota settings...
quotacheck: WARNING -  Quotafile //aquota.group was probably truncated.
Can't save quota settings...
checking /hda2

I then rebooted and its working.

Best Regards,
Tom.


----- Original Message -----
From: "Les Bell" <lesbell at lesbell.com.au>
To: "Tom Doyle" <tom at stvincents.nsw.edu.au>
Cc: <lias at lists.linux.org.au>
Sent: Friday, February 28, 2003 10:01 AM
Subject: Re: [Lias] Quotas


>
> "Tom Doyle" <tom at stvincents.nsw.edu.au> wrote:
>
>
> >>
>
> I get an error on startup:
>
> quotaon: using //aquota.group on /dev/hda2: No such file or directory
> quotaon: using //aquota.user on /dev/hda2: No such file or directory
>
> Anyone got any ideas?
> <<
>
>
>
> Tom,  assuming /dev/hda2 mounts as /home (for example):
>
>
>
> touch /home/aquota.user /home/aquota.group
>
> chmod 600 /home/aquota.user /home/aquota.group
>
>
>
> Make sure that the line for /dev/hda2 in /etc/fstab has the usrquota and
> grpquota mount options.. Then do a "/sbin/quotacheck -avugm /home", from
> memory, and all should be OK. After rebooting, you should be able to
> "edquota -u tom" or whatever.
>
>
> Best,
>
> --- Les Bell, CISSP
> [http://www.lesbell.com.au]
>
>
>
> _______________________________________________
> lias mailing list
> lias at lists.linux.org.au
> http://lists.linux.org.au/listinfo/lias
>




More information about the lias mailing list