Received: with ECARTIS (v1.0.0; list linux-xfs); Wed, 09 Jun 2004 23:46:22 -0700 (PDT) Received: from malik.acsalaska.net (malik.acsalaska.net [209.112.155.41]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i5A6kGgi016840 for ; Wed, 9 Jun 2004 23:46:16 -0700 Received: from erbenson.alaska.net (45-pm1.nwc.acsalaska.net [209.112.138.45]) by malik.acsalaska.net (8.12.11/8.12.11) with ESMTP id i5A6kDj8067426 for ; Wed, 9 Jun 2004 22:46:14 -0800 (AKDT) (envelope-from erbenson@alaska.net) Received: from plato.local.lan (plato.local.lan [192.168.0.4]) by erbenson.alaska.net (Postfix) with ESMTP id DBCDC39B1 for ; Wed, 9 Jun 2004 22:46:11 -0800 (AKDT) Received: by plato.local.lan (Postfix, from userid 1000) id 8BF3940FF35; Wed, 9 Jun 2004 22:46:12 -0800 (AKDT) Date: Wed, 9 Jun 2004 22:46:12 -0800 From: Ethan Benson To: linux-xfs@oss.sgi.com Subject: Re: Q: How to correct a wrong quota value on a xfs filesystem Message-ID: <20040610064612.GF15177@plato.local.lan> Mail-Followup-To: linux-xfs@oss.sgi.com References: <200406091550.41686.krienke@uni-koblenz.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y/WcH0a6A93yCHGr" Content-Disposition: inline In-Reply-To: <200406091550.41686.krienke@uni-koblenz.de> User-Agent: Mutt/1.3.28i X-OS: Debian GNU X-gpg-fingerprint: E3E4 D0BC 31BC F7BB C1DD C3D6 24AC 7B1A 2C44 7AFC X-gpg-key: http://www.alaska.net/~erbenson/gpg/key.asc Mail-Copies-To: nobody X-No-CC: I subscribe to this list; do not CC me on replies. X-ACS-Spam-Status: no X-ACS-Scanned-By: MD 2.42; SA 2.63; spamdefang 1.102 X-archive-position: 3362 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: erbenson@alaska.net Precedence: bulk X-list: linux-xfs Content-Length: 1972 Lines: 66 --Y/WcH0a6A93yCHGr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 09, 2004 at 03:50:37PM +0200, Rainer Krienke wrote: > Hello, >=20 > I am running a linux fileserver (suse 8.2) with several 1000 users on it.= The=20 > user filesystem is xfs (1.3.1). The filesystem ist mounted with the usrqu= ota=20 > option. Basically quota work just fine. >=20 > However today a user complained because the quota system reported that he= was=20 > about his soft quota limit. A call of quota -v user confirmed this. Howev= er=20 > this seems to be wrong. I searched the complete filesystem with find for= =20 > files belonging to this user oder his uid and the only files found were i= n=20 > his HOME directory that is on this filesystem. Running du -sk on his home= =20 > reports only half of the size that the quota system says he is currently= =20 > using.=20 >=20 > So i wanted to check the quotas at night using quotacheck: >=20 > /sbin/quotacheck -v -m -F xfs /export/user3 >=20 > However this program tells me that quotacheck for xfs need not be cheked= =20 > (probably because its part of the journal data?).=20 >=20 > So how can I correct the obviously wrong quota value of the user in quest= ion?=20 > Do I have to run xfs_repair, only umount and then remount the filesystem,= so=20 > xfs will check the quota once again? first run: lsof +L1 this will reveal any unlinked, open files. these are invisible to all fs search tools, but will continue to hold thier disk space until whatever process holding them open, closes them. --=20 Ethan Benson http://www.alaska.net/~erbenson/ --Y/WcH0a6A93yCHGr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iEYEARECAAYFAkDIA7QACgkQJKx7GixEevwY6gCdFBhFjyhubuzO63g1l9zCh8Ey VxMAn3kBE9AamP9AALKjppG8mzu1x9aw =P56H -----END PGP SIGNATURE----- --Y/WcH0a6A93yCHGr--