OpenVZ Forum


Home » International » Russian » quotacheck
Re: quotacheck [message #992 is a reply to message #990] Tue, 24 January 2006 16:24 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

все, теперь понял Laughing
для этого есть команда vzquota init.

[root@dev ~]# vzquota init
Usage: vzquota init <quotaid> -p <mount_path> [-c <quota_file>]
        [-s,--sub-quotas 1|0]
        [-u,--ugid-limit <ugid_limit>]
        -b,--block-softlimit <block_soft_limit>
        -B,--block-hardlimit <block_hard_limit>
        -i,--inode-softlimit <inode_soft_limit>
        -I,--inode-hardlimit <inode_hard_limit>
        -e,--block-exptime <block_expiration_time>
        -n,--inode-exptime <inode_expiration_time>


в вашем случае возможно будет достаточно vzquota init $ID, при условии что вы также восстановили /etc/sysconfig/vz-scripts/$ID.conf из backup'а.


http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Tue, 24 January 2006 16:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ и что-то типа UNIONFS
Next Topic: сколько vds на 1g ram
Goto Forum:
  


Current Time: Thu Oct 03 12:54:54 GMT 2024

Total time taken to generate the page: 0.06418 seconds