discard

  1. D

    What are the best (SSD) storage settings for a Windows 11 VM?

    Hello! Thank you for reading my post! I'm creating my first Windows 11 VM on Proxmox and I was wondering what are the best settings for the storage? I want it to be fast so I'm looking for the settings that would provide the best performance. I'm using a DRAM-less SSD to store the disk of the...
  2. R

    Option bdev_enable_discard & bdev_async_discard in Ceph

    Hi guys, I'm still confused about the bdev_enable_discard & bdev_enable_discard options in Ceph, if this option is activated will it trim (clean unused blocks) automatically? I have activated it, but I don't notice any changes. and it looks like it's still the same as usual, you have to use...
  3. H

    Storage Management and LVM-Thin Configuration

    Hello everyone, I’m reaching out to you all as I’ve encountered a bit of a puzzle with my mini PC setup. I’m fairly new to this, so any guidance would be greatly appreciated! Here’s my current setup: I have a mini PC equipped with a 1TB NVMe SSD and a 1TB SATA HDD. I’m running Proxmox on the...
  4. H

    Storage Management and LVM-Thin Configuration

    Hello everyone, I’m reaching out to you all as I’ve encountered a bit of a puzzle with my mini PC setup. I’m fairly new to this, so any guidance would be greatly appreciated! Here’s my current setup: I have a mini PC equipped with a 1TB NVMe SSD and a 1TB SATA HDD. I’m running Proxmox on the...
  5. Proxygen

    Is a Discard/Trim Issued When Removing an LV from a ThinPool?

    On PVE 8.1, I have a thin pool on NVME with a few containers. I deleted one of the containers (via GUI) and now I am not sure if the space used by the LV was discarded/trimmed. I can't issue an `fstrim`, unless it is against a directory, nor I can issue a `pct fstrim` against the CT because...
  6. A

    [SOLVED] iSCSI + Discard + SSD emulation?

    I am currently migrating some VM disks from internal drives to multipath iSCSI. I am new to iSCSI and so am wondering about best practices for PVE VM disks hosted on there. By default I have all VMs set to Discard and SSD emulation, but I am now wondering if those settings make sense on iSCSI...
  7. T

    Storage space reclamation is not triggered after discard is enabled.

    I tried to use the discard feature of the virtual disk. I mapped a Huawei storage LUN to proxmox via FC link and added it as LVM-Thin storage. The discard option is selected when the VM disk is created. After the virtual disk is deleted,The proxmox page shows that the space of the LVM-Thin...
  8. D

    Why "discard" isn't enabled by default?

    I was wondering, why the "discard" option at Hard Disk isn't set by default. Can that cause negative effects or why it's not set by default?
  9. D

    Fstrim & Discard on RAW disk

    Hello Since I've enabled replication between a remote server and one of my VM I notice a constant increase of storage. In fact, when I discovered it when I reach 100% of my Thin-provisioning capacity on the data pool. So after reading a couple of threads, I found that I need to enable the...
  10. M

    Turn on "Discard" option?

    How important is it to turn on the "Discard" option for VMs when using an SSD drive for storage? - Eric
  11. S

    PVE 6.3-3 not working discard

    VMs with Debian 10 or Ubuntu 20.04 configured according to instructions https://pve.proxmox.com/wiki/Shrink_Qcow2_Disk_Files#Linux_Guest_Configuration fstrim -av writes that he successfully released about 10Gib But! qcow2.img size not changed (VM fs size 7.7G and qcow2 size 20G) After poweroff...
  12. K

    VE Guest VM Unable to Discard

    Hi everyone, I have a guest VM which seems to be unable to utilize the discard option to free up block space. The guest VM is a Ubuntu 18.04 LTS OS with an ext4 root FS. Underlying storage is Ceph on Bluestore OSDs. VM storage controller is VirtIO-SCSI, with just a standard 1TB disk attached to...
  13. S

    Cannot Live Migrate with "Discard" Set

    We are running Proxmox 6: root@kvm02-a-lax:~# pveversion -v proxmox-ve: 6.0-2 (running kernel: 5.0.21-4-pve) pve-manager: 6.0-11 (running version: 6.0-11/2140ef37) pve-kernel-helper: 6.0-11 pve-kernel-5.0: 6.0-10 pve-kernel-5.0.21-4-pve: 5.0.21-9 pve-kernel-5.0.15-1-pve: 5.0.15-1 Our OS is a...
  14. A

    is it possible to auto trim for lxc disks?

    I have a cluster that has relatively heavy IO and consequently free space on the ceph storage is constantly constrained. I'm finding myself performing fstrim on a more and more frequent interval. Is there a way to auto trim a disk for an lxc container?
  15. jmcorrea

    [SOLVED] FSTrim and Discard needed on ZFS?

    Hello! We have a couple of servers configured to use local ZFS pools for storage. These pools have Thin Provisioning enabled. I used to think that Thin Provisioning + ZFS was enough to have the VMs use on physical storage the same space that they are using into themselves, but it seems I was...
  16. N

    trim or discard mapped size disk from within the host machine

    About returning unused space (trim or discard mapped size disk) I know about use `fstrim` command in guest vm. But I can not login to the guest customers! Now, my question is, is there any way to do this from within the host machine (main proxmox server)?
  17. W

    Thin provisioned VM backup size

    Hello to the community, I was following this thread to find the solution to the problem, but I got different behaviour. My guest VM is using 13GB on /dev/sda1, here's the configuration bootdisk: scsi0 cores: 1 ide2: none,media=cdrom lock: backup memory: 4096 name: pippo001 net0...
  18. R

    Proxmox Windows Server 2016 VM

    Hallo, ich möchte gerne eine VM mit Windows server 2016 installieren. Mein Server hat zwei SSDs im Raid. Für die Festplatte nutze ich qcow2 aber was ist das beste IDE, SATA or Virtio? Sollte man discard aktivieren oder aus lassen? Ich habe kein LVM Speicher. Danke für jede Antwort, da ich...
  19. A

    VMs configuration and discard option in LVM-thin storage

    Hi Guys, on my Proxmox 5 I have to create several Windows 7/10 Virtual Machines. My server has an hardware RAID Controller Card (1 GB RAM with battery) and 4 SATA Disks attached to it. I would create the VMs with the following parameters: -Hard Disk Bus/Device: SCSI -target storage: LVM-thin...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!