Lets see how to install mhVTL (a FOSS VTL software) written by a super hero called : Mark Harvey.
There are 2 ways you can install mhvtl :
- Install the rpm package.
- Directly compile the source code yourself.
I have tried using the first method as its easy and fast :D.
Note: I have tested this install in openSUSE 15.2
Steps
1.First update the packages to latest version available by typing :
sudo zypper up
- Once the packages are up to date, install the below supporting packages :
sudo zypper install gcc gcc-c++ kernel-devel zlib-devel mt-st mtx lzo-devel perl
- Now add the repository and install the package :
zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:15.2:Update/standard/openSUSE:Leap:15.2:Update.repo
zypper refresh
zypper install mhVTL
- start the mhvtl service ;
service mhvtl start
- check if mhvtl service is running :
service mhvtl status
test-machine:/home/azureuser # service mhvtl status
● mhvtl.target - mhvtl service allowing to start/stop all vtltape@.service and vtllibrary@.service instances at once
Loaded: loaded (/usr/lib/systemd/system/mhvtl.target; disabled; vendor preset: disabled)
Active: active since Thu 2021-01-14 17:13:36 UTC; 50min ago
- verify if you are able to see the tape library and the drives configured( by default) :
test-machine:/home/azureuser # lsscsi -g
[1:0:0:0] cd/dvd Msft Virtual CD/ROM 1.0 /dev/sr0 /dev/sg3
[2:0:0:0] disk Msft Virtual Disk 1.0 /dev/sda /dev/sg0
[3:0:1:0] disk Msft Virtual Disk 1.0 /dev/sdb /dev/sg1
[5:0:0:0] disk Msft Virtual Disk 1.0 /dev/sdc /dev/sg2
[6:0:0:0] mediumx STK L700 0162 /dev/sch0 /dev/sg12
[6:0:1:0] tape IBM ULT3580-TD5 0162 /dev/st0 /dev/sg4
[6:0:2:0] tape IBM ULT3580-TD5 0162 /dev/st7 /dev/sg11
[6:0:3:0] tape IBM ULT3580-TD4 0162 /dev/st3 /dev/sg7
[6:0:4:0] tape IBM ULT3580-TD4 0162 /dev/st4 /dev/sg8
[6:0:8:0] mediumx STK L80 0162 /dev/sch1 /dev/sg13
[6:0:9:0] tape STK T10000B 0162 /dev/st2 /dev/sg6
[6:0:10:0] tape STK T10000B 0162 /dev/st5 /dev/sg9
[6:0:11:0] tape STK T10000B 0162 /dev/st1 /dev/sg5
[6:0:12:0] tape STK T10000B 0162 /dev/st6 /dev/sg10
For more details about mhvtl, please refer the below link :
https://sites.google.com/site/linuxvtl2/