Created
April 1, 2013 14:28
-
-
Save zyga/5285243 to your computer and use it in GitHub Desktop.
Attach iSCSI disk to VirtualBox, works without auth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
For details see: http://scarygliders.net/2011/11/04/virtualbox-and-iscsi-nas-how-to-linux-windows/