vm-attach-usb-storage
Usage
avcli vm-attach-usb-storage --name name_or_OID --deviceId device_Id
Description
The vm-attach-usb-storage command attaches the specified USB flash drive to a VM on the active node. The USB flash drive must be plugged in to the VM's active node.
Options
--name name_or_OID | The name or OID of the VM. |
--deviceId device_Id | The device ID of the USB flash drive. Output of the removable-disk-info command includes the device ID of a VM. |
Examples
$ avcli vm-attach-usb-storage --name MyVM --deviceId 063d
The following example includes output.
$ avcli vm-attach-usb-storage --name buick1 --deviceId removabledisk:o36
VM: buick1 vmOID vm:o1808 deviceId: removabledisk:o36
Removable Disks:
removabledisk:o36:
removabledisk:o36:
MATCH:
removabledisk:o36:
-> Description: : Imation Nano Pro
-> Size: : 7739768832 bytes
-> Vendor: : Imation
-> Vendor ID: : 0718
-> Model: : Nano Pro
-> Product ID: : 063d
-> Attached to node: : node0
-> Size: : 7739768832 bytes
-> Vendor: : Imation
-> Vendor ID: : 0718
-> Model: : Nano Pro
-> Product ID: : 063d
-> Attached to node: : node0
Local node0 information:
-> Device Path: : /dev/sdc
-> USB Port: : 3-7.1:1.0
-> USB Bus Number: : 3
-> USB Device Number: : 6
-> USB Port: : 3-7.1:1.0
-> USB Bus Number: : 3
-> USB Device Number: : 6