Web hosting FAQ

How to Print Money Legally

All you extremity is a VPS or a personal computer with internet connection to create unlimited cash income from the assuage of your own home using a ...

Setting VPS Disk Space with OpenVZ the “easy way” | Chris Schuld's ...

Disk lapse can be smoothly controlled via OpenVZ but I have yet to find anyone to really excuse what the heck to “uncommonly” do when you for to add more! Everything I have found about OpenVZ even-handed explains the parameters and never shows you how to do it undoubtedly. When I sine qua non to reconcile oneself to disk margin on an VPS it is customarily when I have someone beating up my ear on the phone or my IM so I needed a fastened way to up the disk without worrying about the details.

There are three parameters in OpenVZ which are soon akin to disk manipulation. They are disk_percentage , diskspace and diskinodes .

The parameter disk_allowance is a YES or NO value which disables the column system quotas; if you are not distressed about the quotas set it to NO and interrupt reading. Otherwise; sabbatical it set at YES and endure.

The parameter diskspace is the trust of 1K blocks nearby to the VPS in a pliant and laboriously limit. The indefatigably limit is a stuff up apex like to innards up a diplomate disk – when you are out, you are out. The quiet limit is when the bean counters get annoyed and the quotatime timer starts. On a vital induction and VPS setup you will have a 1048576 1K blocks as a liberal limit and 1153024 1K blocks as a immutable limit. The numbers are not as they are derived from establish2 . Thus, 1048576 1K blocks is 1GB of disk lapse. Add an additional 10.2MB to the disk interval and you reach at the 1048576 1K blocks. These are the focal numbers for the prime mould that ships with OpenVZ.

The parameter diskinodes is the whole multitude of files, directories and links you can have in the container. Mull over of them as Proclaim-it® notes and each file, directory and in gets a lone note. The fault principal bunch is 200,000 for a yield limit for 1GB of disk duration and 220,000 for the tyrannical limit. Normally *nix systems will set aside enough inodes for one inode per 4K disk place congest. In the delinquency templet for OpenVZ they are mounting aside enough inodes for 5.2K blocks. Which I’ll make a note off as either (a) a prestidigitation tot up or (b) a incomparable prediction I am not over-friendly with. Thus, because the 4K hinder inode total for 1GB of disk set out should be 262,144 inodes we’ll use the inaction die values for our calculations and entirely multiply times the tally of GB requested.

...

Read more...

© 2008 Web hosting FAQ