markh794 / mhvtl

Linux based Virtual Tape Library
http://sites.google.com/site/linuxvtl2/
Other
138 stars 66 forks source link

Selecting tape and library emulations #125

Open tvlad1234 opened 10 months ago

tvlad1234 commented 10 months ago

Hi! I am a bit confused on what drive and library emulations mhvtl supports. After looking at the provided device.conf examples and through the source code, I've noticed that while I can't find any mention of SDLT220 in the tape drive emulation source code, it's still a valid device name in device.conf.

Is there a list of available tape drive and library emulations anywhere in the docs? I couldn't find any.

Thanks in advance!

dabiged commented 10 months ago

Drive support is listed here

tvlad1234 commented 10 months ago

I don't think that's where it is, mhvtl doesn't support DDS/DAT tape emulation, and surely those aren't the device names which are supposed to go in device.conf

markh794 commented 10 months ago

Apologies for the delay in responding. (Not sure how Chris managed to put the git blame link as a URL :) Obviously better git-fu than myself)

commit https://github.com/markh794/mhvtl/commit/f1cae0bf64024aab13b03edca1c25a11a42f5060

Starting about line 202 in vtltape.c:

tape_drives[] = {

FWIW: The SDLT SCSI Programers guide documentation I've found has been rather poor. Fundamentally a copy of the t10.org command set - without any of the actual values returned by the devices themselves. i.e. Documents which commands are supported, but not the values returned in any of the fields. Hence (S)DLT emulation is half-baked.