OpenVZ Forum


Home » International » Russian » выключение выключенной квоты - ошибка?
выключение выключенной квоты - ошибка? [message #34000] Tue, 25 November 2008 06:53 Go to next message
frol314 is currently offline  frol314
Messages: 17
Registered: February 2008
Location: Russia, Togliatti
Junior Member

From: *transtelecom.net
[root@virt1 vz1]# vzmigrate -v frol314 20
OPT:-v
OPT:frol314
Starting migration of VE 20 on frol314
OpenVZ is running...
Loading /etc/vz/vz.conf and /etc/vz/conf/20.conf files
Check IPs on destination node: 192.168.10.20
Preparing remote node
Copying config file
20.conf 100% 1765 1.7KB/s 00:00
Saved parameters for CT 20
/usr/sbin/vzmigrate: line 382: [: missing `]'
Creating remote VE root dir
Creating remote VE private dir
VZ disk quota disabled -- skipping quota migration
Syncing private
VZ disk quota disabled -- skipping quota migration
Turning quota off
vzquota : (error) Can't open quota file for id 20, maybe you need to reinitialize quota: No such file or directory
Error: failed to turn quota off

как можно решить эту проблему?
Re: выключение выключенной квоты - ошибка? [message #34003 is a reply to message #34000] Tue, 25 November 2008 08:55 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
From: *sw.ru
Здравствуйте,

не могли бы Вы проверить приложенный патч.
Так как vzmigrate - это bash скрипт, то ничего компилировать не придется.
Re: выключение выключенной квоты - ошибка? [message #34005 is a reply to message #34003] Tue, 25 November 2008 09:29 Go to previous messageGo to next message
frol314 is currently offline  frol314
Messages: 17
Registered: February 2008
Location: Russia, Togliatti
Junior Member

From: *transtelecom.net
[root@virt1 vz]# vzmigrate -v frol314 20
OPT:-v
OPT:frol314
Starting migration of VE 20 on frol314
OpenVZ is running...
Loading /etc/vz/vz.conf and /etc/vz/conf/20.conf files
Check IPs on destination node: 192.168.10.20
Preparing remote node
Copying config file
20.conf 100% 1763 1.7KB/s 00:00
Saved parameters for CT 20
/usr/sbin/vzmigrate: line 382: [: missing `]'
Creating remote VE root dir
Creating remote VE private dir
VZ disk quota disabled -- skipping quota migration
Syncing private
VZ disk quota disabled -- skipping quota migration
Cleanup
Destroying VE
Destroying VE private area: /vz/private/20
Can't move /vz/private/20 -> /vz/private/2/vztmp/vzctl-rm-me.X9OMMqc: Is a directory

ваще круто Wink
Re: выключение выключенной квоты - ошибка? [message #34006 is a reply to message #34005] Tue, 25 November 2008 11:21 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
From: *sw.ru
Спасибо большое за репорт.
Это всё баги:

http://bugzilla.openvz.org/show_bug.cgi?id=1094
http://bugzilla.openvz.org/show_bug.cgi?id=1095
Previous Topic: Вопрос насчет utimes: synch sys_utimensat syscall with the upstream
Next Topic: ioacct
Goto Forum:
  


Current Time: Thu Oct 17 18:54:39 GMT 2019