Hot answers tagged

9 votes
Accepted

Why KVM VPS is slower then OPENVZ

SHORT ANSWER: Your OpenVZ CPU is faster for single-threaded workload than the one used by KVM. On top of that, OpenVZ is a lighter virtualization approach so, all other things being equal, it is ...
shodanshok's user avatar
  • 50.4k
5 votes
Accepted

NVMe-Dedicated Server without Virtualisation: Big speed benefit?

By considering random VPS vs dedicated server with NVMe storage, you are comparing a ride on a bus with buying a sportcar. And no, Virtuozzo, implementing container virtualization here aren't the ...
NStorm's user avatar
  • 1,342
4 votes

aws s3 sync: how to exclude proc, sys directories

This worked for me: --exclude "*/dirname/*" Using aws-cli version 1.11.103.
armandino's user avatar
  • 141
2 votes

Can't run CSF on the host machine using Open VZ

On the Host, you need to add this into the /etc/csf/csfpost.sh file (if that file does not exist, create it and chmod +x it.) #!/bin/bash IPT=/sbin/iptables $IPT -F FORWARD $IPT -P FORWARD ACCEPT ...
Michael's user avatar
  • 21
2 votes

OpenVPN don't start: --cert fails with 'client.crt': No such file or directory

If you have this problem on Windows, like Windows 10, you'll want to do the Windows-equivalent of the other suggestions here. So, place your .crt files into a folder in... C:\Users\YourUserName\...
HoldOffHunger's user avatar
2 votes

SolusVM Migration

Actually you have to use the vzmigrate command to transfer VPS's one at a time https://documentation.solusvm.com/display/DOCS/Migrating+OpenVZ+Containers Or you can migrate whole /vz/private ...
Net Runner's user avatar
  • 6,199
2 votes

How to find the missing inodes?

You have an OpenVZ "server" which isn't really a true virtual machine - it's a container. With OpenVZ, host resources are shared among all of the containers, and are controlled by the same OS kernel. ...
EEAA's user avatar
  • 110k
2 votes
Accepted

Realtek RTL8111/8168/8411 ethernet card randomly disconnecting

