How to find which hard drives a LVM volume uses to decide which volume will be affected if a disk failes.

You can use lvdisplay with the --maps option to display the the mapping of logical extents to physical volumes and physical extents:

# lvdisplay --maps

To map physical extents to logical extents, use

# pvs --segments -o+lv_name,seg_start_pe,segtype

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *