[linux-lvm] Problems activating VG (2.4.0-test1 / raid 0.9)]

Heinz J. Mauelshagen Mauelshagen at Sistina.com
Fri Jun 16 12:38:13 UTC 2000


Hi Stefan,

please change vgchange.c line 346 to line 354 that they looks like:

            if ( ( ret = vg_check_online_all_pv ( vg, &pv_offl, &pv_incons)) < 0
                 &&  ret != -LVM_EPV_READ_MD_DEVICE) {
               if ( ret == -LVM_EPV_READ_PV_CREATE_NAME_FROM_KDEV_T) {
                     fprintf ( stderr, "%s -- ERROR: can't get name(s) of "
                                       "physical volumes\n"
                                       "%s -- Please check, if /proc "
                                       "is mounted\n",
                                       cmd, cmd);
               } else {

and test again.

Regards,
Heinz

On Fri, Jun 16, 2000 at 07:31:34AM +0200, stk at rmi.de wrote:
> On 16 Jun, Heinz J. Mauelshagen wrote:
> > 
> > Please provide the stdout/stderr of "vgscan -d" and "vgchange -day" to the list.
> > 
> > Regards,
> > Heinz
> > 
> > On Thu, Jun 15, 2000 at 09:23:49PM +0200, stk at rmi.de wrote:
> >> Hello everyone,
> >> 
> >> at the moment im experimenting with lvm on top of raid1 (v0.9)
> >> but ran into a problem with the pv and vg activation. That is
> 
> attached are first the output vgscan -d and after that vgchange -day
> 
> regards
> Stefan
> 
> 
<SNIP output>
-- 

Regards,
Heinz      -- The LVM guy --

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

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Bartningstr. 12
                                                  64289 Darmstadt
                                                  Germany
Mauelshagen at Sistina.com                           +49 6151 7103 86
                                                       FAX 7103 96
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list