it-wiki:proxmox:know_how
Inhaltsverzeichnis
Proxmox KnowHow and FAQ's
Decrease size of VM hard disk / Disk verkleinern
There currently is no supported way of doing this, since it might lead to catastrophic data loss.
If you are sure you know what you're doing, you're already on the right track:
- Nummerierter ListenpunktMake sure there is absolutely no important data in the sectors of the disk you're going the remove (starting from the end of the disk)
- (Make a backup before proceeding to be really sure)
- Shut down the VM
- Tell ZFS to shrink the disk (e.g. zfs set volsize=XXXG rpool/data/vm-<vmid>-disk-0, use zfs list to find the correct one)
- Run qm rescan <vmid>
- Start the VM to verify
Change NTP service from systemd-timesyncd to chrony
systemctl disable --now systemd-timesyncd.service systemctl enable --now chrony.service
it-wiki/proxmox/know_how.txt · Zuletzt geändert: 2024/05/16 18:29 von marko