Search results for query: shrink

  1. A

    [TUTORIAL] Proxmox LXC to VM Converter

    ...converts Proxmox LXC containers into fully bootable QEMU/KVM virtual machines — directly on your Proxmox VE host. Includes a companion disk-shrink script and handles disk creation, filesystem copy, kernel/GRUB installation, networking reconfiguration, and VM provisioning automatically. Table...
  2. Impact

    Platte verkleinern bei ZFS-Storage

    ...Schrumpfen hat immer ein Risiko. Wenn du zB. die Größe zu klein wählst zerstörst du eventuell die Partitionstabelle und/oder das Dateisystem. Für CTs ist es einfacher, ich habe hier eine kleine Anleitung dazu: https://gist.github.com/Impact123/3dbd7e0ddaf47c5539708a9cbcaab9e3#shrink-a-cts-disk
  3. O

    [SOLVED] Accidentally increased size of a disk for a client. How do I decrease?

    It isn't :). From the VM's point of view, it's a disk. The VM doesn't know that's a LV and it doesn't care. In the VM you'll shrink the filesystem which during the normal work is mounted at /mnt/ServerData but during the live image session will not be mounted at all (don't mount it anywhere)...
  4. O

    [SOLVED] Accidentally increased size of a disk for a client. How do I decrease?

    @gctwnl I'm quite confused by your story. 1) Disk was 500 GB. You increased it to 700 GB. Now you would like to shrink it by 300 GB. That would give 700-300=400 GB. 500 != 400. 2) BUT it the command you quote, you're trying to remove 500 GB. 300 != 500. 3) Did you increase the filesystem in the...
  5. G

    [SOLVED] Accidentally increased size of a disk for a client. How do I decrease?

    ...Filesystem check failed. pve/vm-100-disk-2 was 500GB, I accidentally increased it to 700GB, but I would like to shrink it by 300GB, so my current resize wish is -500GB. It is scsi3 (/dev/sdd) in the Ubuntu client. I haven't restarted the VM yet, or rebooted the PVE host.
  6. R

    offline offsite backup via zfs

    ...as possible and install additional stuff via CT or VM. Benefits: - PVE won't get polluted - it's very easy reshape the cluster (extend, shrink or replace nodes) - every application is easy to backup and restore - every application is easy to migrate (in fact I have migrated the PBS to a new...
  7. UdoB

    Web UI reports critical memory usage, just caching

    ...https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usage Basically NOT used Ram is wasted Ram. And ARC is clever enough to shrink automatically if the system needs more Ram. Unfortunately this shrinking is slow - a hefty request of more Ram may fail and the OOM handler might...
  8. M

    [SOLVED] Is it possible to revert the "resize" Disk Action on a PVE ceph disk ?

    Thank you so much for pointing out this thread ! That was exactly what I needed and it worked perfectly. Problem solved !
  9. LnxBil

    [SOLVED] Is it possible to revert the "resize" Disk Action on a PVE ceph disk ?

    This should work: https://forum.proxmox.com/threads/shrink-disk-on-ceph.83855/
  10. Impact

    Backup to PBS not incremental ?

    ...based .raw disks: https://gist.github.com/Impact123/3dbd7e0ddaf47c5539708a9cbcaab9e3#why-not-use-local-for-guest-disks. Try pct fstrim 111 to "shrink" (probably won't work here) the disk and enable the metadata change detection. Also see here...
  11. O

    [SOLVED] Decreasing disk size

    No! Before shrinking the partition you have to shrink the filesystem. If not, you'll damage the filesystem! edit: or maybe gparted will take care for the filesystem as well... I don't remember. Disclaimer: I haven't verified other steps, just spotted this one.
  12. J

    [SOLVED] Decreasing disk size

    ...and upload it to PVE. I attach this image to the OMV VM: don't know how... I start the VM and boot on the gparted image. I use the tool to shrink the disk-1 partition. I shut the VM down. SSH into the system and launch the zfs set volsize=256G command. I guess I should add the target drive to...
  13. Impact

    [SOLVED] Decreasing disk size

    ...the data storage is of type ZFS the VM's disk will be of type ZVOL (block device), not a file. Check zfs list -t vol -ospace. If you want to shrink it I'd suggest you attach and boot the gparted iso and shrink the VM's file system and partition with it. Afterwards you can use zfs set...
  14. M

    status: io-error

    to be honest, i forgot what i have set for this vm quite sometime ago, i still need the files inside, mostly they are the docker compose file that i need. If i am going to do option b or c, can you guide me how to do it as well?
  15. O

    status: io-error

    ...the data to some other disk, delete the VM, create a new one with a smaller disk and copy the data back. c) if you want to keep the data and the VM, you can boot the VM from an image of some "live CD" like SystemRescue or Gparted(?) and shrink the VM's disk. When b) or c), make a backup...
  16. P

    Resize LXC DISK on Proxmox

    ...4 Reducir el filesystem ext4 - resize2fs /disco4/images/120/vm-120-disk-0.raw 30G 5 Achicar el archivo físico RAW - qemu-img resize -f raw --shrink /disco4/images/120/vm-120-disk-0.raw 30G 6 Actualizar el tamaño visible en el panel de Proxmox-pct set 120 -rootfs...
  17. G

    [SOLVED] qm importdisk increased the disk size from 96.5GB to 476.94 GB

    You should be able to shrink the original qcow2 with: qemu-img resize WIN-4GSGQMJ1U8A.qcow2 --shrink 100GThis will truncate most of that unallocated disk space - leaving you with a disk size of 100GB. You will then need to re-import/create a VM using that shrunken image. (NOTE: You should...
  18. fba

    Shrinking a VM disk on ZFS? (Accidentally resized VM disk, but underlying VM hasn't been sized up yet).

    Hi, have you tried this: https://forum.proxmox.com/threads/shrink-zfs-disk.45835/
  19. V

    Shrinking a VM disk on ZFS? (Accidentally resized VM disk, but underlying VM hasn't been sized up yet).

    ...partitions. I know it would obviously be prudent to do a backup of that VM now, which I am doing. However, is there any way at all to try to shrink the underlying VM's virtual disk, from 250GB, back down to 50GB, or thereabouts? (I know there's an existing thread about resizing disks, but...
  20. O

    Storage question, im stumped after hours of research :(! Shrink local and increase Directory storage

    ...of sda. You will be able to choose ext4 or xfs or whatever. The current /mnt/pve/agents will be destroyed. And you'll need some "live CD" to shrink the current /dev/mapper/pve-root filesystem and only after shrinking the filesystem, it will be possible to shrink the pve-root LV. As such...