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

[linux-lvm] Linux LVM: Device type for pseudo device



Hi,

I am writing a pseudo (filter) driver over SCSI disk driver (sd). There
would be corresponding pseudo devices created. These devices would in turn
access SCSI disk (thorugh sd) with some added functionality.
I want to use these pseudo device withe Linux LVM. But when I tried pvcreate
on such a device, the reponse was "invalid physical volume". Tracing the
source code showed that lvm_get_device_type does not recognize the pseudo
device as of a valid device type. In fact, valid device types have been
specified in a structure defined inside the function itself.
I used LVM version 1.0.3 as my platform is Red Hat Linux 7.x. Wanted to know
which LVM version recognizes such pseudo devices. Need some help to make my
pseudo driver work with LVM.

Thanks and Regards,
Bharavi Oak.





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