Bug#717313: lvm2: Enable issue_discards = 1 automatically on non-rotational (SSD) disks?
Ralf Jung
post at ralfj.de
Fri Feb 12 13:16:48 UTC 2016
Hi,
> Using 'issue_discards=1' makes any lvremove operation 'irreversible' on
> SSD - so using 'vgcfgretore' cannot then fix the mistake of admin when
> he removes LV and he would like to get it back - since restoring TRIMED
> space is just pointless.
>
> So 'default' being 0 is carefully chosen!
"You can get your data back after you explicitly told the system, as
root, to delete it" is not a feature that anybody should expect, and it
should only be considered if it can be provided without significant
downsides.
Kind regards,
Ralf
More information about the pkg-lvm-maintainers
mailing list