[Users] Split VE disk space between / and /var?
Kirill Korotaev
dev at sw.ru
Wed Jan 30 13:05:19 EST 2008
it's possible to do the following:
- create some directory, say /vz/private/ID.2
- turn on vzquota on this directory (quota ID maybe VEID+some bug number, say 1000000)
- bind (u)mount /vz/private/ID.2 to /vz/root/ID/var in VE.(u)mount scripts.
Jan Tomasek wrote:
> Hi,
>
> I was asked for VE with disk space splitup this way:
>
> / using 3GB
> /var using 12GB
>
> is this posible with OpenVZ? Only way I figured out is to create special
> partion on HW node with required size and allow access to device for VE,
> or mount it outside and use mount -o bind. Both ways are not very nice...
>
> I'm asking to be sure there is no simpler way how achieve such split.
>
> Thanks
More information about the Users
mailing list