#946682 debian-installer: Discard transmission by LVM

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Frederic MASSOT
Date:
2022-04-27 17:54:11 UTC
Severity:
wishlist
Tags:
#946682#5
Date:
2019-12-13 16:15:04 UTC
From:
To:
Dear Maintainer,

Following a discussion on the list of Proxmox users, I understood that only LVM Thin transmits discard commands to SSD.

https://pve.proxmox.com/pipermail/pve-user/2019-December/171187.html

https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_hard_disk_discard

When creating logical volumes with the Debian installer, they are not of the LVM Thin type.

Can you add to the Debian Installer the ability to create logical volume with thin provisioning?


Regards.

#946682#10
Date:
2019-12-14 19:32:20 UTC
From:
To:
This seems to be incorrect.  LVM normally uses dm-table, which supports
discard if the underlying device(s) do.

"Thin provisioning" is a device-mapper layer that allows assigning more
logical storage space than the underlying physical storage.  Newly
written blocks are allocated from the physical storage pool and
discarded blocks are returned to the pool.

This can be appropriate for disk server / VM host applications where
storage can be over-committed to VMs and more physical storage will be
added to the pool depending on actual need.  It does not seem to be
appropriate for the OS installation and therefore should not be offered
in the installer.

Ben.

#946682#15
Date:
2022-04-27 17:46:22 UTC
From:
To:
Did you receive my previous email?

Dr Patrick Awoonor