Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Xen Guest running Windows.

XenServer allocates and serves 3 disks for that host.

I want to stop one of the drives through 'Safely Remove Hardware' ( this parts works as a charm ) and then reactivate this same drive.

Is it possible?

The only solution that would make this drive visible again was to reboot the guest. Are there less drastic solutions?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Not really. I haven't come across any way to force remove disks like this. Since you weren't more specific about what you need to do with your disks, I will try and help you my best:

First off, XenServer 5.6 sp2 allows for each VM to have up to 16 virtual drives! This is pretty cool and it may fix your issues.

I'm assuming you want to start and stop drives like this so you can swap drives among VM's while they are running. I suggest that you make "file server" VM that has an entire drive shared as a network resource using windows file sharing. Then network map this drive on your original windows systems. This will allow you to swap, disconnect, and reconnect drives as you please.

If you "safely remove hardware" for one of your drives, and you want to attach it to another VM without shutting anything down, you can do this.

  1. safely remove hardware on the drive
  2. make a snapshot of the vm
  3. Right click on the snapshot and click "New VM from Snapshot"
  4. in this new vm, detach the disk you want
  5. attach it to wherever you want
  6. when you finally shutdown the original machine, delete the VM.

If you can tell me more about what you want to do by stopping and starting your hardware again, maybe I can give you some better information!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.