Jump to content


Photo

VMs on local disk will prevent disk repartitioning

Started by G. Reinicke , 17 February 2017 - 09:25 AM
1 reply to this topic

G. Reinicke Members

G. Reinicke
  • 69 posts

Posted 17 February 2017 - 09:25 AM

Hi,

 

i prepare the next rolling pool upgrade from 6.1 to 7 this time.

 

The recheck gives a "VMs on local disk will prevent disk repartitioning" without saying which VM. The xenserver host mentioned has no disk image on the local SR.

 

How can I find the VM which should be the problem?

 

from what I see is, that all VMs use a SR on our iscsi raid ...

 

Thanks for hints. Götz



Alan Lantz Members

Alan Lantz
  • 6,562 posts

Posted 17 February 2017 - 08:01 PM

It is possible its seeing something that makes it think there could be vdi's there.

 

do a xe sr-list name-label="Local storage" to find the sr uuid.

 

do xe vdi-list sr-uuid=xxxx to find the vdi's on that local SR.

 

 

 

If you don't see any  you can do this to override and do a partitioning of local storage

 

touch /var/preserve/safe2upgrade

 

Just remember you are saying you know you are overwriting the local storage.

 

--Alan--