[SLE] Problem with quotas
Hello, I have a problem with disk quotas, I have installed SUSE 6.4, and I want to active quotas in one file system, I have changed /etc/fstab Before activate quotas the line was: /dev/hda4 /var reiserfs defaults 1 2 After activate quotas the line is: /dev/hda4 /var reiserfs defaults,usrquota 1 2 I execute quotaon -auvg but I don't obtain any answer, and when I reboot the system, many errors appears, can't start many services like cron and others. Can you help me?. Silvia Nieto Santos Servicios Centrales Servicio Andaluz de Salud Tfno. +34 955 01 71 14 mailto:snieto@sc.sas.cica.es <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2> Hello, </FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> I have a problem with disk quotas, I have installed SUSE 6.4, and I want to active quotas in one file system, I have changed /etc/fstab </FONT></DIV> <DIV><FONT face=Arial size=2> </FONT></DIV> <DIV><FONT face=Arial size=2> Before activate quotas the line was:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> /dev/hda4 /var reiserfs defaults 1 2</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> After activate quotas the line is:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> /dev/hda4 /var reiserfs defaults,usrquota 1 2</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> I execute quotaon -auvg but I don't obtain any answer, and when I reboot the system, many errors appears, can't start many services like cron and others. </FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> Can you help me?. </FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> </FONT></DIV> <DIV><FONT face=Arial size=2> </FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Silvia Nieto SantosServicios Centrales Servicio Andaluz de Salud<BR>Tfno. +34 955 01 71 14<BR><A href="mailto:snieto@sc.sas.cica.es">mailto:snieto@sc.sas.cica.es</A></FONT></DIV></BODY>
Hello snieto, on Friday, September 01, 2000 at 10:51:07 +0200, you sat in front of your keyboard and wrote:
Hello,
I have a problem with disk quotas, I have installed SUSE 6.4, and I want to active quotas in one file system, I have changed /etc/fstab
Before activate quotas the line was:
/dev/hda4 /var reiserfs defaults 1 2
After activate quotas the line is:
/dev/hda4 /var reiserfs defaults,usrquota 1 2
I execute quotaon -auvg but I don't obtain any answer, and when I reboot the system, many errors appears, can't start many services like cron and others.
Can you help me?.
First, you have to create the quota.user and quota.group files on the /var
partition:
(as root)
cd /var
touch quota.user
touch quota.group
chmod 600 quota.user
chmod 600 quota.group
then you have to set the quotas for each users and/or groups:
edquota -u <username>
edquota -g <groupname>
then you can activate the quotas:
quotaon -auvg
Regards...
--
Jean-François Bocquet
participants (2)
-
snieto@sc.sas.cica.es
-
tns01@free.fr