Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung |
proxmox [20/03/2024 - 07:37] – [Meckermails von CERT-BUND wegen RPC] admin | proxmox [30/10/2024 - 13:12] (aktuell) – [Alle VMs auf einmal runter fahren] thommie4 |
---|
| |
Doku: [[https://www.historiantech.com/increasing-operational-efficiency-in-proxmox-with-pvesh/|https://www.historiantech.com/increasing-operational-efficiency-in-proxmox-with-pvesh/]] | Doku: [[https://www.historiantech.com/increasing-operational-efficiency-in-proxmox-with-pvesh/|https://www.historiantech.com/increasing-operational-efficiency-in-proxmox-with-pvesh/]] |
| |
| ===== Auto Start der VMs temporär abschalten ===== |
| |
| <code> |
| systemctl disable pve-guests.service. |
| </code> |
| |
| Wieder einschalten |
| |
| <code> |
| systemctl enable pve-guests.service && /usr/bin/pvesh --nooutput create /nodes/localhost/startall. |
| </code> |
| |
| |
===== PVE Templates ===== | ===== PVE Templates ===== |
Portt 11 ist normalerweise offen, wird aber nicht gebraucht, Zitat Proxmox Staff | Portt 11 ist normalerweise offen, wird aber nicht gebraucht, Zitat Proxmox Staff |
| |
//regarding port 111 - it should work to just remove `rpcbind, nfs-common` if you don't need it\\ | //regarding port 111 - it should work to just remove `rpcbind, nfs-common` if you don't need it \\ We might consider doing so in a future version, but since it's expected to deploy PMG behind a firewall (or configure iptables/nft on it) it's not really high priori//ty |
We might consider doing so in a future version, but since it's expected to deploy PMG behind a firewall (or configure iptables/nft on it) it's not really high priori//ty | |
| |
Service abschalten mit | Service abschalten mit |
| |
<code> | <code> |
<font inherit/monospace;;inherit;;#ff5454background-color:#ffffff;>root</font> | root@kakariki ~ # systemctl stop rpcbind |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>@</font> | Warning: Stopping rpcbind.service, but it can still be activated by: |
<font inherit/inherit;;inherit;;#54ffffbackground-color:#ffffff;>kakariki</font> | rpcbind.socket |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>~</font> | root@kakariki ~ # systemctl stop rpcbind.socket |
<font inherit/inherit;;inherit;;#ff54ffbackground-color:#ffffff;>#</font> | root@kakariki ~ # systemctl stop rpcbind |
<font inherit/inherit;;inherit;;#000000background-color:#ffffff;>systemctl stop rpcbind</font> | root@kakariki ~ # systemctl disable rpcbind |
<font inherit/inherit;;inherit;;#d7d75fbackground-color:#ffffff;>Warning: Stopping rpcbind.service, but it can still be activated by:</font> | Synchronizing state of rpcbind.service with SysV service script with /lib/systemd/systemd-sysv-install. |
<font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> | |
<font inherit/inherit;;inherit;;#d7d75fbackground-color:#ffffff;>rpcbind.socket</font> | |
<font inherit/inherit;;inherit;;#000000background-color:#ffffff;></font> | |
<font inherit/inherit;;inherit;;#ff5454background-color:#ffffff;>root</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>@</font> | |
<font inherit/inherit;;inherit;;#54ffffbackground-color:#ffffff;>kakariki</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>~</font> | |
<font inherit/inherit;;inherit;;#ff54ffbackground-color:#ffffff;>#</font> | |
<font inherit/inherit;;inherit;;#000000background-color:#ffffff;>systemctl stop rpcbind.socket</font> | |
<font inherit/inherit;;inherit;;#ff5454background-color:#ffffff;>root</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>@</font> | |
<font inherit/inherit;;inherit;;#54ffffbackground-color:#ffffff;>kakariki</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>~</font> | |
<font inherit/inherit;;inherit;;#ff54ffbackground-color:#ffffff;>#</font> | |
<font inherit/inherit;;inherit;;#000000background-color:#ffffff;>systemctl stop rpcbind</font> | |
<font inherit/inherit;;inherit;;#ff5454background-color:#ffffff;>root</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>@</font> | |
<font inherit/inherit;;inherit;;#54ffffbackground-color:#ffffff;>kakariki</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>~</font> | |
<font inherit/inherit;;inherit;;#ff54ffbackground-color:#ffffff;>#</font> | |
<font inherit/inherit;;inherit;;#000000background-color:#ffffff;>systemctl disable rpcbind</font> Synchronizing state of rpcbind.service with SysV service script with /lib/systemd/systemd-sysv-install. | |
Executing: /lib/systemd/systemd-sysv-install disable rpcbind | Executing: /lib/systemd/systemd-sysv-install disable rpcbind |
Removed "/etc/systemd/system/multi-user.target.wants/rpcbind.service". | Removed "/etc/systemd/system/multi-user.target.wants/rpcbind.service". |
Removed "/etc/systemd/system/sockets.target.wants/rpcbind.socket". | Removed "/etc/systemd/system/sockets.target.wants/rpcbind.socket". |
<font inherit/inherit;;inherit;;#ff5454background-color:#ffffff;>root</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>@</font> | |
<font inherit/inherit;;inherit;;#54ffffbackground-color:#ffffff;>kakariki</font> | |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>~</font> | |
<font inherit/inherit;;inherit;;#ff54ffbackground-color:#ffffff;>#</font> | |
</code> | </code> |
| |
| |
===== SMB Mount mit Containern ===== | ===== SMB Mount mit Containern ===== |
</file> | </file> |
| |
Der Offset ist also ** <font inherit/inherit;;#c0392b;;inherit>4096 x 512 = 2097152.</font> ** Der Mountbefehl sieht so aus: | Der Offset ist also ** |
| <font inherit/inherit;;#c0392b;;inherit>4096 x 512 = 2097152.</font> ** Der Mountbefehl sieht so aus: |
| |
<file> | <file> |
<font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>/mnt</font> | <font inherit/inherit;;inherit;;#ffff54background-color:#ffffff;>/mnt</font> |
<font inherit/inherit;;inherit;;#ff54ffbackground-color:#ffffff;>#</font> | <font inherit/inherit;;inherit;;#ff54ffbackground-color:#ffffff;>#</font> |
<font inherit/inherit;;inherit;;#000000background-color:#ffffff;>losetup -l</font> NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC | <font inherit/inherit;;inherit;;#000000background-color:#ffffff;>losetup -l</font> NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC |
/dev/loop1 0 0 1 0 /mnt/data/images/108/vm-108-disk-1.raw 0 512 | /dev/loop1 0 0 1 0 /mnt/data/images/108/vm-108-disk-1.raw 0 512 |
/dev/loop27 0 0 1 0 /mnt/data/images/112/vm-112-disk-0.raw 0 512 | /dev/loop27 0 0 1 0 /mnt/data/images/112/vm-112-disk-0.raw 0 512 |
apt install linux-headers-amd64 zfsutils-linux zfs-dkms zfs-zed | apt install linux-headers-amd64 zfsutils-linux zfs-dkms zfs-zed |
| |
[[[https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html]|https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html]]]([[https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html|https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html]]) | [[:https:openzfs.github.io_openzfs-docs_getting_20started_debian_debian_20bullseye_20root_20on_20zfs.html|https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html]]]([[https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html|https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html]]) |
| |
===== Partitionieren ===== | ===== Partitionieren ===== |