[linux-lvm] startup stuff

Heinz J. Mauelshagen Mauelshagen at sistina.com
Fri Feb 2 11:46:35 UTC 2001


On Fri, Feb 02, 2001 at 10:02:17AM +0100, JAmes wrote:
> 
> Hello
> 
> I am using debian Linux, and have farely successfully installed LVM. I
> have just to do the lvcreate -ay at startup. I assume that thi smust go in

You surely mean "vgchange -ay".

> 
> /etc/rc2.d 
> 
> but using what S??

It must run after boot in order to activate VGs before any accesses to
LVs (for eg. containing filesystems) take place and after modules were loaded.

Use one of the /etc/init.d/ scripts as a template to create
/etc/init.d/lvm containing "vgscan;vgchange -ay".

Create a symlink /etc/rcS.d/S25lvm pointing to this file please.

> 
> Any help extremely apreciated...
> 
> James
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list