[linux-lvm] pvs complains of missing PVs that are not missing
jharvell at dogpad.net
Thu Oct 24 15:30:54 UTC 2013
Le 24/10/2013 04:35, Zdenek Kabelac a écrit :
> Dne 23.10.2013 18:43, Joe Harvell napsal(a):
>>> Hi Joe,
>>> I am having similar issues in that I have a LVM2 raid1 mirror between a
>>> local disk and a iSCSI disk and once I remove the iSCSI disk and add it
>>> back, the mirror stays broken. I traced the cause of that to be LVM2
>>> complains about a PV missing even though the same PV has been added
>>> I wonder if you have resolved your issue and what did you do.
>>> Thanks a lot.
>>> linux-lvm mailing list
>>> linux-lvm at redhat.com
>>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>> This is not yet resolved. I'm still waiting for Peter Rajnoha to
>> follow up
>> after I provided him the information he requested. He said he might
>> be able
>> to look at it more closely later this week. In the mean time, I work
>> this issue by activating the VG with --partial. I can access my
>> data, but I
>> can't make any LVM config changes.
> If the missing PV is reattached to your system - you need to
> vgextend --restoremissing /dev/path_to_PV
> Since once the PV is detected as missing - metadata are update on
> present PVs,
> and the missing PV is marked as MISSING.
> When such PV reappear - you need to run the command to re-synchronize
> linux-lvm mailing list
> linux-lvm at redhat.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
My faith in LVM is restored. This fixed my problem. I really need to
read through all those man pages more closely.
More information about the linux-lvm