Difference between revisions of "GSP Virtualisation with Xen"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 364: Line 364:
 
  xe sr-scan uuid=790dc413-883f-f49e-a0e8-8410778145aa
 
  xe sr-scan uuid=790dc413-883f-f49e-a0e8-8410778145aa
 
* move the MGT volume out of the way ('forgetting' the content for a while). This ''can'' be done with the VDI's on it being attached to running VMs
 
* move the MGT volume out of the way ('forgetting' the content for a while). This ''can'' be done with the VDI's on it being attached to running VMs
* re-scan the SR, e.g. using the GUI
+
lvrename /dev/VG_XenStorage-''UUID-OF-SR''/MGT /dev/VG_XenStorage-''UUID-OF-SR''/oldMGT
 +
* re-scan the SR, e.g. using the GUI or CLI
 +
xe sr-scan uuid=''UUID-OF-SR''
 
* rescan it again, for as long as the used space is not equal to the sum of the VDIs on it
 
* rescan it again, for as long as the used space is not equal to the sum of the VDIs on it
* remove stale VDIs by uuid (if they are still there)
+
* see if the LVs are actaully gone (so this on the pool master):
 +
lvdisplay -C | grep ''UUID-OF-SR''
 +
* remove stale VDIs by uuid (if they are still there) or via the GUI
 
* rescan it again, for as long as the used space is not equal to the sum of the VDIs on it
 
* rescan it again, for as long as the used space is not equal to the sum of the VDIs on it
  

Revision as of 10:44, 16 July 2012