Jason Long
2015-03-28 19:43:19 UTC
Hello.
I used " xe vm-copy" for copy my storage to another Storage but I canceled it. I have three storage with the names "Storage1" , "Storage2" and "Storage3". My VMs used "Storage1" and "Storage2" and I wanted to copy Storage1 data to Storage3. When I want to Destroy Storage3 it show me :
[***@xenserver ~]# xe pbd-unplug uuid=1ef458b5-af53-c796-aab4-c308adbade91
This operation cannot be performed because this VDI is in use by some other operation
vdi: 6418cbc3-495e-442c-ad0e-40c06bd180f8 (HDD1)
operation: <unknown>
Details are :
[***@xenserver ~]# xe sr-list
uuid ( RO) : 36f77f69-1bfa-aae0-9cff-e6f7baf0537e
name-label ( RW): storage1
name-description ( RW):
host ( RO): xenserver
type ( RO): lvm
content-type ( RO): user
uuid ( RO) : d97bbb57-f8b6-076f-1a76-020ffe45c18c
name-label ( RW): Local storage
name-description ( RW):
host ( RO): xenserver
type ( RO): ext
content-type ( RO): user
uuid ( RO) : 8e4aa9c7-f558-9164-46cd-6c5df455ef11
name-label ( RW): storage3
name-description ( RW):
host ( RO): xenserver
type ( RO): lvm
content-type ( RO): user
uuid ( RO) : 1db65f3d-6612-014f-a09c-35895fc4d0f5
name-label ( RW): DVD drives
name-description ( RW): Physical DVD drives
host ( RO): xenserver
type ( RO): udev
content-type ( RO): iso
uuid ( RO) : 13be5b92-5c2f-a5ce-5b99-db6e7163e699
name-label ( RW): XenServer Tools
name-description ( RW): XenServer Tools ISOs
host ( RO): xenserver
type ( RO): iso
content-type ( RO): iso
uuid ( RO) : 1727281b-a3b2-dafd-b610-7da444542ae5
name-label ( RW): Removable storage
name-description ( RW):
host ( RO): xenserver
type ( RO): udev
content-type ( RO): disk
uuid ( RO) : 2f8052e1-2acc-d8c2-28bc-9e72aa6ffbf3
name-label ( RW): storage2
name-description ( RW):
host ( RO): xenserver
type ( RO): lvm
content-type ( RO): user
In your opinion my VMs used Storage3 because of copy? I want to destroy Storage3 but don't like to lost my data on Storage1 and Storage2.
I used below command with Storage3 UUID :
[***@xenserver ~]# xe vm-list uuid=8e4aa9c7-f558-9164-46cd-6c5df455ef11
[***@xenserver ~]#
As you see no VM on Storage3.
Thanks.
I used " xe vm-copy" for copy my storage to another Storage but I canceled it. I have three storage with the names "Storage1" , "Storage2" and "Storage3". My VMs used "Storage1" and "Storage2" and I wanted to copy Storage1 data to Storage3. When I want to Destroy Storage3 it show me :
[***@xenserver ~]# xe pbd-unplug uuid=1ef458b5-af53-c796-aab4-c308adbade91
This operation cannot be performed because this VDI is in use by some other operation
vdi: 6418cbc3-495e-442c-ad0e-40c06bd180f8 (HDD1)
operation: <unknown>
Details are :
[***@xenserver ~]# xe sr-list
uuid ( RO) : 36f77f69-1bfa-aae0-9cff-e6f7baf0537e
name-label ( RW): storage1
name-description ( RW):
host ( RO): xenserver
type ( RO): lvm
content-type ( RO): user
uuid ( RO) : d97bbb57-f8b6-076f-1a76-020ffe45c18c
name-label ( RW): Local storage
name-description ( RW):
host ( RO): xenserver
type ( RO): ext
content-type ( RO): user
uuid ( RO) : 8e4aa9c7-f558-9164-46cd-6c5df455ef11
name-label ( RW): storage3
name-description ( RW):
host ( RO): xenserver
type ( RO): lvm
content-type ( RO): user
uuid ( RO) : 1db65f3d-6612-014f-a09c-35895fc4d0f5
name-label ( RW): DVD drives
name-description ( RW): Physical DVD drives
host ( RO): xenserver
type ( RO): udev
content-type ( RO): iso
uuid ( RO) : 13be5b92-5c2f-a5ce-5b99-db6e7163e699
name-label ( RW): XenServer Tools
name-description ( RW): XenServer Tools ISOs
host ( RO): xenserver
type ( RO): iso
content-type ( RO): iso
uuid ( RO) : 1727281b-a3b2-dafd-b610-7da444542ae5
name-label ( RW): Removable storage
name-description ( RW):
host ( RO): xenserver
type ( RO): udev
content-type ( RO): disk
uuid ( RO) : 2f8052e1-2acc-d8c2-28bc-9e72aa6ffbf3
name-label ( RW): storage2
name-description ( RW):
host ( RO): xenserver
type ( RO): lvm
content-type ( RO): user
In your opinion my VMs used Storage3 because of copy? I want to destroy Storage3 but don't like to lost my data on Storage1 and Storage2.
I used below command with Storage3 UUID :
[***@xenserver ~]# xe vm-list uuid=8e4aa9c7-f558-9164-46cd-6c5df455ef11
[***@xenserver ~]#
As you see no VM on Storage3.
Thanks.