From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 22:57:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28D8D37B401 for ; Sun, 29 Jun 2003 22:57:02 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C26543FAF for ; Sun, 29 Jun 2003 22:57:01 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 19068 invoked by uid 1001); 30 Jun 2003 05:59:49 -0000 Date: Sun, 29 Jun 2003 22:59:49 -0700 From: Joshua Oreman To: Dan Nelson Message-ID: <20030630055949.GB18961@webserver.get-linux.org> References: <3EFFF7AD.1060308@tele-kom.ru> <20030629221236.V57224-100000@mail.econolodgetulsa.com> <20030630052545.GP30324@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030630052545.GP30324@dan.emsphone.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: question regarding quotas X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 05:57:02 -0000 On Mon, Jun 30, 2003 at 12:25:45AM -0500 or thereabouts, Dan Nelson wrote: > In the last episode (Jun 29), Josh Brooks said: > > On Mon, 30 Jun 2003, Sergey "DoubleF" Zaharchenko wrote: > > > So you are going to make a directory N Mbytes large... Make a file > > > N Mbytes large, vnconfig it, disklabel it, newfs it and mount to > > > your directory. You should be solved then. > > > > Yes, I am familiar with this way of solving the problem, its just > > that I would like to try to avoid having all those partitions mounted > > (even if they are just vn-partitions) because then it is very hard to > > increase or decrease those quota sizes - you have to dump, dd a > > bigger file, re-vnconfig, then restore ... very time consuming. > > If you're adventurous, you could use growfs :) For example, to enlarge the quota by 100 MBytes: # umount /the/quota/dir # dd if=/dev/zero bs=1m count=100 >> /the/vn/file # growfs /dev/vn?c Did you make backups? yes ... # mount /dev/vn?c /the/quota/dir Alas, no way to shrink it :( -- Josh > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"