Missing PVs

By | November 25, 2013

I have a situation where LVM raid 1 is mirror is configured using two physical volume /dev/sdc1 and /dev/sdd1. Here /dev/sdc1 is a local disk and /dev/sdd1 is iscsi block device. Due to some reasons iscsi block device /dev/sdd1 went down. I brought iscsi block device (/dev/sdd1) up, so both physical volumes are available now but LVM still complaining for physical volume missing.

The reason for showing PV missing lies in the fact that once PV appears missing, metadata on present PV gets updated and missing PVs marked as missing. We have to re-sync metadata once missing PVs becomes available.

To sync metadata, I executed following command

#vgextend  –restoremissing /dev/sdd1

Share itShare on FacebookEmail this to someoneTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

Leave a Reply

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

Current month ye@r day *