Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung |
proxmox [20/03/2024 - 07:36] – 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 ===== |
Service abschalten mit | Service abschalten mit |
| |
<bbCodeCode language-bash> | <code> |
''systemctl stop rpcbind | root@kakariki ~ # systemctl stop rpcbind |
systemctl disable rpcbind'' | Warning: Stopping rpcbind.service, but it can still be activated by: |
</bbCodeCode> | rpcbind.socket |
| root@kakariki ~ # systemctl stop rpcbind.socket |
| root@kakariki ~ # systemctl stop rpcbind |
| root@kakariki ~ # systemctl disable rpcbind |
| Synchronizing state of rpcbind.service with SysV service script with /lib/systemd/systemd-sysv-install. |
| Executing: /lib/systemd/systemd-sysv-install disable rpcbind |
| Removed "/etc/systemd/system/multi-user.target.wants/rpcbind.service". |
| Removed "/etc/systemd/system/sockets.target.wants/rpcbind.socket". |
| |
| </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 ===== |