[linux-lvm] LVM partition and lvm commands in initrd

Luca Berra bluca at comedia.it
Sat Sep 23 08:56:17 UTC 2006

On Sat, Sep 23, 2006 at 11:02:02AM +0300, Mark Ryden wrote:
>The point which I want to understand is this:
>Is existence of LVM partition is a MUST so that this script
>will run and not cause panic on boot ?
>Suppose I would NOT have an LVM partition.
>(change its type with fdisk for example).
Please try to explain exactly what you are trying to do.

LVM is much more than a partition type, actually changing the partition
type with fdisk will not affect lvm at all.

>Will the calls to "lvm vgscan" and
>  "lvm vgchange" and "mkdmnod" and insmoding the dm* modules will not
>cause panic ?

lvm commands won't cause panics, only being unable to mount your root
file system will.

if you want to get completely rid of lvm you will need to backup and
reinstall your system without lvm.


Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 / \

More information about the linux-lvm mailing list