Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Sep 2009 13:26:25 -0400
From:      Jacques Manukyan <mlfreebsd@streamingedge.com>
To:        Stefan Miklosovic <miklosovic.freebsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: setquota + geli
Message-ID:  <4AA7E541.4030600@streamingedge.com>
In-Reply-To: <f99a79ec0909081542m111d7719lf1b6f7c05ccfaacf@mail.gmail.com>
References:  <f99a79ec0909081542m111d7719lf1b6f7c05ccfaacf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AA7E541.4030600>