[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Howto Make LVM Work With NBD/ENBD?



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
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]