[linux-lvm] Can't restore the volume group after ghosting an hdd

Alasdair G Kergon agk at redhat.com
Tue Mar 22 23:26:17 UTC 2005

On Tue, Mar 22, 2005 at 06:12:46PM -0500, Sasha Z wrote:
>   Found duplicate PV iCXUP4rdy2ZhoIJ4NWl1s3dr1au6QofX: using /dev/hdg1
> not /dev/hdg
>   Found duplicate PV fFNJ9uKeNSMVQxwLH82lnI3J0hQYRKTh: using /dev/hdk1
> not /dev/hdk

Which of those devices is intended to hold the PV?

Did you run commands against hdg or hdg1?
(If it's partitioned you should always use hdg1, never hdg.)

Updating to a recent version of the lvm2 tools will help avoid that
in future.  Meanwhile it might be that you need to wipe the partition 
tables (the 1st 512 bytes of hdg and hdk - back it up first).

agk at redhat.com

More information about the linux-lvm mailing list