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

Bug#374891: initramfs-tools: activate resume volume group



tags 374891 pending
thanks a lot

On Wed, 21 Jun 2006, David Härdeman wrote:

> Currently the lvm script does not activate the volume group which the 
> resume partition resides on. In case the resume lv is in the same vg as 
> the root lv, then things will work anyway since the root vg is activated 
> but if they are in different vg's this means that resume will not work.
> 
> I've attached a patch which fixes this by activating both resume and 
> root vg's.

woow applied.
helps also if your swap is on lvm but not your root. :)
 
although the cleanup might hurt users with lilo and lvm root user.
as lilo passes the root as major and minor, we need to check for "fe" too.
current lvm hook is very sloppy and tries to activate anything.
see #357538

something like this to match current behaviour:

case $vg in
	fe[0-9]+)
		vgchange -ay	
		return
	;;
esac

regards

-- 
maks



Reply to: