Quote: |
Здравствуйте,
после того, как сделали
Quote: |
# vzctl set sles --diskspace unlimited:unlimited --save
|
параметры в конфигурационном файле изменились должным образом?
|
[root@master ~]# vzctl set 106 --diskspace unlimited:unlimited --save
Saved parameters for VE 106
[root@master ~]# vzctl set 106 --diskinodes unlimited:unlimited --save
Saved parameters for VE 106
[root@master ~]# grep DISK /etc/vz/conf/106.conf
DISKSPACE="9223372036854775807:9223372036854775807"
DISKINODES="9223372036854775807:9223372036854775807"
Quote: |
/etc/mtab действительно симлинк?
|
[root@master ~]# vzctl exec 106 ls -l /etc/mtab
lrwxrwxrwx 1 root root 12 Dec 13 17:08 /etc/mtab -> /proc/mounts
Quote: |
# vzctl exec 106 ls -l /etc/mtab
Можно попробовать заново проинициализировать квоту.
(давайте увеличим уровень логирования в файле /etc/vz/vz.conf, переменные LO_GLEVEL и VERBOSE поставим в 10)
# vzctl stop 106
# vzquota drop 106
# vzctl start 106
|
[root@master ~]# vzctl stop 106
Stopping VE ...
VE was stopped
VE is unmounted
[root@master ~]# vzquota drop 106
[root@master ~]# vzctl start 106
Starting VE ...
Initializing quota ...
vzquota : (warning) block_hard_limit [99] < block_current_usage [25268904]
vzquota : (warning) inode_hard_limit [99] < inode_current_usage [203728]
vzquota : (warning) block_hard_limit [99] < block_current_usage [25268904]
vzquota : (warning) inode_hard_limit [99] < inode_current_usage [203728]
VE is mounted
Adding IP address(es): 10.0.0.106
Running VE script: /etc/vz/dists/scripts/suse-add_ip.sh
ERROR: Can't write to file /etc/sysconfig/network//
bash: line 355: /etc/sysconfig/network//ifcfg-venet0: Disk quota exceeded
Setting CPU units: 27365
Configure meminfo: 308454
Set hostname: sles.it-s.donpac.ru
Running VE script: /etc/vz/dists/scripts/suse-set_hostname.sh
/bin/cp: cannot create regular file `/etc/hosts.22023': Disk quota exceeded
ERROR: Can't copy file /etc/hosts
VE start in progress...
[root@master ~]# grep DISK /etc/vz/conf/106.conf
DISKSPACE="9223372036854775807:9223372036854775807"
DISKINODES="9223372036854775807:9223372036854775807"
в логе при этом только:
Dec 15 12:36:07 master kernel: CT: 106: started
Dec 15 12:36:07 master kernel: VZ QUOTA: disk hardlimit reached for id=106
Dec 15 12:36:07 master kernel: VZ QUOTA: file hardlimit reached for id=106
Dec 15 12:36:07 master kernel: ioctl32(showconsole:21008): Unknown cmd fd(0) cmd(80045432){00} arg(bff80be8) on /dev/null
добавил:
[root@master ~]# tail -n 2 /etc/vz/conf/106.conf
LOG_LEVEL="10"
VERBOSE="10"
[Updated on: Mon, 15 December 2008 09:48]
Report message to a moderator