Web lists-archives.com

Re: Recommendation on partition sizes





> On Nov 4, 2018, at 1:19 AM, Pascal Hambourg <pascal@xxxxxxxxxxxxxxx> wrote:
> 
> Le 04/11/2018 à 05:45, Andy Smith a écrit :
>> You're probably going to receive as many different opinions as there
>> are different people responding, but my recommendation in nearly any
>> situation is to have a reasonable /boot and swap and then the rest
>> of the space inside an LVM volume group.
> (...)
>> So, if I were you, I'd be doing something like:
>> - 512MiB /boot
>> - 2 GiB swap, or 16GiB if you intend to use it as a hibernate device
>> - Rest as LVM volume group
>>     - 4 GiB / as logical volume
>>     - 4 GiB /var as logical volume
>>     - 50GiB (or whatever satisfies initial demand) /home as logical
>>       volume
> 
> Why don’t you include the swap in LVM ?

You want the swap partition to be encrypted with a random key. Putting it in a LV in the encrypted VG would result in double encryption, which would slow the system down.