From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amir Goldstein Subject: Re: Failure in quotaon with kernel 2.6.39 (Was: Regression with ext4 in kernel 2.6.39-rc7?) Date: Thu, 26 May 2011 18:53:41 +0300 Message-ID: References: <20110526145845.GD5123@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Ext4 Developers List To: Jan Kara Return-path: Received: from mail-ew0-f46.google.com ([209.85.215.46]:52515 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751928Ab1EZPxn convert rfc822-to-8bit (ORCPT ); Thu, 26 May 2011 11:53:43 -0400 Received: by ewy4 with SMTP id 4so308264ewy.19 for ; Thu, 26 May 2011 08:53:41 -0700 (PDT) In-Reply-To: <20110526145845.GD5123@quack.suse.cz> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Thu, May 26, 2011 at 5:58 PM, Jan Kara wrote: > On Thu 26-05-11 16:01:00, Amir Goldstein wrote: >> On Mon, May 16, 2011 at 12:59 PM, Amir Goldstein wrote: >> > On Mon, May 16, 2011 at 12:43 PM, Jan Kara wrote: >> >> >> >> =A0Exactly, that is it. I cannot trigger the problem anymore with= the patch. >> >> I just wonder how come you've spotted the problem because test 23= 2 does not >> >> trigger the problem for me - >> > >> > It does not surprise me. >> > As I wrote earlier, my system (Ubuntu 11.4) is behaving strange. >> > Some tests fail the fsck at the end, because the filesystem fails = to umount >> > immediately after the test (lsof shows nothing and manual umount s= ucceeds). >> > It's probably the cause for 232 test to fail (even after the crash= was fixed) >> > and the cause for quotaoff to be called without quotaon in test 23= 2 on >> > my system. >> > >> >> it is triggered when you run quotaoff without >> >> running quotaon and that does not happen with test 232.. Anyway, = with the >> >> attached patch running quotaoff on filesystem without quotas turn= ed on >> >> works fine whereas previously it oopsed. >> >> So my quota tests (219 and 232) still fail (zero output from repquot= a) >> and I realized 2 things: >> >> 1. they don't fail with kernel 2.6.38 (Ubuntu 11.4 shipped kernel) >> >> 2. what seems to fail is quotaon: >> >> amir@qalab:~/xfstests$ sudo quotaon /mnt/test/scratch >> quotaon: using /mnt/test/scratch/aquota.user on /dev/sda8 >> [/mnt/test/scratch]: No such process >> quotaon: Quota format not supported in kernel. > =A0Hum, how about that you forgot to configure kernel with quota supp= ort as > the message suggests? Or that you forgot to enable appropriate quota = format > or forgot to load the module (if compiled as such)? Yes. didn't build the quota format modules. I wasn't aware that quota support has loadable modules. I took the shipped Ubuntu config and ran make localmodconfig to make my build shorter, so I lost the quota format modules :-) > >> Which also explains why quotaoff was called without quotaon in my >> original bug report. >> >> amir@qalab:~/xfstests$ quotaon -V >> Quota utilities version 4.00-pre1. >> Compiled with: USE_LDAP_MAIL_LOOKUP EXT2_DIRECT HOSTS_ACCESS >> ALT_FORMAT RPC RPC_SETQUOTA BSD_BEHAVIOUR >> Bugs to jack@suse.cz > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Honza > -- > Jan Kara > SUSE Labs, CR > -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html