Scripting safe removal of USB HD in Hyper-V VM passthrough situation

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?)

Category:usb Views:0 Time:2017-09-12

Related post

Copyright (C), All Rights Reserved.

processed in 0.187 (s). 11 q(s)