We've been using NAS4Free in virtualized environments to pass tape drives through to backup servers - we configure either a physical box with a tape drive or pass a SAS/SCSI card through to a virtual NAS4Free instance, then configure iSCSI and add the tape device through manual config file editing to the UI. The (virtual) backup server then mounts the iSCSI tape device and away it goes.
Works brilliantly, actually.
The only downside is that by default NAS4Free ignores configured "disk" devices with size NA, which means you can't by default add the tape drives as extents through the web GUI.
We've been using a basic hack to get around this:
in /usr/local/www/services_iscsitarget_extent_edit.php
change lines 74 & 96 like so:
Code: Select all
if (strcmp($size, "NA") == 0) continue;
Code: Select all
// if (strcmp($size, "NA") == 0) continue;
Code: Select all
if ((preg_match("/^sa[0-9]/", $name)==0) && (strcmp($size, "NA") == 0)) continue;