[linux-lvm] Re: Swap on LVM - swapoff problem - SOLVED

Patrick Caulfield caulfield at sistina.com
Wed Apr 9 02:23:02 UTC 2003


On Wed, Apr 09, 2003 at 09:46:16AM +0300, George Karaolides wrote:
> Hi all,
> 
> I've solved the problem with swapoff and LVM swap devices on Debian
> woody; and the solution may well apply to installations with the root fs
> on LVM using other distributions as well.
> 
> The root filesystem on my machines is in a logical volume device, and to
> mount this at boot time I needed to create an initrd with
> lvmcreate_initrd.  This starts LVM before the root fs is mounted.  The
> init scripts installed by the Debian LVM package then start LVM again,
> which seems to cause the problem.

I suspect that the right device node for the swap LV only really exists on the  
initrd used for booting



patrick





More information about the linux-lvm mailing list