From owner-freebsd-current@FreeBSD.ORG Fri May 7 00:56:04 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC3E5106566C for ; Fri, 7 May 2010 00:56:04 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [64.81.247.49]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2218FC0C for ; Fri, 7 May 2010 00:56:04 +0000 (UTC) Received: from chez.mckusick.com (localhost [127.0.0.1]) by chez.mckusick.com (8.14.3/8.14.3) with ESMTP id o470a3pl044330; Thu, 6 May 2010 17:36:03 -0700 (PDT) (envelope-from mckusick@chez.mckusick.com) Message-Id: <201005070036.o470a3pl044330@chez.mckusick.com> To: current@freebsd.org X-URL: http://WWW.McKusick.COM/ Date: Thu, 06 May 2010 17:36:03 -0700 From: Kirk McKusick X-Mailman-Approved-At: Fri, 07 May 2010 02:45:21 +0000 Cc: Dag-Erling Smørgrav Subject: HEADS UP: 64-bit quotas going in to head today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kirk McKusick List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2010 00:56:04 -0000 Dag-Erling Smørgrav and I have been working on updating the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users). By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify: options QUOTA # Enable FFS quotas If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'. There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work. The new quota system has been heavily tested, however wider use inevitably finds new issues. If you encounter any problems with quotas please email me directly as well as posting on current as I all too often miss list email and emailing me directly will ensure the quickest response. Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project. Kirk McKusick