quotas problem on 4.11/UFS
Nicolas KOWALSKI
Nicolas.Kowalski at imag.fr
Thu Mar 23 09:28:59 UTC 2006
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 at 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
More information about the freebsd-fs
mailing list