Skip to content

Instantly share code, notes, and snippets.

@zyga
Created April 1, 2013 14:28
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zyga/5285243 to your computer and use it in GitHub Desktop.
Save zyga/5285243 to your computer and use it in GitHub Desktop.
Attach iSCSI disk to VirtualBox, works without auth
VBoxManage storageattach "Ubuntu Precise Server" --storagectl "SATA" --port 0 --device 0 --type hdd --medium iscsi --server 192.168.0.5 --target "iqn.2013-01.silverbox:precise-server" --tport 3260
@zyga
Copy link
Author

zyga commented Apr 1, 2013

@cobrafast
Copy link

Add --lun <number> to get a specific LUN in the target. Defaults to 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment