On Wed, 2006-12-06 at 07:52 +0100, Miha Verlic wrote:
> > No, they aren't related at all.  It looks like usrquota gets cleared on
> > any remount.  It's not limited to jfs either.  I see the same thing on
> > ext4.  I don't know if this is a known behavior or not.  You can
> > probably guess that I don't use quotas very much.
> 
> Hm, I'm also pretty sure I tried -o remount,usrquota,integrity but it
> didn't work... (can't remember exactly what happened, I'll try to retest
> it somewhere)
> 
> > Misleading really.  The kernel doesn't really do anything with the quota
> > flags.  The quota tools use the presence of the flags to know when to
> > enable or disable quotas.  I copied the man-page text from ext2/3 a long
> > time ago.
> 
> So if I enforce quota on partition without usrquota flag (which has
> integrity flag) quota should work here?

The quotaon command depends on seeing the usrquota flag, so I'm not sure
how you would enforce quotas without the flag.

> >> I'm pretty sure I did a "mount -o remount,usrquota" on another machine
> >> some time before and it didn't crash, however it also added nointegrity
> >> flag along with usrquota.
> >
> > nointegrity is generally not a good idea.
> 
> I know, that's why I'm trying to have both usrquota + integrity, but
> apparently they don't play along - when I set usrquota it also sets
> nointegrity along with it :(

That is really weird.  I haven't seen that.  No matter what combination
of mount flags I use, I don't see the nointegrity flag being set.  I'm
not running with the grsecurity patch, but I don't see anything there
that should change the behavior.

> > Not really.  I can try stressing the file system and issuing remounts to
> > see if I can recreate anything like it.
> 
> Thanks, I'll try to test some things, but it's a bit annoying, since
> this particular server is on colocation quite far away :/

Keep me informed on what you find out.  I'd like to figure out what's
happening here.
-- 
David Kleikamp
IBM Linux Technology Center


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jfs-discussion mailing list
Jfs-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to