Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 345885

Summary: sys-block/mhvtl: mhvtl module provides Virtual (SCSI) Tape Library
Product: Gentoo Linux Reporter: Jimmy.Jazz
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: sunrise suggested
Package list:
Runtime testing required: ---
Attachments: mhvtl-0.19.20101111 ebuild
install etc files
simpler mhvtl.in patch
slab patch
init.d
bacula 5.0.3 modified
patches for bacula 5.0.3 (tar file)
make_vtl_media

Description Jimmy.Jazz 2010-11-17 14:44:43 UTC
Hello,

mhvtl is a  Virtual Tape Library for linux licensed under GPL and developed by Mark Harvey.

The driver is really handy and can emulate a vtl robot. It works with bacula as well as with commercial products like legato and symantec.

The ebuild needs some improvement and I hope the gentoo community will found it useful.

For more information, please have a look at http://sites.google.com/site/linuxvtl2/ and share your experience at http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com mhvtl's forum.

Currently, the mhvtl driver won't compile with the 2.6.37 kernel release. The
kernel BKL API has changed.

To make it compatible with bacula, make_mhvtl_media set_density() regex needs to be changed with regex='[A-Z0-9]{4,6}([SLXTJ])([123456ABWX])[0-9]*$'

To see the tape drives in the the changer slots, bacula needs to be patched as well.

See attachments


Reproducible: Always
Comment 1 Jimmy.Jazz 2010-11-17 14:45:54 UTC
Created attachment 254633 [details]
mhvtl-0.19.20101111 ebuild
Comment 2 Jimmy.Jazz 2010-11-17 14:47:14 UTC
Created attachment 254635 [details, diff]
install etc files
Comment 3 Jimmy.Jazz 2010-11-17 14:49:04 UTC
Created attachment 254637 [details, diff]
simpler mhvtl.in patch
Comment 4 Jimmy.Jazz 2010-11-17 14:49:42 UTC
Created attachment 254641 [details, diff]
slab patch
Comment 5 Jimmy.Jazz 2010-11-17 14:50:07 UTC
Created attachment 254643 [details, diff]
init.d
Comment 6 Jimmy.Jazz 2010-11-17 14:56:24 UTC
Here is my "improved" bacula version ;). A lot has changed from the gentoo original one. It supports the daemon status monitor.
Comment 7 Jimmy.Jazz 2010-11-17 14:57:07 UTC
Created attachment 254645 [details]
bacula 5.0.3 modified
Comment 8 Jimmy.Jazz 2010-11-17 15:01:50 UTC
Created attachment 254647 [details]
patches for bacula 5.0.3 (tar file)
Comment 9 Jimmy.Jazz 2010-11-17 15:07:22 UTC
Created attachment 254649 [details, diff]
make_vtl_media

With bacula make_vtl_media needs some changes (optional)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-11-28 08:36:18 UTC
Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Thanks,
On behalf of the Gentoo Sunrise Team,
Michał.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 11 404 Error 2012-10-25 14:07:11 UTC
FYI I have functional ebuilds for mhvt-1.4 (including a port of the startup script adapted for OpenRC), those have been pushed in Funtoo portage tree which is basically the same as the Gentoo tree modulo minor differences, however it should remains functional. If interested, I can push the stuff on b.g.o in a new "bug" to not mix patches.