MHVTL install on dev machines may require a kernel-devel update
In some VMs the MHVTL installation does not complete successfully.
Creating symlink /var/lib/dkms/mhvtl/1.7.0/source -> /usr/src/mhvtl-1.7.0
Error! Your kernel headers for kernel 3.10.0-1160.90.1.el7.x86_64 cannot be found at /lib/modules/3.10.0-1160.90.1.el7.x86_64/build or /lib/modules/3.10.0-1160.90.1.el7.x86_64/source.
Please install the linux-headers-3.10.0-1160.90.1.el7.x86_64 package or use the --kernelsourcedir option to tell DKMS where it's located.
Error! Your kernel headers for kernel 3.10.0-1160.90.1.el7.x86_64 cannot be found at /lib/modules/3.10.0-1160.90.1.el7.x86_64/build or /lib/modules/3.10.0-1160.90.1.el7.x86_64/source.
Please install the linux-headers-3.10.0-1160.90.1.el7.x86_64 package or use the --kernelsourcedir option to tell DKMS where it's located.
/var/tmp/rpm-tmp.xEi8Un: line 17: fg: no job control
In order to do so, I had to update the sudo yum update kernel-devel
, after which the installation of MHVTL was OK:
[cta@ctadevjoaoafonso03 ~]$ mtx -f /dev/smc status
Storage Changer /dev/smc:3 Drives, 11 Slots ( 1 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Storage Element 1:Full :VolumeTag=V01001L8
Storage Element 2:Full :VolumeTag=V01002L8
Storage Element 3:Full :VolumeTag=V01003L8
Storage Element 4:Full :VolumeTag=V01004L8
Storage Element 5:Full :VolumeTag=V01005L8
Storage Element 6:Full :VolumeTag=V01006L8
Storage Element 7:Full :VolumeTag=V01007L8
Storage Element 8:Empty
Storage Element 9:Empty
Storage Element 10:Empty
Storage Element 11 IMPORT/EXPORT:Empty
This probably means that the kernel-devel
upgrade should be included as a MHVTL installation step.