After getting iSCSI running on my ReadyNAS NV+ I wanted to test VirtualBox’s iSCSI initiator with it. VirtualBox comes with an iSCSI initiator that wants to be configured with the CLI tools. First, I added the target to VirtualBox with the VBoxManage tool: `
VBoxManage addiscsidisk
-server nv.mens.de
-target iqn.2001-04.de.mens:storage.readynas.01
iSCSI disk created. UUID: ff2c0965-48e9-4016-9a53-bc1113029b68
` As soon as that step completes, the target is visible from within the GUI,
and I can select the iSCSI disk and attach that to a virtual machine like any
other disk.
Remember though, never to attach a single
target to more than one virtual machine at a time: he who writes last, writes
best.