Regards

's
I am trying to find out all the Physical Volumes a Logical Volume Group is associated with.
I am able to get all the active Logical Volume(LV) Groups on the system through ioctl(VG_STATUS_GET_NAMELIST) and the Logical Volumes in the group through ioctl(LV_STATUS_BYINDEX). But I am unable to find out an ioctl call to get the Physical Volume associated with the LV Group.
I tried out the call, ioctl(VG_STATUS) which returns struct *vg_t which incidentally contains an array of pv_t* structures. But these structures are not populated by this call. How can I do this?
Any help is appreciated...
~Murtaza