Date: Sun, 29 Jun 2003 22:59:49 -0700 From: Joshua Oreman <oremanj@webserver.get-linux.org> To: Dan Nelson <dnelson@allantgroup.com> Cc: questions@freebsd.org Subject: Re: question regarding quotas Message-ID: <20030630055949.GB18961@webserver.get-linux.org> In-Reply-To: <20030630052545.GP30324@dan.emsphone.com> References: <3EFFF7AD.1060308@tele-kom.ru> <20030629221236.V57224-100000@mail.econolodgetulsa.com> <20030630052545.GP30324@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030630055949.GB18961>