Editing
Util-vserver:Vhashify
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Mini FAQ === 1Q: <serek> so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right? 1A: <Bertl> you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together 2Q: <serek> may vhashify two existing hosts as well, right? 2A: <Bertl> yep, anytime 3Q: <fluor-> < Bertl> you can upgrade all at once or separately <- what would the "all at once" method be? 3A: <Bertl> depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm Note that "all at once" doesn't mean "simultaneously", just "with a single command". When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links. 4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ? 4A: * - Means exclude : Default operation (same as no modifier) * + Means include : Allow you to include file/folder in a excluded folder * ~ Means exclude : however, vcopy also looks at this exclude file and with ~ the file/folder is copied instead of hardlinked. 5Q: I have got the message "Duplicate hash-dir entry 'root' found" 5A: * looks like you already had the symlink setup. <code>ls -l /etc/vservers/.defaults/apps/vunify/hash</code> <code>[...]</code> <code>lrwxrwxrwx 1 root root 23 mar 1 00:19 00 -> /var/lib/vservers/.hash </code> <code>lrwxrwxrwx 1 root root 15 avr 1 00:00 root -> /var/lib/vservers/.hash </code> * Remove the link /etc/vservers/.defaults/apps/vunify/hash/root
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information