Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 1995 09:19:28 -0400 (EDT)
From:      "Rashid Karimov." <rashid@haven.ios.com>
To:        moriya@ifi.unicamp.br (Alexandre Moriya - esp)
Cc:        FreeBSD-questions@FreeBSD.org
Subject:   Re: disk quotas
Message-ID:  <199507211319.JAA29837@haven.ios.com>
In-Reply-To: <199507211121.IAA02372@by-tor.ifi.unicamp.br> from "Alexandre Moriya - esp" at Jul 21, 95 08:21:01 am

next in thread | previous in thread | raw e-mail | index | archive | help
		Hi there,

> 
> Hi,
> 
> I hope it is the right place to my question.
> Has anybody been in touch with disk quotas in FreeBSD 2.0 ?

	If you are talking about 2.0 , I'm afraid you are out of luck :(
	The first really working QUOTAS are in 2.0.5Release. They
	_do work 100%.

> 
> I was not able to configure it !
> I recompiled the kernel with the option ('options QUOTA'), but
> then, I could not set any user disk quotas ...
> I tried 'edquota', but when I checked if the quota was set
> correctly, it was as it hasn't been set ! 
> Ooops, I also create the file 'quotas' and then 'quotas.user' but
> it didn't work ...

	First compile the kernel with QUOTA defined
	Boot new kernel
	edit /etc/fstab to mark the partitions you want to QUOTA to 
	be on
	Create empty files quota.[user|group] :

	touch /u/u1/user.quota

	in the corresponding partitions ( on the upper level
	of directory structure)

	Run quotacheck on those partitions:

	quuotacheck /u/u1
	so on ...

	NOTICE:
	I've mentioned that sometimes quotacheck -a ( for all 
	partitions marked to be with QUOTAs in /etc/fstba doesn't
	work for some reason )


	now ( finally ) run quotaon for those partitions to 
	switch the QUOTAs on:

	quotaon /u/u1
	so on ...
> 
	
	DISCLAIMER:
	the way above is the way I go  ...
	The mileage may vary :)

	Rashid

	PS !!!
	The QUOTAs code doesn't lead to kernel locking ! -
	albeit the premonition a few ppl here had ( me incl. :). Something
	else causes the locking . Very interesting one BTW - the console
	driver is alive ( you can  switch the virtual screens from the
	console) , the ping from remote sites works too , when one tries
	telnet or ftp tp the hung host - it does say "connected" , 
	but that's about it. You can't get anything else !

	Any cure? 



	Rashid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507211319.JAA29837>