OpenVZ Forum


Home » General » Support » *SOLVED* moving vds on the another drive
*SOLVED* moving vds on the another drive [message #3233] Thu, 18 May 2006 13:41 Go to next message
knutov is currently offline  knutov
Messages: 79
Registered: December 2005
Location: Perm, Russia
Member
/dev/hdc1 - second drive on the node

mount -t ext3 /dev/hdc1 /mnt/second
cd /mnt/second
mkdir vz2
cd vz2
mkdir private
mkdir /vz2

mount --bind /mnt/second/vz2 /vz2

cd /vz/private
mv 105 /vz2/private/105

mcedit /etc/sysconfig/vz-scripts/105.conf

changing to
VE_ROOT="/vz2/root/$VEID"
VE_PRIVATE="/vz2/private/$VEID"
save and exit

vzctl start 105
Starting VPS ...
vzquota : (error) Quota on syscall for 105: No such file or directory
vzquota on failed [3]

vzctl set 105 --quotaugidlimit 0 --save


vzctl start 105
Starting VPS ...
vzquota : (error) Quota on syscall for 105: No such file or directory
vzquota on failed [3]



what's wrong?

[Updated on: Thu, 18 May 2006 22:18] by Moderator

Report message to a moderator

Re: moving vds on the another drive [message #3234 is a reply to message #3233] Thu, 18 May 2006 15:07 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
rm -fr /var/vzquota/quota.105


http://static.openvz.org/openvz_userbar_en.gif
Re: moving vds on the another drive [message #3235 is a reply to message #3233] Thu, 18 May 2006 15:09 Go to previous message
knutov is currently offline  knutov
Messages: 79
Registered: December 2005
Location: Perm, Russia
Member
Thanks, now it's working!
Previous Topic: pts limit
Next Topic: custom kernel build
Goto Forum:
  


Current Time: Fri Nov 15 02:59:21 GMT 2024

Total time taken to generate the page: 0.03946 seconds