discard

  1. M

    [SOLVED] LVM-Thin (local-lvm) not reclaiming space despite TRIM/discard configuration

    Problem Description After deleting files from LXC containers, the LVM-Thin pool (local-lvm) does not reflect freed space. Key details: Configuration: Containers use LVM-Thin storage with discard enabled. issue_discards = 1 in /etc/lvm/lvm.conf. PCT FSTrim reports success, but no space was...
  2. 3

    Discard and SSD emulation on internal ZFS-pools

    Hello I want to open this thread because all other threads, that I found, did not mention my use-case. Again, it is about the discard and ssd-emulation option because I don't get it. My current setup hast two internal zfs pools. Created with Disks -> ZFS -> create: ZFS One is SSD and the...
  3. G

    Problem with trim/discard on Ceph storage

    Hello, I have problems with various VMS that seems do not release unused space. Here is the VM Config: Here is the fstab: Here is the LVM config: Here is the Filesystem free disk space: I've also issued fstrim manually after poweroff/poweron the VM: But when I investigate du on...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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?
  12. 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...
  13. 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
  14. 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...
  15. 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...
  16. 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...
  17. 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?
  18. 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...
  19. 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)?
  20. 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...