OSS Virtualization options ...
Marc G. Fournier
freebsd at hub.org
Thu Dec 20 16:18:41 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --On Thursday, December 20, 2007 16:37:19 +0200 Nikos Vassiliadis
<nvass at teledomenet.gr> wrote:
> UFS2 does not initialize inodes at newfs time as UFS did. So, things
> are much better now!
>
> root:0:~# truncate -s 10G jail.00
> root:0:~# mdconfig -at vnode -f jail.00
> md0
> root:0:~# newfs md0
> /dev/md0: 10240.0MB (20971520 sectors) block size 16384, fragment size 2048
> using 56 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
> super-block backups (for fsck -b #) at:
> 160, 376512, 752864, 1129216, 1505568, ...
> root:0:~# ls -ls jail.00
> 4592 -rw-r--r-- 1 root wheel 10737418240 Dec 20 16:21 jail.00
>
> 4.5MB for a 10GB filesystems is fine, isn't it?
'k, but that still doesn't address the problem ... being able to setquota's on
directories within a jail environment ... or does it?
Note that I'm not looking to quota the VPS itself, only allow software *in* the
VPS to set quotas ...
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org MSN . scrappy at hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFHawZW4QvfyHIvDvMRAljqAKDFNe1n3SwNtpoBI00NClVmjXNOJgCfffDk
SvamRIK3q+tqUBsp2AarpQ4=
=OnvR
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list