12d30 Quotas Error - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Storage

Storage Place to ask questions about partitioning, labelling, filesystems, encryption or anything else related to storage area.

Reply
 
Thread Tools Display Modes
  #1  
Old April 13th, 2012, 15:27
cachorroyayo cachorroyayo is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Quotas Error

Hello forum,

I just installed a '7.4-RELEASE FreeBSD' server. I've recompiled my kernel to support quotas.

Code:
cat /usr/src/sys/i386/conf/GENERICQUO | grep -i quo
options 	QUOTA			# Enable quotas

I have this structure in my /etc/fstab because I had to remove *quotas options from fstab.

Code:
 cat /etc/fstab 
# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/da0s1b		none		swap	sw		0	0
/dev/da0s1a		/		ufs	rw	1	1
/dev/da0s1d		/tmp		ufs	rw		2	2
/dev/da4s1e		/usr		ufs	rw		2	2
/dev/da4s1d		/var		ufs	rw		2	2
/dev/acd0		/cdrom		cd9660	ro,noauto	0	0
/dev/gvinum/mega	/home		ufs	rw		1	2
proc			/proc		procfs	rw		0	0
Where /dev/gvinum/mega is gvinum installed partition of 3 disks of 200GB each one.

When I add 'usrquota,grpquota' or 'userquota,groupquota' in both cases, the server runs into single mode user and suggests modifying /etc/fstab and removing 'quota' options.


Code:
quotaon -a
quotaon: /home not mounted for group quotas
quotaon: /home not mounted for user quotas

Code:
[root@perseus /mega/home/eduardo]# quotacheck -a
quotacheck: /home not mounted for group quotas
quotacheck: /home not mounted for user quotas
quotacheck: /home not mounted for group quotas
quotacheck: /home not mounted for user quotas

When I run the mount command I get this info

Code:
#mount
   /dev/da0s1a on / (ufs, local)
   devfs on /dev (devfs, local)
   /dev/da0s1d on /tmp (ufs, local, soft-updates)
  /dev/da4s1e on /usr (ufs, local, soft-updates) 
  /dev/da4s1d on /var (ufs, local, soft-updates)
   /dev/gvinum/mega on /mega/home (ufs, local)
   procfs on /proc (procfs, local)
Code:
/usr/sbin/repquota /home
repquota: /home not mounted for user quotas
Can anybody suggest me an option to set up my quotas?

Thank you very much.

Last edited by DutchDaemon; April 13th, 2012 at 22:28. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old April 13th, 2012, 15:38
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,021 Times in 1,860 Posts
Default

Did you also add this to /etc/rc.conf?
Code:
enable_quotas="YES"
Handbook: 19.15 File System Quotas
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old April 13th, 2012, 16:49
cachorroyayo cachorroyayo is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes, my rc.conf contains this lines about quotas.

Code:
enable_quotas="YES"
check_quotas="YES"

Last edited by DutchDaemon; April 13th, 2012 at 22:26. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #4  
Old April 13th, 2012, 16:59
cachorroyayo cachorroyayo is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I've followed these steps. But I have no way to complete the process.

Last edited by DutchDaemon; April 13th, 2012 at 22:22. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #5  
Old April 13th, 2012, 17:14
cachorroyayo cachorroyayo is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Look this please

Code:
 dmesg | grep quota
mount option <usrquota> is unknown
mount option <grpquota> is unknown
mount option <usrquota> is unknown
mount option <grpquota> is unknown
And this...

Code:
[root@perseus /mega/home/eduardo]# cat /etc/fstab 
# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/da0s1b		none		swap	sw		0	0
/dev/da0s1a		/		ufs	rw	1	1
/dev/da0s1d		/tmp		ufs	rw		2	2
/dev/da4s1e		/usr		ufs	rw		2	2
/dev/da4s1d		/var		ufs	rw		2	2
/dev/acd0		/cdrom		cd9660	ro,noauto	0	0
/dev/gvinum/mega	/home		ufs	rw,userquota	1	2
proc			/proc		procfs	rw		0	0
Thank you very much.

Last edited by DutchDaemon; April 13th, 2012 at 22:21. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #6  
Old April 13th, 2012, 22:21
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,824
Thanks: 30
Thanked 1,884 Times in 1,330 Posts
Default

cachorroyayo, use proper formatting for your posts: http://forums.freebsd.org/showthread.php?t=8816 - system/command output and file contents do not belong inside [quote] tags.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---

Last edited by DutchDaemon; April 13th, 2012 at 22:29.
Reply With Quote
  #7  
Old April 14th, 2012, 23:38
cachorroyayo cachorroyayo is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Sorry DutchDameon,
I will consider for the next time.
Reply With Quote
  #8  
Old April 15th, 2012, 00:15
cachorroyayo cachorroyayo is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello,

I don't understand why FreeBSD says

quotaon -avu /home
Code:
quotaon: /home not mounted for user quotas
quotaon: /home not found in fstab
quotacheck -a
Code:
quotacheck: /home not mounted for group quotas
quotacheck: /home not mounted for user quotas
quotacheck: /home not mounted for group quotas
quotacheck: /home not mounted for user quotas
If my /etc/fstab file contains /home partition

cat /etc/fstab
Code:
# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/da0s1b		none		swap	sw		0	0
/dev/da0s1a		/		ufs	rw	1	1
/dev/da0s1d		/tmp		ufs	rw		2	2
/dev/da4s1e		/usr		ufs	rw		2	2
/dev/da4s1d		/var		ufs	rw		2	2
/dev/acd0		/cdrom		cd9660	ro,noauto	0	0
/dev/gvinum/mega	/home		ufs	rw,userquota,groupquota	1	1	
proc			/proc		procfs	rw		0	0
I've followed http://www.freebsd.org/doc/es/books/...ok.html#QUOTAS and http://www.freebsddiary.org/quotas.php.

But I can't complete my process.

Thank you.

Last edited by DutchDaemon; April 15th, 2012 at 02:40. Reason: re-read: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #9  
Old April 15th, 2012, 00:16
cachorroyayo cachorroyayo is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Sorry I omit this command.

quota -v
Code:
quota: /home not mounted for user quotas
Disk quotas for user root (uid 0): none
Thank you.

Last edited by DutchDaemon; April 15th, 2012 at 02:41. Reason: Re-read: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with ZFS quotas, df, and jails wonslung General 2 June 8th, 2010 05:26
ZFS and quotas wonslung General 8 February 7th, 2010 00:57
question about disk quotas and jails wonslung General 0 December 8th, 2009 03:29
[Solved] Jails, zfs quotas, and nullfs ravinald General 4 November 24th, 2009 08:25
quotas and error messages phospher Web & Network Services 1 June 9th, 2009 16:02


All times are GMT +1. The time now is 09:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0