Windows Server 2012 R2 running a Hyper-V VM with CentOS 6.5 on it. Server has USB HD plugged into it, set to Offline mode, and attached as SCSI passthrough to the CentOS VM.
I want to script the safe removal of the USB drive.
Before we virtualized, we had been using suspend-usb-device with great success on bare metal.
Will that script running on the VM be sufficient, or will we need a script running on the host to power down the drive properly? (Maybe using deveject.exe?)