Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-27 Thread Pascal Hambourg
On 27/02/2024 at 08:42, Philip Hands wrote: Matthew Wilcox writes: I want "use largest contiguous space and set up encrypted LVM". That would let me reserve 200GB of my SSD as unencrypted free space, which will improve the write endurance of my SSD. Can one achieve this by telling LVM to all

Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-26 Thread Philip Hands
Matthew Wilcox writes: > Package: debian-installer > > The partitioner "guided partitioning" offers me: > > - use the largest continuous free space > - use entire disk > - use entire disk and set up LVM > - use entire disk and set up encrypted LVM > > I want "use largest contiguous space and

Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-26 Thread Pascal Hambourg
On 26/02/2024 at 01:14, Matthew Wilcox wrote: - create a logical volume in the free VG space - blkdiscard the logical volume Last time I checked, dm-crypt did not pass DISCARD requests through to the underlying device because it's a security hazard. AFAICS dm-crypt and cryptsetup have suppo

Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-25 Thread Matthew Wilcox
On Mon, Feb 26, 2024 at 12:34:50AM +0100, Pascal Hambourg wrote: > Not if you do not write anything to them, or if you TRIM them. You can stop explaining to me how TRIM works. commit 0c659b82d11e Author: Matthew Wilcox Date: Thu Apr 2 10:37:25 2009 -0400 ata: Add TRIM infrastructure > Yo

Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-25 Thread Pascal Hambourg
On 25/02/2024 at 23:55, Matthew Wilcox wrote: I want "use largest contiguous space and set up encrypted LVM". That would let me reserve 200GB of my SSD as unencrypted free space, which will improve the write endurance of my SSD. Alternatively, the installer allows to reserve free space in the

Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-25 Thread Matthew Wilcox
On Sun, Feb 25, 2024 at 11:42:37PM +0100, Pascal Hambourg wrote: > On 25/02/2024 at 05:40, Matthew Wilcox wrote: > > > > The partitioner "guided partitioning" offers me: > > > > - use the largest continuous free space > > - use entire disk > > - use entire disk and set up LVM > > - use en

Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-25 Thread Pascal Hambourg
On 25/02/2024 at 05:40, Matthew Wilcox wrote: The partitioner "guided partitioning" offers me: - use the largest continuous free space - use entire disk - use entire disk and set up LVM - use entire disk and set up encrypted LVM I want "use largest contiguous space and set up encrypted

Bug#1064624: Hard to short-stroke an encrypted drive

2024-02-24 Thread Matthew Wilcox
Package: debian-installer The partitioner "guided partitioning" offers me: - use the largest continuous free space - use entire disk - use entire disk and set up LVM - use entire disk and set up encrypted LVM I want "use largest contiguous space and set up encrypted LVM". That would let me r