The problem is described here. The quick fix:
echo "options vhost max_mem_regions=512" > /etc/modprobe.d/vhost.conf
rmmod vhost_net
rmmod vhost
modprobe vhost_net
#!/bin/bash | |
set -e -o errexit -o pipefail -o nounset | |
################################### | |
# This script can be used by itself, but it's recommended that you read | |
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
################################### | |
# Do not modify these variables (set by Proxmox when calling the script) | |
vmId="$1" |
The problem is described here. The quick fix:
echo "options vhost max_mem_regions=512" > /etc/modprobe.d/vhost.conf
rmmod vhost_net
rmmod vhost
modprobe vhost_net
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Collection; | |
use Illuminate\Support\Facades\Log; | |
use Laravel\Scout\EngineManager; | |
use Laravel\Scout\Engines\MeiliSearchEngine; | |
use MeiliSearch\Client; |
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
############ also be sure to RESTART OpenProject after replacing the file. ################ | |
############ it doesn't show that enterprise mode is enabled in the settings, but all ################ | |
############ enterprise mode features, such as KanBan boards, are enabled. ################ | |
#-- copyright | |
# OpenProject is an open source project management software. | |
# Copyright (C) 2012-2023 the OpenProject GmbH | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License version 3. |
# | |
# The official PVE docs on how to prepare cloud-init templates: | |
# https://pve.proxmox.com/wiki/Cloud-Init_Support#_preparing_cloud_init_templates | |
# | |
# Additional guides and resources: | |
# https://dae.me/blog/2340/how-to-add-an-existing-virtual-disk-to-proxmox/ | |
# https://pve.proxmox.com/pve-docs/qm.1.html | |
# use the Qemu/KVM Virtual Machine Manager to import the disk | |
qm importdisk 107 Univention-App-kopano-core-KVM.qcow2 local-lvm |
#cloud-config | |
resize_rootfs: false | |
disk_setup: | |
/dev/sda: | |
table_type: 'mbr' | |
layout: | |
- 25 | |
- 75 | |
overwrite: true |
# Here are some domains I block to interfere with DNS-over-HTTPS, so that my own DNS-based security schemes work. | |
# If you're going to be doing this, you should probably block all outbound 53, 853, and 5353 on your network, | |
# except from your own internal DNS resolver (eg. pihole) | |
# | |
# Data from https://github.com/curl/curl/wiki/DNS-over-HTTPS (and other places) | |
1a.ns.ozer.im | |
8888.google | |
aattwwss.duckdns.org | |
abel.waringer-atg.de |
### Script originally based on https://gist.github.com/kydouglas/1f68d69e856fd6d7dc223f8e1f5ae3b3 | |
#!/bin/bash | |
#ONE LINE | |
#sudo wget -Nnv 'https://gist.githubusercontent.com/kydouglas/1f68d69e856fd6d7dc223f8e1f5ae3b3/raw/f8c3b22b9d9c41093150b96c815776956b523d9d/elk.sh' && bash elk.sh && rm -f elk.sh | |
# Checking whether user has enough permission to run this script | |
sudo -n true | |
if [ $? -ne 0 ] | |
then |
You can use ssacli
(smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli
replaces older hpssacli
, but shares the same syntax and adds support for newer servers and controllers.
#!/usr/bin/env bash | |
set -o errexit | |
echo $(date):Random read | |
fio --filename=test --sync=1 --rw=randread --bs=4k --numjobs=1 \ | |
--iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test | |
echo $(date):Random write | |
fio --filename=test --sync=1 --rw=randwrite --bs=4k --numjobs=1 \ |