mhvtl icon indicating copy to clipboard operation
mhvtl copied to clipboard

Selecting tape and library emulations

Open tvlad1234 opened this issue 1 year ago • 3 comments

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!

tvlad1234 avatar Dec 08 '23 15:12 tvlad1234

Drive support is listed here

dabiged avatar Dec 12 '23 02:12 dabiged

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

tvlad1234 avatar Dec 13 '23 19:12 tvlad1234

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.

markh794 avatar Dec 13 '23 20:12 markh794