From owner-freebsd-fs@FreeBSD.ORG Thu Mar 23 09:28:59 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B4E16A420 for ; Thu, 23 Mar 2006 09:28:59 +0000 (UTC) (envelope-from Nicolas.Kowalski@imag.fr) Received: from imag.imag.fr (imag.imag.fr [129.88.30.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69C5B43D46 for ; Thu, 23 Mar 2006 09:28:58 +0000 (GMT) (envelope-from Nicolas.Kowalski@imag.fr) Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by imag.imag.fr (8.13.0/8.13.0) with ESMTP id k2N9Ss8x021661 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 23 Mar 2006 10:28:54 +0100 (CET) Received: from corbeau.imag.fr ([129.88.43.162]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FMM7i-0000DA-17 for freebsd-fs@FreeBSD.org; Thu, 23 Mar 2006 10:28:54 +0100 Received: from kowalski by corbeau.imag.fr with local (Exim 4.50) id 1FMM7h-0003DW-EO for freebsd-fs@FreeBSD.org; Thu, 23 Mar 2006 10:28:53 +0100 To: freebsd-fs@FreeBSD.org From: Nicolas KOWALSKI Date: Thu, 23 Mar 2006 10:28:53 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Nicolas Kowalski X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (imag.imag.fr [129.88.30.1]); Thu, 23 Mar 2006 10:28:54 +0100 (CET) X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-Information: Please contact the ISP for more information Cc: Subject: quotas problem on 4.11/UFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 09:28:59 -0000 Hello, Our FreeBSD 4.11 fileserver (NFS, Samba) seems to have some problems with quotas, apparently just after a lot of files are deleted. The clients are mostly Linux 2.6 workstations (75), and some Windows XP (10). For example, yesterday the quota files of one disk were these: -rw-r----- 1 root tty 2097120 Mar 21 23:14 quota.group -rw-r----- 1 root tty 2097120 Mar 21 23:14 quota.user But today, after a user deleted a lot of his files, the quotas files are: -rw-r----- 1 root tty 2097120 Mar 22 23:10 quota.group -rw-r----- 1 root tty 4294967264 Mar 22 23:10 quota.user The repquota command still works, but takes more time (30 secs instead of immediate). We will reboot the server today to rebuild the quota files. Does anyone know what is happenning here, and if possible how to prevent it ? Thanks. PS: some informations... pave# uname -a FreeBSD pave.imag.fr 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #5: Mon Oct 17 11:49:43 CEST 2005 root@pave.imag.fr:/usr/obj/usr/src/sys/PAVE i386 pave# mount /dev/da0s1a on / (ufs, local) /dev/da0s1e on /var (ufs, local, soft-updates) /dev/da0s1f on /tmp (ufs, local, soft-updates) /dev/da0s1g on /usr (ufs, local, soft-updates) /dev/da1s1e on /export/local (ufs, NFS exported, local, with quotas, soft-updates) /dev/da2s1e on /export/home (ufs, NFS exported, local, with quotas, soft-updates) /dev/da3s1e on /export/home2 (ufs, NFS exported, local, with quotas, soft-updates) pave# df /export/home2 Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da3s1e 70566166 41328314 23592560 64% /export/home2 pave# df -i /export/home2 Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da3s1e 70566166 41346828 23574046 64% 944519 7881079 11% /export/home2 -- Nicolas