restored a machine and got dublicated id numbers of them

  • Thread starter Thread starter coffe
  • Start date Start date
C

coffe

Guest
So i did have computer 1135 on 2 servers running diffrent images,
Both where using iscsi images.
So i did rename 1 of them, and changed lvname.
but then trying to backup the one still using old name it shows the img of the other one.
Here is the error i get from vzdumt

"
INFO: owner mismatch name = vm-135-disk-1, owner = 1135
"

Where and how to change that , dont like 135 to have any connection to 1135.
 
pls describe in detail what you did. especially how did you rename?
 
So i did have computer 1135 on 2 servers running diffrent images,
Both where using iscsi images.
So i did rename 1 of them, and changed lvname.
but then trying to backup the one still using old name it shows the img of the other one.
Here is the error i get from vzdumt

"
INFO: owner mismatch name = vm-135-disk-1, owner = 1135
"

Where and how to change that , dont like 135 to have any connection to 1135.
Hi,
if you execute this, i guess that you see where your problem is (wrong tagging):
Code:
[FONT=monospace]
[/FONT]lvs -o +lv_tags

Udo
 
About the restore , I dont remeber , as its some tine ago , it where while moving local raw to shared iscsi i did hotice this.


i did the rename with lvrename.
 
So i did have computer 1135 on 2 servers running diffrent images,
"
INFO: owner mismatch name = vm-135-disk-1, owner = 1135
"

Try this:
lvchange --deltag pve-vm-1135 /dev/pve/vm-135-disk-1
lvchange --addtag pve-vm-135 /dev/pve/vm-135-disk-1

and should be well (famous last words ;-) )