User Tools

Site Tools


virtualization:xenserver:xenserver_storage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:xenserver:xenserver_storage [2019/01/07 11:04]
gcooper
virtualization:xenserver:xenserver_storage [2020/05/14 09:48] (current)
gcooper
Line 30: Line 30:
 ll /var/run/sr-mount/ ll /var/run/sr-mount/
 </file> </file>
 +
 +===== Move a Storage Repository =====
 +
 +https://www.xenlens.com/move-lvmohba-shared-storage-repository-between-different-pools-or-hosts-with-vm-metadata-backup-and-restore/
  
 ===== Add a USB disk as a local SR ===== ===== Add a USB disk as a local SR =====
Line 143: Line 147:
 </file> </file>
  
-===== Detach a VHD from the Control Domain ===== 
- 
-<note important>It is suggested to rename the REAL virtual disk so you DO NOT delete the wrong one!  Rename the real one because you can't rename the one connected to the control domain.  You can rename it back to the original name when you are done.</note> 
- 
-List out the VBD (connector object between VM and VDI) based on the VDI UUID: 
- 
-<file> 
-xe vdi-list | grep -B1 -A5 -i "part-of-vm-name" 
- 
-xe vdi-list name-label="<VDI-name-label>" 
- 
-xe vbd-list vdi-uuid=<UUID of VDI>     # Verify VBD is the one connected to control domain 
-</file> 
- 
-Once done, you want to first try to make VBD inactive (it may already be inactive), 
- 
-<file> 
-xe vbd-unplug uuid=<UUID of VBD> 
-</file> 
- 
-Once done, you can then break the connection: 
- 
-<file> 
-xe vbd-destroy uuid=<UUID of VBD> 
-</file> 
- 
-Check in XenCenter to verify and delete the virtual disk. 
virtualization/xenserver/xenserver_storage.1546884262.txt.gz · Last modified: 2019/01/07 11:04 by gcooper