From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 17:46:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60953106566B for ; Wed, 9 Sep 2009 17:46:22 +0000 (UTC) (envelope-from mlfreebsd@streamingedge.com) Received: from mail.streamingedge.com (mail.streamingedge.com [66.151.192.165]) by mx1.freebsd.org (Postfix) with ESMTP id 36A8B8FC13 for ; Wed, 9 Sep 2009 17:46:21 +0000 (UTC) Received: from mail.streamingedge.com (localhost.streamingedge.com [127.0.0.1]) by mail.streamingedge.com (Postfix) with ESMTP id C6AAC119E7E; Wed, 9 Sep 2009 13:26:28 -0400 (EDT) Received: from [172.17.0.115] (unknown [172.17.0.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.streamingedge.com (Postfix) with ESMTPSA id AB22B119E5E; Wed, 9 Sep 2009 13:26:28 -0400 (EDT) Message-ID: <4AA7E541.4030600@streamingedge.com> Date: Wed, 09 Sep 2009 13:26:25 -0400 From: Jacques Manukyan Organization: StreamingEdge User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Stefan Miklosovic References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: setquota + geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jacques.manukyan@streamingedge.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 17:46:22 -0000 Stefan Miklosovic wrote: > hi, > > I would like to set some quotas with setquota > on crypted disk with geli, but if I want to do so -> > > /etc/fstab > /dev/ad0s2f.eli /home ufs > rw,noatime,userquota,groupquota 2 2 > > /etc/rc.conf > enable_quotas="YES" > > I can edit quotas by edquota, but with setquota command it is impossible > > ~# setquota -u -f /dev/ad0s2f.eli -bh10000 stewe > setquota : /dev/ad0s2f.eli is not a valid filesystem. > Doing the following should work just fine: ~# setquota -u -f /home -bh10000 stewe > does setquota support encrypted disks? > what should I do? > > thank you > _______________________________________________ > 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" > Setquota supports any UFS based file system it doesn't matter that the disk is encrypted or not. Just run the above command and it should work. -- Jacques Manukyan