[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#510544: Installer/partition guide tried to use 500GB as swap



Christian Perrier <bubulle@debian.org> writes:

>> The installer wants to use 33% of diskspace which is 500 G I G A (!)  
>> bytes as swap space
>
> I'm personnally not in position to do such tests (moreover it may
> require a knowledge of partman that I'm not usre to have).

For a start, I could reproduce it.  Crypto is not related, straight
LVM is enough:

  LVM VG noc2, LV root - 1000.0 GB Linux device-mapper (linear)
  >     #1           1000.0 GB     f  ext3    /
  LVM VG noc2, LV swap_1 - 649.0 GB Linux device-mapper (linear)
  >     #1            649.0 GB     f  swap    swap
  Virtual disk 1 (xvda) - 1.6 TB Xen Virtual Block Device
  >     #1  primary   255.0 MB  B  f  ext2    /boot
  >     #2  primary     1.6 TB     K  lvm

Reducing the disk size by a factor of ten gives:

  LVM VG noc2, LV root - 107.1 GB Linux device-mapper (linear)
  >     #1           107.1 GB     f  ext3    /
  LVM VG noc2, LV swap_1 - 5.9 GB Linux device-mapper (linear)
  >     #1             5.9 GB     f  swap    swap
  Virtual disk 1 (xvda) - 113.3 GB Xen Virtual Block Device
  >     #1  primary  255.0 MB  B  f  ext2    /boot
  >     #2  primary  113.0 GB     K  lvm

That is, the size of the swap LV is reduced by a factor of 100.
Now if only I knew more about the logic behind the recipes...
-- 
Feri.



Reply to: