On Mon, Apr 29, 2002 at 03:22:36PM +0200, Csan (Ja'nos Hola'nyi) wrote: > Hi Ning, > > I had similar problems with exactly the same ERROR message. > I figure this is lvm10...? > In that case, please check if _noprocdir[] and _devdir[] sections in > LVM/1.0.3/tools/lib/lvm_dir_cache.c contain the line: > > LVM_DIR_PREFIX "nb", FYI: have replaced that nasty hard-coded device spec in LVM1 CVS by an environment variable configurable approach. export LVM_DEVICES="sdb;sdc;nb:0" will just use /dev/sd[bc]* (16 partitions by default) and /dev/nb* (0 partitions). Without that environment variable, defaults like in earlier versions are used. Regards, Heinz -- The LVM Guy -- > > If not, insert, make (in LVM/1.0.3/), make install and it should work. > > If you're on Debian, you could also check out the APT archives at > > deb http://people.debian.org/~patrick unstable main > > and install lvm10 from there (they're OK also for Debian 3.0 woody). That > package already contains these fixes. > > (BTW, I am actually building a HA cluster with DRBD+LVM. DRBD uses nbd. > Currently there are some issues on the standby node - LV detection not working > yet -, but we're slowly getting there. The active node has ext3fs on the LV, and > the replication works great... so far.) > > Best regards, > > Csan > > PS: thanks for the above fixes go to "ejt" and "pjc" guys on #lvm > (irc.openprojects.net) > Please CC: me if you're replying as I am not subscribed to the list. > > Quoting Ning Ye <nye@csee.wvu.edu>: > > > Hi!, > > > > I want to make them work together, which makes me crazy these days. > > > > > > I can initialize the disks and partitions exported by ENBD, but when > > trying to create a volume group on it, vgcreate fails. > > # vgcreate my_volume /dev/ndb > > vgcreate -- ERROR "pv_read(): read" reading physical volumes > > After examine the debug output, it looks to me lvm trying to > > enumerate all physical disks present to the system. These disks include > > SCSI disks(sda...), IDE disks(hda...) and loops(loop0...). However, the > > LVM will not recognize the exported disk as a physical one. > > > > Did any one ever make it work before? I would like to know before I > > am trying to look into the code. Combining these two great packages > > would be wonderful. But how? Help needed. Thanks. > > > > Ning > > > > > > > > Csan > > János Holányi > Association of Hungarian Linux Users > Email: csani@lme.linux.hu > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html *** 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@Sistina.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- _______________________________________________ linux-lvm mailing list linux-lvm@sistina.com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html