[dm-devel] Bug? Determining the holders of partitions shadowed by dm-multipath.

Joel Becker Joel.Becker at oracle.com
Tue Feb 10 21:32:39 UTC 2009


On Tue, Feb 10, 2009 at 09:49:58AM -0500, Romanowski, John (OFT) wrote:
> my sles10sp2 at 2.6.16.60-0.29-default doesn't have the /sys/block/.../holders but
> I've used major:minor device numbers from commands
> dmsetup ls
> and
> dmsetup deps
> to resolve such device relationships.
> 
> A 'dmsetup ls' device number that isn't listed in 'dmsetup deps' device numbers is a top-level device. Example below: mproot-part1 (dev 253:3, a partition of mp device 253:2) isn't listed as a dependency of any device. Likewise each listed LVM volume isn't listed as a dependency of any device; example- rootvg-tmp 253:10

	Sure, but a /dev/sda2 won't show up in dmsetup output anywhere.
That's kind of my point.

Joel

-- 

Life's Little Instruction Book #198

	"Feed a stranger's expired parking meter."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127




More information about the dm-devel mailing list