Search results for query: shrink

  1. C

    Why set minimum RAM when you have Ballooning + KSM enabled?

    Thank you for this detailed answer. Make sense. (y) Unfortunately there is still a long way till 1 TB of RAM on server :D
  2. A

    Why set minimum RAM when you have Ballooning + KSM enabled?

    ...so on esxi a VM might get really slow in low mem conditions but will never be oom by the host. on kvm/qemu the memory size of your vm will shrink and grow.. so dynamic/flexible memory would have been a much better name for this and if the host does not have enough swap space it may trigger an...
  3. UdoB

    How to Decrease a VM Disk Size

    ...But yes, usually I try to keep my virtual disks small. Enlarging them later on is definitely easier than shrinking. (This is true for ZVOL, not for Datasets, where you just reassign a lower quota.) Sorry, an ultimate way to shrink down virtual disks does not exists. It always involves doing...
  4. dcsapak

    Get stats on backups

    problaby not exactly what you mean but we do collect the usage data of the datastore over time into an rrd database. with that data you can get an idea how much the storage requirement grow and shrink over time this is also exported when you use an external metric server (influxdb)
  5. Dunuin

    Disk is full - how to migrate items

    LVM Thin pools can only be destroyed. Shrinking is not possible. The forums search function should show you lots of threads on how to do this. How full your LVM thin pool is you will get with lvs. df -h will show how full the root filesystem is. You should analyse whats consuming all the space...
  6. T

    Disk is full - how to migrate items

    ...and log files filled it. To fix this whole issue, would this correct? Create new storage on the 1TB SSDs Move the VMs over to it Then somehow shrink the LVM LV that's on the 500GB SSD and expand the root LV Would that be correct? Is there anything else that I should do? Here's what that SSD...
  7. K

    VM on lvm-thin with own lvm-thin?

    ...separate physical disks if you like, to make it a little more fault-tolerant and have separate I/O paths. If you ever think you might want to shrink filesystems in-guest, use ext4 instead of XFS. By allocating entire disks for partitions, it makes it way easier to grow/shrink things instead...
  8. H

    is there a good way to shrink vm images?

    ...questions above after testing: If you have a qcow2 disk and harddisk scsi0 has discard on and you use fstrim inside the vm the disks will shrink! (backup just shrunk form 1.7G to 670MB with a debian bookworm minimal system) also, on debian fstrim -av works on alpine its sometimes...
  9. H

    is there a good way to shrink vm images?

    ...to me however and didnt work for me: perhaps I did not follow it correctly because of that. What does this sentence mean: "In order to shrink the *.qcow2 files you've two options, enable TRIM support or zero out all free space of the partitions contained within the guest and then reconvert...
  10. Dunuin

    Proxmox Memory

    That only got changed from 50% to 10% some weeks ago. Older installations should still use the 50%. Depends. Yes, ARC will shrink when RAM is needed by something else, but it won't do that as responsive as the linux cache. So there might be situations where lots of RAM is needed very fast and...
  11. H

    is there a good way to shrink vm images?

    Hi, I notice vm qcow2 images grow pretty fast. Also in the backup they are not " deflated". I have deviced a crude way to deflate the images, but it there a supported way to do this perhaps? #to use virt-sparsify below you must install libguestfs-tools #apt install libguestfs-tools (200...
  12. R

    Repartitioning local LVM drive possible?

    ...Disks -> LVM . I see that there is 97% assigned to LV's ? I'm not entirely sure what that means exactly but when I see this and think about shrinking a partition I think well I cant shrink something that 97% full. But I know this isnt the case because when I go to Datacenter -> Node ->...
  13. UdoB

    Restore / Clone Slow

    This is (probably) just buffer bloat. So live with it or shrink down (for test: just disable) your write caches. (No I have no idea how your storage has to be configured.) Best regards
  14. Dunuin

    decrease Local (pve)- increase Local-lvm (pve)

    Steps would be: 1.) Backup whole disk using the backup solution of your choice and maybe also configs and guests 2.) boot a live linux 3.) shrink the ext4 on pve/root 4.) shrink the pve/root LV 5.) extend the pve/data thin pool All has to be done via CLI with LVM administration knowledge. Best...
  15. LnxBil

    Install Proxmox 8.1.4 with max LVM Thin Storage and no Directory Storage

    IIRC, you can set the root disk size in the installer, which should imply a smaller volume for root. You can also boot a live linux distro and resize your root disk in order to shrink it.
  16. H

    lvs and lvdisplays showing nothing

    Ok i was able to reduce the size of the disk : i used gparted from the live disk to reduce the size of the disk then i shrink it : qemu-img resize /var/lib/vz/images/102/vm-102-disk-1.qcow2 --shrink 42G
  17. Dunuin

    lvs and lvdisplays showing nothing

    ...and that is a directory storage and not a LVM storage or LVM-Thin storage. So you are not seeing them as they don't use LVs. Google how to shrink qcow2 image files. And keep in mind that you will have to shrink the guests partitions and filesystem before shrinking a virtual disk, or you will...
  18. bbgeek17

    [SOLVED] Change local storage on md device to logical volume

    ...root partition" guides available on the internet. However, keep in mind that a mistake during such procedure can lead to data loss. "shrink" is another keyword you can use instead of "reduce". You can use existing layout as is with "local" storage and qcow files as disk images. Or, another...
  19. bbgeek17

    shrink local and enlarge loval-lvm

    ..."swap" instead of mocking around with root volume (lvs). None of this is Proxmox specific, the key search words are: lvm, swap, reduce lvm, shrink filesystem, expand lvm Whether you want to experiment and learn something new vs reinstall your system - is up to you and how you want to spend...
  20. T

    shrink local and enlarge loval-lvm

    Hi there, I'm brand new to PROXMOX and don't know much about Linux. Therefore, please formulate the answers in a very beginner-friendly way, thank you in advance! I am running PROXMOX on a Chromebox with a 64GB SSD. Unfortunately, the distribution of "local" and "local-lvm" does not match my...