NetBSD-Bugs archive

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

Re: bin/54591: lvm drops volumes on initial start



The following reply was made to PR bin/54591; it has been noted by GNATS.

From: neitzel%hackett.marshlabs.gaertner.de@localhost (Martin Neitzel)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/54591: lvm drops volumes on initial start
Date: Wed,  2 Oct 2019 16:32:24 +0200 (CEST)

 Thanks for picking this up so quickly, Michael!
 
 > >During NetBSD installation, I defined a disklabel(8) partition /dev/rwd0e to
 > >hold the space for an LVM physical volume:
 >  
 > Rare, but possible.
 
 Yes, i have such setups successfully running since the vinum(4) demise
 with NetBSD versions up to and including NetBSD-8.1/8-stable as of now.
 
 > For starting LVM manually:
 > 
 > - load the dm module with dmsetup
 > - lvm pvscan            -> searches devices for LVM labels
 > - lvm vgscan --mknodes  -> searches PV devices for volume groups and volumes
 > - lvm vgchange -a y     -> generates the /dev/mapper links
 > 
 > Again, with one or more -v you get debug information.
 
 In the meantime, I also created an /etc/lvm/lvm.conf with
 
 	log {
 		level = 9
 		verbose = 3
 	}
 
 and get plenty of source-related messages logged.  I can see where
 the messages for the missing volume start to deviate from the
 messages for the successful volumes while doing the "vgchange -a
 y" step above.
 
 I should be able to $CC -g the the lvm tools and give a much more
 detailed analysis within the next two weeks.
 



Home | Main Index | Thread Index | Old Index