hello
I want that the home dirs (example: in vz/private/102/home/) of my vps are on an other partition or on a iSCSI device or NFS.
but I want still be able to use quota of openVZ.
how can I do that?
in the example below I have the iSCSI device /dev/sdc1 mounted to /mnt/
and I want the home-folder of the vps 102 to be /mnt/testhome
but when I start the vps quota fails...
se below:
mount --bind /mnt/testhome /vz/private/102/home/
------------------------------------------------------------
with "mount --bind", quotas do not work anymore:
virtue:/virtual# vzctl start 102
Starting VPS ...
vzquota : (error) Quota on syscall for 102: Device or resource busy
vzquota on failed [3]
-----------------------------------------------------------
virtue:/virtual# fdisk -l /dev/sdc
Device Boot Start End Blocks Id System
/dev/sdc1 1 30720 31457264 83 Linux
-----------------------------------------------------------
virtue:/virtual# df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sdc1 30G 11G 18G 37% /mnt
-----------------------------------------------------------
how can I have the home dirs outside of private and still use quota. or is this not possible.
hope somebody can help
regards
kuene
[Updated on: Fri, 18 May 2007 07:31] by Moderator
Report message to a moderator