Re: Disk Quota Question

2004-02-19 Thread Matt Navarre
You've got /dev/da0s1f listed twice. I'm not sure what mount does in that 
case, but it's probably worth fixing.

On Tuesday 17 February 2004 15:10, Joel Eddy wrote:
 I've followed the manual on FreeBsd 5.1. Recompiled the kernel with quota
 options. It is on the  /usr file system. everything appears to be running
 correctly.
 I've made entries to fstab by the manual also.

 mail# cat /etc/fstab
 # DeviceMountpoint  FStype  Options Dump   
 Pass# /dev/da0s1b noneswapsw  0
   0 /dev/da0s1a /   ufs rw  1  
 1 /dev/da0s1e /tmpufs rw  2   2
 /dev/da0s1f /usrufs rw  2   2
 /dev/da0s1d /varufs rw  2   2
 /dev/cd0/cdrom  cd9660  ro,noauto   0   0
 /dev/da0s1f /usrufs rw,userquota,groupquota 1 2


 But when I quota -u USERID I get

 mail# quota -u USERID
 Disk quotas for user USERID (uid 1001): none

 Either I'm missing something or something isn't working. Where do I look
 next.


 Sincerely,

 Joel Eddy
 Iowa Connect, Inc.
 http://www.iowaconnect.com
 Ph. 641-456-5964
 Fax 641-456-5912



 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
[EMAIL PROTECTED]
it was a hard sell, since he's a database person, and as far as I've seen, 
once those database worms eat into your brain, it's hard to ever get anything 
practical done again. To a database person, every nail looks like a thumb. Or 
something like that. - jwz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk Quota Question

2004-02-19 Thread Matthew Seaman
On Wed, Feb 18, 2004 at 11:45:27PM -0500, JJB wrote:
 Try
 http://www.freebsd.org/cgi/man.cgi?query=quotaonsektion=8apropos=0
 manpath=FreeBSD+5.2-RELEASE+and+Ports
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Joel Eddy
 Sent: Tuesday, February 17, 2004 6:11 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Disk Quota Question
 
 I've followed the manual on FreeBsd 5.1. Recompiled the kernel with
 quota
 options. It is on the  /usr file system. everything appears to be
 running
 correctly.
 I've made entries to fstab by the manual also.

[...]

 But when I quota -u USERID I get
 
 mail# quota -u USERID
 Disk quotas for user USERID (uid 1001): none
 
 Either I'm missing something or something isn't working. Where do I
 look next.

I sounds to me as if you've enabled all of the quota machinery, but
that you need to actually initialise the system and set some quotas
for each user on the partition.  You need to run quotacheck(8) to
initialise the quota.user and/or quota.group files -- that should
happen automatically when you reboot, or you can run it manually by:

# quotacheck -v -a

That may take some time to run, and there shouldn't be any activity on
the filesystem while it is being checked -- best way to ensure that is
to drop to single user mode while you run it.

Having done that, what's the output of:

% repquota /usr

To set up the quota limits for each user use edquota(1).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Disk Quota Question

2004-02-19 Thread Jerry McAllister
 
 You've got /dev/da0s1f listed twice. I'm not sure what mount does in that 
 case, but it's probably worth fixing.

It probably takes the first one and ignores the second one.
Sorry I missed that before.

jerry

 
 On Tuesday 17 February 2004 15:10, Joel Eddy wrote:
  I've followed the manual on FreeBsd 5.1. Recompiled the kernel with quota
  options. It is on the  /usr file system. everything appears to be running
  correctly.
  I've made entries to fstab by the manual also.
 
  mail# cat /etc/fstab
  # DeviceMountpoint  FStype  Options Dump   
  Pass# /dev/da0s1b noneswapsw  0
0 /dev/da0s1a /   ufs rw  1  
  1 /dev/da0s1e /tmpufs rw  2   2
  /dev/da0s1f /usrufs rw  2   2
  /dev/da0s1d /varufs rw  2   2
  /dev/cd0/cdrom  cd9660  ro,noauto   0   0
  /dev/da0s1f /usrufs rw,userquota,groupquota 1 2
 
 
  But when I quota -u USERID I get
 
  mail# quota -u USERID
  Disk quotas for user USERID (uid 1001): none
 
  Either I'm missing something or something isn't working. Where do I look
  next.
 
 
  Sincerely,
 
  Joel Eddy
  Iowa Connect, Inc.
  http://www.iowaconnect.com
  Ph. 641-456-5964
  Fax 641-456-5912
 
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 -- 
 [EMAIL PROTECTED]
 it was a hard sell, since he's a database person, and as far as I've seen, 
 once those database worms eat into your brain, it's hard to ever get anything 
 practical done again. To a database person, every nail looks like a thumb. Or 
 something like that. - jwz
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Disk Quota Question

2004-02-18 Thread JJB
Try
http://www.freebsd.org/cgi/man.cgi?query=quotaonsektion=8apropos=0
manpath=FreeBSD+5.2-RELEASE+and+Ports


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joel Eddy
Sent: Tuesday, February 17, 2004 6:11 PM
To: [EMAIL PROTECTED]
Subject: RE: Disk Quota Question

I've followed the manual on FreeBsd 5.1. Recompiled the kernel with
quota
options. It is on the  /usr file system. everything appears to be
running
correctly.
I've made entries to fstab by the manual also.

mail# cat /etc/fstab
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/da0s1b noneswapsw  0
0
/dev/da0s1a /   ufs rw  1
1
/dev/da0s1e /tmpufs rw  2
2
/dev/da0s1f /usrufs rw  2
2
/dev/da0s1d /varufs rw  2
2
/dev/cd0/cdrom  cd9660  ro,noauto   0
0
/dev/da0s1f /usrufs
rw,userquota,groupquota 1
2


But when I quota -u USERID I get

mail# quota -u USERID
Disk quotas for user USERID (uid 1001): none

Either I'm missing something or something isn't working. Where do I
look next.


Sincerely,

Joel Eddy
Iowa Connect, Inc.
http://www.iowaconnect.com
Ph. 641-456-5964
Fax 641-456-5912



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk Quota Question

2004-02-17 Thread Jerry McAllister
 
 I've followed the manual on FreeBsd 5.1. Recompiled the kernel with quota
 options. It is on the  /usr file system. everything appears to be running
 correctly.
 I've made entries to fstab by the manual also.
 
 mail# cat /etc/fstab
 # DeviceMountpoint  FStype  Options DumpPass#
 /dev/da0s1b noneswapsw  0   0
 /dev/da0s1a /   ufs rw  1   1
 /dev/da0s1e /tmpufs rw  2   2
 /dev/da0s1f /usrufs rw  2   2
 /dev/da0s1d /varufs rw  2   2
 /dev/cd0/cdrom  cd9660  ro,noauto   0   0
 /dev/da0s1f /usrufs rw,userquota,groupquota 1
 2
 
 
 But when I quota -u USERID I get
 
 mail# quota -u USERID
 Disk quotas for user USERID (uid 1001): none

Well, what did you set quotas for [USERID] at?
I don't see that in your narrative.

jerry

 
 Either I'm missing something or something isn't working. Where do I look next.
 
 
 Sincerely,
 
 Joel Eddy
 Iowa Connect, Inc.
 http://www.iowaconnect.com
 Ph. 641-456-5964
 Fax 641-456-5912
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]