[Yaird-devel] Re: RFC: swap on a LVM volume in debian-installer

David Härdeman david at 2gen.com
Thu Jun 22 22:17:08 UTC 2006


On Thu, Jun 22, 2006 at 06:58:27PM -0300, Otavio Salvador wrote:
>David Härdeman <david at 2gen.com> writes:
>
>> o suspend-to-disk
>> There have been concerns that suspend/resume may not work with swap on
>> a lvm volume.
>
>A patch was send today for initramfs-tools to address some issues of
>it and in new upload should be fine. Am I right maks?

Yes, that patch was from yours truly.

Previously initramfs-tools would activate the LVM VG which contained the 
root LV, so if swap was on the same VG, it would be activated as a 
side-effect (and this is indeed how things are laid out with 
partman-auto-*).

The patch allows root and swap to be on different LVM VG's and should be 
included in the next initramfs-tools version after 0.64 (which is in 
incoming right now) according to maks on IRC.

Regards,
David



More information about the Yaird-devel mailing list