Skip to contentSkip to conversation

vgscan problem: Snapshot and origin LVs must differ.

linux-lvm Alessandro Ferrari 2 participants 3 messages Jul 10, 2008 – Jul 14, 2008

lore
Share & tools
lore
#0 lore raw

Hi Guys!

I tell you my LVM story....

I have add LVM1 capability to my linux box kernel 2.4.36.5.

So I make (whit success) a snapshot of my /dev/VOLHOME/HOMELV! Snapshot's name is SNAPHOME.

Than I restart my linux box.

Now I can't mount /dev/VOLHOME/HOMELV and "vgscan -v" write this messages:

:
:
/dev/sdb1: size is 3906204687 sectors
/dev/sdb1: lvm1 label detect
Locking /var/lock/lvm/V_VOLHOME RB
Finding volume group "VOLHOME"
/dev/sdb1: lvm1 label detected
Found /dev/sdb1 in VG VOLHOME
Snapshot and origin LVs must differ.
Couldn't add snapshot.
Found /dev/sdb1 in VG VOLHOME
Snapshot and origin LVs must differ.
Couldn't add snapshot.
Volume group "VOLHOME" not found
Unlocking /var/lock/lvm/V_VOLHOME
:
:

I don't know what's happen!

Help me please, thanks Alessandro

#1 lore raw
Quoted 5 lines · Alessandro Ferrari

I tell you my LVM story....
I have add LVM1 capability to my linux box kernel 2.4.36.5.

Now I can't mount /dev/VOLHOME/HOMELV and "vgscan -v" write this messages:

    /dev/sdb1: size is 3906204687 sectors

That's output from lvm2 - but you say your kernel only has lvm1 in it. You can't mix and match them like that: work out what you meant to run - lvm1 or lvm2.

Alasdair

Signature · 1 line
[email protected]
#2 lore raw

Hi Alasdair!

I writed you log message show me by sysreccd 1.4beta7.

This sysresccd version is lvm1 capable.

I don't understand what means:

"Snapshot and origin LVs must differ." ?

Thanks, Alessandro

----- Original Message ----- From: "Alasdair G Kergon" <[email protected]>
To: "LVM general discussion and development" <[email protected]>
Sent: Thursday, July 10, 2008 5:10 PM
Subject: Re: [linux-lvm] vgscan problem: Snapshot and origin LVs must differ.

Quoted 20 lines · Alessandro Ferrari
Quoted 5 lines

I tell you my LVM story....
I have add LVM1 capability to my linux box kernel 2.4.36.5.

Now I can't mount /dev/VOLHOME/HOMELV and "vgscan -v" write this messages:

    /dev/sdb1: size is 3906204687 sectors

That's output from lvm2 - but you say your kernel only has lvm1 in it. You can't mix and match them like that: work out what you meant to run - lvm1 or lvm2.

Alasdair

Signature · 7 lines
[email protected]

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/