[linux-lvm] pvdisplay shows misleading information about used devices

Assarsson, Emil Emil.Assarsson at sonyericsson.com
Mon Feb 7 10:51:02 UTC 2011


pvdisplay doesn't show the actual used devices based on the device mapper. It seems to base the information on the cache file and that is misleading. If there is something wrong with the setup it doesn't show.
I consider this to be a bug. I had to learn about "dmsetup ls --tree" to find out what was wrong.

(I have configured LVM filter to only accept mpath or local disk now and it is working like it should.)

Best regards

Emil Assarsson
Sony Ericsson Mobile Communications AB

"The information in this email, and attachment(s) thereto, is strictly confidential and may be legally privileged. It is intended solely for the named recipient(s), and access to this e-mail, or any attachment(s) thereto, by anyone else is unauthorized. Violations hereof may result in legal actions. Any attachment(s) to this e-mail has been checked for viruses, but please rely on your own virus-checker and procedures. If you contact us by e-mail, we will store your name and address to facilitate communications in the matter concerned. If you do not consent to us storing your name and address for above stated purpose, please notify the sender promptly. Also, if you are not the intended recipient please inform the sender by replying to this transmission, and delete the e-mail, its attachment(s), and any copies of it without, disclosing it."

More information about the linux-lvm mailing list