" I think the solution would be to get a new attached network card and disable this onboard card. " is absolutely the correct answer. Realtec cards are (and I'm being polite) not server grade ...
davidgo's user avatar
  • 6,292
2 votes

dircolors: no SHELL environment variable, and no shell type option given

Try to check the environment variables using env command and see if the SHELL variable exist. set can also see shell-local variables, which only accessible by the current shell, not by every executed ...
hashlash's user avatar
  • 123
2 votes

Extract files from ploop disk image

You can use ploop_userspace. ./ploop_userspace root.hdd & mount -r -o noload /dev/nbd0p1 /mnt
Sauron's user avatar
  • 121
2 votes

Extract files from ploop disk image

You don't need to spin up the container, you can simply mount the filesystem image according the manual https://openvz.org/Man/ploop.8 ploop mount [-r] [-F] [-d device] [-m mount_point] [-o ...
HBruijn's user avatar
  • 80k
1 vote

Back up rented VPS that does not have that option

I like to use rsync. You can just rsync to your single backup if your goal is to have a backup if the VPS disappears, but for minimally more hard disk space you can use rsync hardlinked backups. You ...
Law29's user avatar
  • 3,577
1 vote

firewall-cmd on OpenVZ CentOS 7

Iptables, being a kernel functionality, needs to be explicitly loaded on openvz host and enabled per container. If you have access to host, follow man vzctl and look for --netfilter. Older openvz ...
Alec Istomin's user avatar
1 vote

firewall-cmd on OpenVZ CentOS 7

First of all, check if you have ipv6 access, and if not; alter your etc/firewalld/firewalld.conf to set IPv6_rpfilter = 0 and run systemctl restart firewalld.service If still nothing, check ...
TechnicalChaos's user avatar
1 vote

Realtek RTL8111/8168/8411 ethernet card randomly disconnecting

Try using irqbalance, helped me once mitigate a similar issue If possible, can you check your switch logs? There's a chance that Port Speed Negotiation isn't set to auto, and if it is, try manually ...
falken's user avatar
  • 69
1 vote
Accepted

System load on OpenVZ hardware node - is it reliable?

OpenVZ works as designed and is configured to contain high-demanding container within it's limits without affecting others on the same box. Load Average is not surprising, since host sees all process ...
Alec Istomin's user avatar
1 vote
Accepted

Can a Centos 7 OpenVZ Container run on a Centos 6 Node

We use CentOS 6 and Virtuozzo 4.7 with CentOS 7 containers, OpenVZ almost the same as Virtuozzo, so it should work. It was not supported by Virtuzzo, but works without big problems, there was only ...
Alexander Tolkachev's user avatar
1 vote
Accepted

OpenVZ Failed to start LVM2 PV scan

Description: The system does not boot normally when using LVM inside /etc/fstab It fails with the following error: [FAILED] Failed to start LVM2 PV scan on device 3:1. See 'systemctl status lvm2-...
James Andreson's user avatar
1 vote

Why are GlusterFS replicated volumes not recommended for Hosts in different datacenters?

This issue applies to many types of data stores not just GlusterFS. This is because increased distance increases latency. The recommendation to be on the same subnet is also to reduce latency due to ...
BillThor's user avatar
  • 27.9k
1 vote

NFS server not serving share after reboot

Can you update your question with more information? On NFS Server run chkconfig --list | egrep "nfs|rpc" iptables --list -n -v rpcinfo -p Next one should return nothing if your nfs server settings ...
Dmitry Zayats's user avatar
1 vote

Unable to connect to services bound to 127.0.0.1

I would bet you can connect redis on your IPv4. Unless redis listens on 127.0.0.1:6379, you can't connect (nor telnet) to localhost. Not familiar enough with IPv6 to explain why it would work though. ...
SYN's user avatar
  • 1,794
1 vote
Accepted

Connecting two OpenVZ internal networks so containers can see each other

After getting an overwhelming number of responses on SF... not!?!, I did my own research the figured it out. This is how I did it. Configuration -SSH to Host A and update /etc/network/interfaces as ...
McJagger's user avatar
1 vote
Accepted

Upgrading Debian Squeeze with OpenVZ to Debian 7/8 with LXC

I would suggest to keep the system as is but take measures to counter any potential security issue due to leaving it on debian squeeze. However, at the same time set up a fresh debian stable system ...
aseq's user avatar
  • 4,660
1 vote

How to login as root in vps from main server (Dedicated)

To login as root from the host to an openvz container, without a password: vzctl enter CTID
user13097's user avatar
  • 221
1 vote
Accepted

How to login as root in vps from main server (Dedicated)

Reset the root password in an OpenVZ container with vzctl: vzctl set CTID --userpassword root:newpassword --save
HBruijn's user avatar
  • 80k
1 vote

aws s3 sync: how to exclude proc, sys directories

--exclude "proc/" --exclude "/proc" --exclude "*/proc/*" --exclude "/vz/root/100/proc" Do not use =. Worked for me
Nafeo Alam's user avatar
1 vote

firewalld service is running, but firewall-cmd doesn't work

The problem is you're using OpenVZ. OpenVZ is running a 2.6 kernel which does not have the capabilities that the firewalld daemon relies upon and all of the systemd changes are backported into ...
wilbo's user avatar
  • 84
1 vote
Accepted

OpenVZ containers will not start after a reboot

After the hardware reboot, suggested solution below helped to launch failed containers one-by-one: # ploop check -F /vz/private/139/root.hdd/root.hdd # ploop mount /vz/private/139/root.hdd/...
Besik's user avatar
  • 26
1 vote

Find IP addresses with most connections on system

My alternative with more details (number of connections, source IP, source port, destination IP, connection state): netstat -nat | awk '{print $4":"$5":"$6}' | awk -F: '{print $1":"$2" "$3" "$5}' | ...
maxo's user avatar
  • 11
1 vote

Can't lock vz with proxmox

Try to unlock the VM with this: qm unlock VMID
Daniel Gordi's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible