UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > VPS Hosting - Virtual Private Servers

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-10-2006, 00:54
Senior System Administrator
 
Join Date: Oct 2006
Posts: 153
Thumbs up Turning On and Off Per-[url=http://www.eukhost.com/vps-hosting.php]VPS Hosting[/url] Disk Quotas

The parameter that defines whether to use first-level disk quotas is DISK_QUOTA in the Virtuozzo global configuration file (/etc/sysconfig/vz). By setting it to “no”, you will disable Virtuozzo quotas completely. This parameter can be specified in the Virtual Private Server configuration file (/etc/sysconfig/vz-scripts/[veid].conf) as well. In this case its value will take precedence of the one specified in the global configuration file. If you intend to have a mixture of Virtual Private Servers with quotas turned on and off, it is recommended to set the DISK_QUOTA value to “yes” in the global configuration file and to “no” in the configuration file of that VPS Hosting which does not need quotas.

The session below illustrates a scenario when first-level quotas are on by default and are turned off for Virtual Private Server 101:

Quote:
[checking that quota is on]
# grep DISK_QUOTA /etc/sysconfig/vz
DISK_QUOTA=yes

[checking available space on /vz partition]
# df /vz
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda2 8957295 1421982 7023242 17% /vz

[editing VPS Hosting configuration file to add DISK_QUOTA=no]
# vi /etc/sysconfig/vz-scripts/101.conf

[checking that quota is off for VPS Hosting 101]
# grep DISK_QUOTA /etc/sysconfig/vz-scripts/101.conf
DISK_QUOTA=no

# vzctl start 101
Starting VPS Hosting ...
VPS Hosting is mounted
Adding IP address(es): 192.168.1.101
Hostname for VPS Hosting set: ve101
VPS Hosting start in progress...

# vzctl exec 101 df
Filesystem 1k-blocks Used Available Use% Mounted on
vzfs 8282373 747060 7023242 10% /
As the above example shows, the only disk space limit a Virtual Private Server with the quotas turned off has is the available space and inodes on the partition where the VPS Hosting private area resides.

To view and/or change the DISK_QUOTA parameter using VZMC, do the following:

1 Select the Configuration item under the needed Node in the VZMC left pane:



2 Double-click on the disk_quota parameter in the right pane.

3 Select the needed value and press OK.

VZMC does not let you enable/disable disk quotas for separate Virtual Private Servers, thus overriding the global setting. If the first-level quotas are on by default, there is no way to rescind the calculation of quota data for a VPS Hosting by means of VZMC. However, you can allow this VPS Hosting to have an almost unlimited disk space and the number of inodes by doing the following:

1 Click Virtual Private Servers in the VZMC left pane, right-click the needed VPS Hosting in the right pane, and choose Properties.



2 Click the QoS tab and expand Disk Quota parameters:

3 Double-click the diskinodes parameter, and toggle off/on the Not limited checkbox depending on whether you want to limit or not the number of disk inodes for the given VPS Hosting, respectively.

4 Press OK.

5 If necessary, repeat Steps 3 and 4 for the diskspace parameter to limit the disk space for the given VPS Hosting or allow it to have unlimited disk space.


--------------------------------

Best Regards,
UKShane
http://www.eukhost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:41.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service