On Wed, Dec 17, 2008 at 03:27:39PM -0000, Tony Lewis wrote:
> Alasdair G. Kergon wrote:
> > Surely that's it working as designed?
> > dmsetup tells you about mapped devices available in the running kernel.
> I don't think so. "dmsetup deps" indicates the devices that your mapped
> device depends on.
dmsetup has no access to the userspace LVM metadata where the information you
appear to be seeking is stored. It is simply a convenient command-line
interface to the libdevmapper library that is a wrapper around the
device-mapper ioctls.
Use a query tool like 'pvs' to find out what PVs belong to the VG containing a
particular LV.
On Wed, Dec 17, 2008 at 03:27:39PM -0000, Tony Lewis wrote:
> Alasdair G. Kergon wrote:
> > Surely that's it working as designed?
> > dmsetup tells you about mapped devices available in the running kernel.
> I don't think so. "dmsetup deps" indicates the devices that your mapped
> device depends on.
dmsetup has no access to the userspace LVM metadata where the information you
appear to be seeking is stored. It is simply a convenient command-line
interface to the libdevmapper library that is a wrapper around the
device-mapper ioctls.
Use a query tool like 'pvs' to find out what PVs belong to the VG containing a
particular LV.
Alasdair
--
<email address hidden>