Need some help in setting up a tape device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somehow I am not able to set up a tape by hand (i.e. compared to using /etc/tgt/targets.conf).

First I setup the target (using the shortcut options, e.g -t etc):

tgtadm -L iscsi -m target -o new -t 1 -T iqn.2008-09.com.example:server.tape

So far so good.

Now I add a tape unit:

tgtadm -L iscsi -m logicalunit -o new -t 1 -l 1 -b /root/tapes/notape -Y tape

(where notape is just an empty file)
I get the respone:

tgtadm: invalid request

When I remove the -Y tape option, it works but I get the standard type of disk.


Where did I go wrong here?

Thanks for any advice,

Albert
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux