Bug 22007

Summary: quotacheck halt
Product: Base System Reporter: wkwu <wkwu>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1.1-STABLE   
Hardware: Any   
OS: Any   

Description wkwu 2000-10-15 17:50:01 UTC
/etc/fstab:
/dev/da0s1e     /raid1  ufs     rw,async,userquota,nosuid       2       2
/dev/da0s1f     /raid2  ufs     rw,async,userquota,nosuid       2       2

We enable quota on da0s1e da0s1f. when booting: quotacheck halt. 
so I ctrl+c, the quotacheck skips /raid2.

after booting, I quotacheck /dev/da0s1f, it halt again.
And I see that the quotacheck process's load is high. (CPU 99%)

I 'truss quotacheck /dev/da0s1f' :
[deleted]...
read(0x6,0x80ad000,0xe000)			 = 57344 (0xe000)
lseek(6,0xce60e8000,0)				 = -435257344 (0xe60e8000)
read(0x6,0x80ad000,0xe000)			 = 57344 (0xe000)
lseek(6,0xce60f6000,0)				 = -435200000 (0xe60f6000)
read(0x6,0x80ad000,0xa000)			 = 40960 (0xa000)
open("/raid2/quota.user",2,0666)		 = 7 (0x7)
open("/raid2/quota.user",0,0666)		 = 8 (0x8)
quotactl(0x807058c,0x60000,0x0,0x0)		 = 0 (0x0)
fstat(8,0xbfbff4d0)				 = 0 (0x0)
read(0x8,0x8096000,0x2000)			 = 8192 (0x2000)
fstat(7,0xbfbff480)				 = 0 (0x0)
lseek(7,0x0,0)					 = 0 (0x0)
quotactl(0x807058c,0x50000,0x0,0xbfbff620)	 ERR#22 'Invalid argument'
read(0x8,0x8096000,0x2000)			 = 8192 (0x2000)
read(0x8,0x8096000,0x2000)			 = 5568 (0x15c0)
read(0x8,0x8096000,0x2000)			 = 0 (0x0)
write(7,0x8098000,32)				 = 32 (0x20)
lseek(7,0x6c860,0)				 = 444512 (0x6c860)
quotactl(0x807058c,0x50000,0x3643,0xbfbff620)	 ERR#22 'Invalid argument'
SIGNAL 19
SIGNAL 2
SIGNAL 2
process exit, rval = 2

Fix: 

no idea.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-10-15 21:11:42 UTC
State Changed
From-To: open->closed

Duplicate of PR 22006.